[Script] URComments-Enhanced (URC-E)

2020.06.25.01 is out!!

2020.06.25.01: CHANGE: Auto save after closed or NI setting no longer requires the auto click open, solved, NI setting. CHANGE: Reconfigured MutationObservers for better performance. CHANGE: Removed passing of UR ID between functions as assigned variables. BUGFIX: UR session data not always populating correctly. BUGFIX: Force reopening of panel if reminder comment automatically sent and panel was loading or open.

I am just starting to put together some custom comments and am hitting a few snags.

  • $SELSEGS$ and $SELSEGS_WITH_CITY$ don’t appear to want to work. There is definitely a segment selected and the shortcuts in the popup do insert correctly.
  • Can variables only be used once per comment? Subsequent occurrences show the code and not the expected result.

For example: Waze did not send us enough information to fix your $URTYPE$ report near $SELSEGS_WITH_CITY$. Would you please give us as much information as possible about the $URTYPE$ problem that you encountered. Thanks!
Will output:

Unfortunately Waze did not send us enough information to fix your Wrong driving direction report near $SELSEGS_WITH_CITY$. Would you please give us as much information as possible about the $URTYPE$ problem that you encountered. Thanks!

Any help appreciated.

1 Like

For $SELSEGS$ (including with city), for the time being, you can use the shortcut button in the UR panel (that’s what I usually do anyway). I can confirm that pre-selecting segments then opening the UR doesn’t work at the moment.

Thanks for that. At least i know it’s not me :wink:

I can also work around the multiple variables.

2020.07.27.02 is out!!

2020.07.27.02: CHANGE: WME map object references. BUGFIX: Spinner handling routines to reduce or remove stuck spinning. BUGFIX: Per comment list tag email not saving correctly.

Good morning community. Try updating the latest version 2020.07.27.02 on the Grasyfork page and I don’t get the respective files to update.

Hi dBsooner!

I’m Belarus Community coordinator.
I want to use this script in Belarus and want to translate in Belarusian and Russian language.
We need to have 2 pages in google sheet:
Belarus-Be
Belarus-Ru

Please, contact with me.

Since the update, the map is sometimes jumping when I select a UR. I’m editing in The Netherlands, but it can jump to Germany, UK or France.

I’m using Edge Version 84.0.522.49 (Official build) (64-bit) on W10.

Does anyone else see this?

Are you still having issues?

Sent a DM.

Interesting. See if you can find a way to duplicate it.

I’ve the same issue. I’ve an other issue like this, GPS map shift for dozen meters than Waze road and POI when the zoom is on 5 or more

I think it’s caused by the focus on UR option. It also only seems to happen on zoomlevel 0. Zooming in or a map refresh solves the issue.

It doesn’t happen anymore if I switch off URC-e in Tampermonkey, so it’s definitely related to URC-e.

Example:

Edit: when I switch off the centering option, it doesn’t happen anymore.

I found that this stopped happening once I disabled the WME Fix Map Object script.

Did this work for anyone else? BTW, this script shouldn’t be needed anymore. Unless some really old script hasn’t been updated in forever.

Also, does it happen only on stacked URs??

2020.09.08.01 is out!!

2020.09.08.01: NEW: Setting to auto zoom out after closing UR panel. CHANGE: Faster load time. CHANGE: Far less script execution awaits, letting script run more synchronously. CHANGE: Style compatibility with WME v2.62-35-g266443036. BUGFIX: Script style setting not correctly showing in settings. BUGFIX: Better error handling. BUGFIX: WazeWrap stored settings not applied in some cases. BUGFIX: Multiple event listeners in certain situations. BUGFIX: Width of UR panel not wide enough for text (native WME issue).

2020.09.08.02 is out!!

Let’s make that .02. :slight_smile: Found a small issue I forgot to include in last update. Didn’t widen the UR panel enough to accommodate for the awfully large font the new WME version uses.

Also took advantage of this update to implement a requested feature / Shortcut:

$PERMALINK$ along with the shortcut in the UR Panel that looks like a link icon. These will insert a permalink with the following settings:

  • https://(www).waze.com/
    Replaces beta with www, if you are in Beta editor.
  • /editor/?
    Pathname - Also uses locale, if something other that ā€˜en’ is selected. Ex: /en-US/editor/?
  • lon=(UR longitude)
  • lat=(UR latitude)
  • s=20489175039
    Enables most layers (most importantly ensures UR layers are enabled)
  • zoom=5
  • mapUpdateRequest=(selected UR ID)

2020.09.08.01: NEW: Setting to auto zoom out after closing UR panel. NEW: Shortcut to insert permalink to UR. NEW: Spreadsheet shortcut of "$PERMALINK$" to insert permalink to UR. CHANGE: Faster load time. CHANGE: Far less script execution awaits, letting script run more synchronously. CHANGE: Style compatibility with WME v2.62-35-g266443036. BUGFIX: Script style setting not correctly showing in settings. BUGFIX: Better error handling. BUGFIX: WazeWrap stored settings not applied in some cases. BUGFIX: Multiple event listeners in certain situations. BUGFIX: Width of UR panel not wide enough for text (native WME issue).

Great update! The potentially best new feature, PERMALINK, doesn’t work properly though.

  1. The shortcut above the reply field adds $PERMALNK$ (missing I).
  2. When I program it in a response it does work, but the URL is wrong; lat and lon are completely off.

I tried it on this UR: https://www.waze.com/nl/editor?env=row&lon=5.07408&lat=52.07677&zoom=5&mapUpdateRequest=14815242, but the url provided was this: https://www.waze.com/nl/editor?lon=8988.65715&lat=90.00000&s=20489175039&zoom=5&mapUpdateRequest=14815242

And probably it’s just me, but I keep reading spermalinks… Not sure what those would be, but it makes me giggle. If you want an alternative, maybe $PLINK$ would do the trick.

I fixed the $PERMALINK$ problem (the shortcut icon). It’s available in the latest release 2020.09.09.01.

SPLINKS makes me giggle too. LOL. I left it as $PERMALINK$ as that is what it is. $PL$ would have worked, but since the feature is already released, don’t want to change the variable this late in the game.

2020.09.09.01 is out!!

Changelog:

2020.09.09.01: BUGFIX: Permalink shortcut icon not working correctly. BUGFIX: Side panel alignments in certain situations.