Page 46 of 229

Re: [Script] UROverview Plus v3.11.1 (20140701)

Posted: Wed Jul 02, 2014 12:42 pm
by GeekySmurf
It is now working for me!

Re: [Script] UROverview Plus v3.96 (20161120)

Posted: Sat Dec 17, 2016 9:23 am
by gertbroos
When you hover over UR's, you normally get a popup with extra info, so you don't have to click on them to know what they are about.

I don't allways get them, sometimes I do, most times I don't.. Anyone who knows why this is?

Re: [Script] UROverview Plus v3.52 (20150913)

Posted: Tue Sep 15, 2015 5:02 am
by GFM_Danny
I have a question about this script, is it possible to give UR special icon, like a cone or a note?
during MR in Canada; Puerto Rico; I saw some UR which is still in working progress, which are not done the correction, show as a cone, with a notificion under construction etc, please dont close this UR.

how can I set the UR like this? to avoid some new editor; their habbit is closing UR without follow up and some UR which is really important and not done; they closed it as they likes.

thanks
best Regard

Re: [Script] UROverview Plus v3.52 (20150913)

Posted: Tue Sep 15, 2015 1:10 pm
by GFM_Danny
taco909 wrote:Simply add the following text (in brackets) to any UR. It can be in any of the comments to generate the special icon:

[ROADWORKS]
[CONSTRUCTION]
[CLOSURE]
[EVENT]
[NOTE]

Here's how they appear.
Ignore the grey "pill" showing the name, that is from Rzabel's URC
UROTypes.jpg
@Taco909

Great..thanks for your replay and information.
Will do it
Thank you very much

Re: [Script] UROverview Plus v3.11.1 (20140701)

Posted: Wed Jul 02, 2014 5:06 am
by ggrane
My work today early evening before 9pm. After a reboot around 10 pm it was gone and no longer available ..

Re: [Script] UROverview Plus v3.6 (20140202)

Posted: Fri Mar 28, 2014 1:49 pm
by GizmoGuy411
SuperDave1426 wrote: ....
However, it looks like the new WME is online and it seems to have broken URO+. When I refresh the start up the WME with the script enabled, it highlights one of the closed (but now displayed) URs and brings up a box with the usual information that you'd get from hovering over a UR. But there's no way to close that box and move on. I'm sure it's already being worked on, but since I didn't see a mention of it here, I figured I'd mention it now.
ctpoole wrote:
bz2012 wrote:The latest WME seems to have broken some URO+ features.
The one I noticed first is that the
Hide solved/unidentified is no longer working. They are displayed regardless of check box status.

Also seeing a 'pop up box' that seems to be popped up for a random URO and doesn't want to go away unless I click on 'hide for this session'.
Mouse over various URs does NOT cause pop ups like it should do.
I am having exactly the same set of issues.
Ditto

P.S. Bravo for your use of the ISO 8601 yyyy-mm-dd date format! Why don't we all adopt it?

Re: [Script] UROverview Plus v3.62 (20151202)

Posted: Sun Jan 03, 2016 2:16 pm
by Glodenox
Hey, would it be possible to make the automatic resizing of tabs optional? Your script doesn't really play nicely with other scripts by changing the padding to 4px each second. It seems easy to me to turn this into an option that can be disabled in the misc tab, so perhaps that's a good solution?

I fully understand why this is overwritten each second (to also adjust newly created tabs), though there are better alternatives out there nowadays that don't require JavaScript to run constantly. I've become a big fan of MutationObserver for this kind of behaviour as it can generate events whenever a new element is added within an element.

Re: [Script] UROverview Plus v3.86 (20160729)

Posted: Sat Aug 13, 2016 8:36 am
by Glodenox
Hey there, hipska asked me to look into an improvement in the pop-up windows for closures on segments. Right now the system only lists a provider if it is available, but generally the closure would be created by a Wazer, so a fallback system to show that user would be more useful.

I've made the changes listed below locally and that seems to work fine. I also noticed that the reverse segment isn't processed the same way as the forward segments, which I've fixed here as well.

After line 5141 that sets the provider variable, I added this block of code:

Code: Select all

else if (rcObj.createdBy !== null) {
  provider = (Waze.model.users.get(rcObj.createdBy) ? Waze.model.users.get(rcObj.createdBy).userName : rcObj.createdBy);
}
Two lines below when checking for the reason field, I expanded the if statement a bit to exclude empty reasons:

Code: Select all

if(rcObj.reason !== null && rcObj.reason != '')
Then I've basically copied that code over for the reverse segments as well (perhaps this could better be made into a function?) around line 5179:

Code: Select all

var startDate = rcObj.startDate;
var endDate = "unknown";
if(rcObj.endDate !== null)
{
  endDate = rcObj.endDate;
}
var provider = "---";
if(rcObj.provider !== null)
{
  provider = rcObj.provider;
}
else if (rcObj.createdBy !== null) {
  provider = (Waze.model.users.get(rcObj.createdBy) ? Waze.model.users.get(rcObj.createdBy).userName : rcObj.createdBy);
}
var reason = "---";
if(rcObj.reason !== null && rcObj.reason != '')
{
  reason = rcObj.reason;
}
result += '<td>' + startDate + ' to ' + endDate + '</td>';
result += '<td>' + provider + '</td>';
result += '<td>' + reason + '</td>';
result += '</td></tr>';

Re: [Script] UROverview Plus v3.86 (20160729)

Posted: Thu Aug 18, 2016 7:10 am
by Glodenox
The issue with sending a comment has been researched and a solution has been found. It is not related to URC, though URC is experiencing the same issue.

Technical details: Waze now uses the change event to enable the send button, probably to prevent the sending of empty messages by accident. Entering a value in the textarea with JavaScript doesn't trigger the change event, so it had to be sent separately after setting the value. Relatively easy to fix, not so easy to discover. Personally, I'd just let the send button check whether the textarea is empty instead, as now you can still enter a space, remove the space and then press the send button...

Triggering the change event on the textarea fixes this:

Code: Select all

$(insertReferenceToTextareaHere).change();
EDIT: oops, thought this was the URC thread.

Re: [Script] UROverview Plus v3.86 (20160729)

Posted: Thu Aug 18, 2016 9:26 am
by Glodenox
If there's an issue in URO+, I think it's better that Twister-UK fixes this instead of us making local changes. But I think URO+ is still working fine as before? As for URC: it's best to let the script author fix that issue, so I'm not going to give more details for now.