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.

Post Reply
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.

[Script] WME Closure Details (1.2.2)

Post by
I got slightly annoyed this morning by not being able to see the details of a closure outside of my editing area, even though I was able to find all its details when I started looking into the data received from the server. Therefore I decided to make a small userscript that adds the description and also some additional data in a tooltip: origin of the closure is (WME or app), closure data provider, closure creator, closure creation timestamp, last closure updater and last closure update timestamp.

https://tomputtemans.com/waze-scripts/i ... xample.png

The userscript can be found and installed at GreasyFork: https://greasyfork.org/scripts/28620-wm ... re-details

You will need to install an add-on that manages userscripts for this to work. There's TamperMonkey for Firefox and Chrome.
Last edited by Glodenox on Thu Feb 18, 2021 8:59 pm, edited 17 times in total.
Reason: Release of version 1.1, which adds the data provider information

Post by darossi1982
Thank, is very useful

Enviado desde mi HUAWEI Y600-U351 mediante Tapatalk
darossi1982
EmeritusChamps
EmeritusChamps
Posts: 1055
Has thanked: 3472 times
Been thanked: 566 times

Post by dBsooner
Glodenox wrote:I decided to do the rewrite anyway this evening and slapped version number 1.0 on it :)

As can be seen on the new example picture in the first post (and below), the script now uses a right hand tooltip next to the closure to give more details, even if you can't edit in the area you're looking at. But even if you can edit in the area, it is still easier to see information about the closure.

https://tomputtemans.com/waze-scripts/i ... xample.png
Thank you for this! I have no idea why they don’t show closure details outside the EA by default. But then again, I question several things. Probably because their editors / developers aren’t allowed to use any scripts.


Sent from my iPhone using Tapatalk
dBsooner
Map Editor - Level 5
Map Editor - Level 5
Posts: 654
Has thanked: 324 times
Been thanked: 353 times
https://s.waze.tools/c5s.pnghttps://s.waze.tools/s0175.pnghttps://storage.googleapis.com/wazeopedia-files/c/c1/Badge_BetaTester.pnghttps://s.waze.tools/beta.pnghttps://storage.googleapis.com/wazeopedia-files/a/ad/Badge_Mentor.png
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 13.5.1 | Waze Latest Beta

Post by dfortney
Hello -- If I can be so bold as to request an Enhancement, here it goes!

When a CCP Partner sends a feed to Waze for closures, the WME Closures Details shows "Created by WazeFeed" , but you need to click into the closure to find the "Provided by City of Charlotte" in my example. Request that "Provided by.. " be included in the WME Closures details

Here is an example PL which (currently) can be used for testing

https://www.waze.com/en-US/editor/?env= ... s=77633508

Many thanks for this script - it really helps with managing closures.
dfortney
Posts: 276
Has thanked: 128 times
Been thanked: 103 times


Post by atrophicshiner
With the latest release of WME and the new active closure contextual menu, can we get some more horizontal space between the left-hand panel and the on hover closure details. Makes it difficult to read the new menu ;)
atrophicshiner
Waze Local Champs
Waze Local Champs
Posts: 3748
Has thanked: 1314 times
Been thanked: 1366 times
Attachments
- Chris - (Catching up with the Ians one Chris at a time)

https://cottagepi.uk/proud-wazer.gifhttps://cottagepi.uk/pirate.pnghttps://cottagepi.uk/Beta_app.pnghttps://cottagepi.uk/tolls.pnghttps://s.waze.tools/c5.png
UK Local Champ would you believe
AM the Middle bit of England
Usability | Simplicity | Retention

Post by ABelter
atrophicshiner wrote:With the latest release of WME and the new active closure contextual menu, can we get some more horizontal space between the left-hand panel and the on hover closure details. Makes it difficult to read the new menu ;)
I've just submitted a PR for review that fixes this issue by hiding the tooltip when that menu is opened, as well as fixes an issue I've been having where the tooltips are not hidden if you click on the "card" to edit the closure.
ABelter
Posts: 43
Has thanked: 23 times
Been thanked: 18 times
Andrew aka ABelter
State Manager / North Carolina
Traffic Event Marshal / South Atlantic Region (NC, SC, TN, KY)
andrew@wazenc.us

Post by ABelter
When a segment has multiple closures, I'm running into an issue where removeAllTooltips is firing after the next closure's tooltip has generated, thus killing the new tooltip. (PL for testing)

It appears that line 99 is the culprit and was serving as a catch-all to close any stray tooltips, which may no longer be necessary with the changes from the last update?

This is the part of line 99 I removed:

Code: Select all

.on('hidden.bs.tooltip', removeAllTooltips);
ABelter
Posts: 43
Has thanked: 23 times
Been thanked: 18 times
Andrew aka ABelter
State Manager / North Carolina
Traffic Event Marshal / South Atlantic Region (NC, SC, TN, KY)
andrew@wazenc.us


Post by abc1357
The script is not showing any details.  For example, when I select this segment, all I see on my left panel is:
Screenshot.jpg
(42.2 KiB) Downloaded 48 times
 Also included is this imgbb link in case the attachment does not work.


The script could be impacted by the change in I18n.translations.[locale].date as mentioned in the Waze Scripts discord.
 
abc1357
State Manager
State Manager
Posts: 522
Has thanked: 233 times
Been thanked: 192 times