[Script] UROverview Plus v3.121 (20171124)

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

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

Postby gertbroos » Sat Dec 17, 2016 9:23 am

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?
gertbroos
Country Manager
Country Manager
 
Posts: 222
Joined: Mon Jan 19, 2015 4:04 pm
Has thanked: 59 times
Been thanked: 194 times

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

Postby GFM_Danny » Tue Sep 15, 2015 5:02 am

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
GFM_Danny
 
Posts: 2789
Joined: Wed Dec 24, 2014 7:04 am
Location: Bandung
Has thanked: 1214 times
Been thanked: 934 times

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

Postby GFM_Danny » Tue Sep 15, 2015 1:10 pm

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
GFM_Danny
 
Posts: 2789
Joined: Wed Dec 24, 2014 7:04 am
Location: Bandung
Has thanked: 1214 times
Been thanked: 934 times

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

Postby ggrane » Wed Jul 02, 2014 5:06 am

My work today early evening before 9pm. After a reboot around 10 pm it was gone and no longer available ..
ggrane
State Manager
State Manager
 
Posts: 385
Joined: Fri Aug 30, 2013 4:28 pm
Location: Miami, FL
Has thanked: 56 times
Been thanked: 213 times

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

Postby GizmoGuy411 » Fri Mar 28, 2014 1:49 pm

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?
GizmoGuy411
EmeritusChamps
EmeritusChamps
 
Posts: 1420
Joined: Wed Oct 13, 2010 3:14 am
Location: NW Ohio, SE Michigan, NW Indiana tri-state area
Has thanked: 703 times
Been thanked: 456 times

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

Postby Glodenox » Sun Jan 03, 2016 2:16 pm

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.
Glodenox
Map Raider
Map Raider
 
Posts: 448
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 166 times
Been thanked: 555 times

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

Postby Glodenox » Sat Aug 13, 2016 8:36 am

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>';
Glodenox
Map Raider
Map Raider
 
Posts: 448
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 166 times
Been thanked: 555 times

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

Postby Glodenox » Thu Aug 18, 2016 7:10 am

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.
Glodenox
Map Raider
Map Raider
 
Posts: 448
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 166 times
Been thanked: 555 times

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

Postby Glodenox » Thu Aug 18, 2016 9:26 am

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.
Glodenox
Map Raider
Map Raider
 
Posts: 448
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 166 times
Been thanked: 555 times

Re: [Script] UROverview Plus v3.4 (20140106)

Postby glomp » Thu Jan 09, 2014 5:58 am

Just noticed a strange problem with selecting roundabout segments, it will only select 2 consecutive segments of the roundabout and it is random as to which two it chooses.

This is with the latest version of WME 1.4-206, UROverview Plus v3.4 and installed on Firefox beta v27.4 and OSX 10.91
glomp
Waze Global Champs
Waze Global Champs
 
Posts: 1870
Joined: Thu Aug 16, 2012 3:49 pm
Location: Western Australia
Has thanked: 429 times
Been thanked: 920 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Bing [Bot], dspille