[Script] URComments-Enhanced (URC-E)

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, Glodenox, JustinS83

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] URComments-Enhanced (URC-E)

Postby dBsooner » Fri Aug 16, 2019 10:03 pm

2019.08.16.01 is out!

Changelog:
Code: Select all
2019.08.16.01: NEW: Custom text replace variables via sheets.
               NEW: Custom tagline setting. (Per comment list or "master")
               NEW: More shortcuts: current date, current date casual, current day of week,
                    current time, current time casual, custom tagline, place address, place
                    name, UR type. (Available via UR panel and variable in comments)
               NEW: $SELSEGS_WITH_CITY$ : Same as $SELSEGS$, except includes 'in CITY' if
                    selected segment(s) have a matching primary city, or only one has a
                    primary city.
               NEW: Link to enable / disable URCE UR filtering added to comment tab.
               BUGFIX: Per comment list text boxes not saving correctly.
               BUGFIX: Check for ALL $$ in comment before automatically clicking send.
               BUGFIX: Selected segments variable replacement could show undefined.


Here is the info on each of the new items:
  • Custom variables: Allows you to create your own custom variables to use throughout your comments. Custom variables can be nested. If you are a URC-E master control comment list maintainer, your tab has already been setup to allow for this. If you have your own custom sheet, you will need to modify your "Data validation" for column C (URSTATUS) to allow "CUSTOM VAR" to be a valid option.
    To use:
    1. Set the title (column A) to the variable name you would like to use. WITHOUT the $'s.
      Ex: CUSTOM_GREETING
    2. Set the "Comment" (column B) to be the replace text you would like to use.
      Ex: Good $CURRENTDATE_TIME_CASUAL$! I am a fellow Wazer like you!
    3. Set the "URSTATUS" (column C) to be "CUSTOM VAR".
    4. Wherever you want to use this variable in your other comments, simply place the name wrapped in $'s in the comment.
      Ex: $CUSTOM_GREETING$ I see you reported a $URTYPE$ issue near $SELSEGS_WITH_CITY$. Would you mind telling me more information that might help me assist with solving the issue? ...
  • Custom tagline: This is to allow users to have a single "tagline" that can be added to the end of each comment they want. A managed list might use this and tell you what to do. An example of a custom tagline: "If you still have issues after this report is closed. Please feel free to email me at my@email.com." Then a comment would have the variable $CUSTOMTAGLINE$ in it and would insert your tagline there. The custom tagline is a "per comment list" setting. Meaning you can have a different one for each comment list, or have them use the "master" setting.
  • More shortcuts:
    • Current date (variable $CURRENTDATE_DATE$): Inserts the current date with 2-digit day, 2 digit month and 4 digit year in the current locale format.
    • Current date casual (variable $CURRENTDATE_DATE_CASUAL$): Inserts the current date as full month name and 2 digit day in the current locale format.
    • Current day of week (variable $CURRENTDATE_DAY_OF_WEEK$): Inserts the current day of the week in the current locale language.
    • Current time (variable $CURRENTDATE_TIME$): Inserts the current time in 2 digit hour, 2 digit minute and abbreviated timezone, in the current locale.
    • Current time casual (variable $CURRENTDATE_TIME_CASUAL$): Inserts "night" for time 2100-0359, "morning" for time 0400-1159, "afternoon" for time 1200-1759 and "evening" for time 1800-2059. These will be translated to the current language, if available.
    • Custom tagline (variable $CUSTOMTAGLINE$): Inserts the custom tagline for the currently loaded comment list, or replaces it with nothing if blank.
    • Place address (variable $PLACE_ADDRESS$): Inserts the address, with city and state (as appropriate) for the currently select place.
    • Place name (variable $PLACE_NAME$): Inserts the name of the currently selected place, or "residential place" (in the current language) if it is an RPP.
    • Selected segments with city (variable $SELSEGS_WITH_CITY$): Same as $SELSEGS$, except includes the city name if 1) one selected segment and it contains a primary city 2) two selected segments and 2a) both have the same city as their primary OR 2b) one has a primary city and the other is set to "no city".
    • UR type: (variable $URTYPE$): Inserts the UR type of the currently selected UR.
[ img ][ img ][ img ][ img ][ img ]
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 12 | Waze Latest Beta
dBsooner
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 585
Joined: Thu Oct 31, 2013 10:53 pm
Location: Tulsa / Broken Arrow, Oklahoma, US
Has thanked: 356 times
Been thanked: 306 times

Re: [Script] URComments-Enhanced (URC-E)

Postby boonie-oet-gelaen » Sat Aug 17, 2019 6:23 pm

Both is this version and also the previous version the button "sign in/autorize" will ask for which Google account I want to use. As expected. But after I select one, I get an error message.

"Inloggen met Google is tijdelijk uitgeschakeld voor deze app
Deze app is nog niet geverifieerd door Google voor gebruik van de functie 'Inloggen bij Google'."

This is in Dutch but it is saying that this app is not yet verified by Google. And that logging in with Google is temporarily switched off.

Is it a general issue? Or am I doing something wrong?

Thanks,
Dave
boonie-oet-gelaen
Waze Local Champs
Waze Local Champs
 
Posts: 41
Joined: Mon Dec 28, 2015 9:04 pm
Has thanked: 48 times
Been thanked: 16 times

Re: [Script] URComments-Enhanced (URC-E)

Postby dBsooner » Sat Aug 17, 2019 7:15 pm

boonie-oet-gelaen wrote:Both is this version and also the previous version the button "sign in/autorize" will ask for which Google account I want to use. As expected. But after I select one, I get an error message.

"Inloggen met Google is tijdelijk uitgeschakeld voor deze app
Deze app is nog niet geverifieerd door Google voor gebruik van de functie 'Inloggen bij Google'."

This is in Dutch but it is saying that this app is not yet verified by Google. And that logging in with Google is temporarily switched off.

Is it a general issue? Or am I doing something wrong?

Thanks,
Dave


Unfortunately, it is not something you are doing wrong. You only need to sign in / authorize if you are going to create or convert a comment list. If you are using a list already available, or using one you or someone else already converted / created, you don’t need to sign in.

Google limits unverified scripts / apps that access certain data to 100 unique users. To use more, the app needs to be authorized. I cannot authorize URC-Es backend google app because it would require I own the referring domain (waze.com).

I am currently trying to decide the best way to go forward. It will likely be that the creation / conversion process will become more manual. Meaning you have to copy the template sheet manually, then copy the data into it manually. I don’t know how else to get around this with the latest version of the Drive and Sheet APIs.


Sent from my iPhone using Tapatalk
[ img ][ img ][ img ][ img ][ img ]
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 12 | Waze Latest Beta
dBsooner
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 585
Joined: Thu Oct 31, 2013 10:53 pm
Location: Tulsa / Broken Arrow, Oklahoma, US
Has thanked: 356 times
Been thanked: 306 times

Re: [Script] URComments-Enhanced (URC-E)

Postby dBsooner » Mon Aug 19, 2019 8:30 pm

dBsooner wrote:
boonie-oet-gelaen wrote:Both is this version and also the previous version the button "sign in/autorize" will ask for which Google account I want to use. As expected. But after I select one, I get an error message.

"Inloggen met Google is tijdelijk uitgeschakeld voor deze app
Deze app is nog niet geverifieerd door Google voor gebruik van de functie 'Inloggen bij Google'."

This is in Dutch but it is saying that this app is not yet verified by Google. And that logging in with Google is temporarily switched off.

Is it a general issue? Or am I doing something wrong?

Thanks,
Dave


Unfortunately, it is not something you are doing wrong. You only need to sign in / authorize if you are going to create or convert a comment list. If you are using a list already available, or using one you or someone else already converted / created, you don’t need to sign in.

Google limits unverified scripts / apps that access certain data to 100 unique users. To use more, the app needs to be authorized. I cannot authorize URC-Es backend google app because it would require I own the referring domain (waze.com).

I am currently trying to decide the best way to go forward. It will likely be that the creation / conversion process will become more manual. Meaning you have to copy the template sheet manually, then copy the data into it manually. I don’t know how else to get around this with the latest version of the Drive and Sheet APIs.


Sent from my iPhone using Tapatalk


It's official. URC-E has hit the Google API limit for amount of "users" allowed to authenticate with OAuth2 without being a verified app (with Google). The limit was 100 users. OAuth2 was only for creating your own custom spreadsheet OR converting your old URC style to URC-E. The functionality of URC-E was never in jeopardy. That being said, I cannot verify the app with Google as I can't add waze.com as an authorized domain (I don't own waze.com). So the limit can't be beaten. Therefor, I have to change how I approach creating user custom lists. The process going forward will be more manual. Unfortunately, it's all I can do. I'll have a beta out in the next day or so with the new process.
[ img ][ img ][ img ][ img ][ img ]
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 12 | Waze Latest Beta
dBsooner
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 585
Joined: Thu Oct 31, 2013 10:53 pm
Location: Tulsa / Broken Arrow, Oklahoma, US
Has thanked: 356 times
Been thanked: 306 times

Re: [Script] URComments-Enhanced (URC-E)

Postby Rising_Sun » Sat Aug 24, 2019 3:12 am

Unable hovering over the tooltip, the tooltip popup close while moving the mouse curse from UR to the tooltip.
Here is the Camcoder
[ img ][ img ][ img ]
Manage Area :
Malaysia : Pahang | Vietnam : Tây Ninh | Cambodia : Svay Rieng | 中国 : 河南

Facebook : Waze Malaysia
Rising_Sun
Area Manager
Area Manager
 
Posts: 274
Joined: Tue Mar 04, 2014 12:38 am
Has thanked: 23 times
Been thanked: 66 times

Re: [Script] URComments-Enhanced (URC-E)

Postby dBsooner » Sat Aug 24, 2019 10:27 pm

Rising_Sun wrote:Unable hovering over the tooltip, the tooltip popup close while moving the mouse curse from UR to the tooltip.
Here is the Camcoder


I can’t seem to duplicate this. From the recording, it looks like there may be another map element right under the tooltip that might be intercepting the mouse movement. Does this happen on all URs? Have you made sure another script isn’t interfering (disable all other scripts and test with just URC-E)? If it’s just that UR and it happens with only URC-E enabled, can you give me a PL to it? If it’s all URs and happens with just URC-E enabled, then I’m at a loss.


Sent from my iPhone using Tapatalk
[ img ][ img ][ img ][ img ][ img ]
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 12 | Waze Latest Beta
dBsooner
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 585
Joined: Thu Oct 31, 2013 10:53 pm
Location: Tulsa / Broken Arrow, Oklahoma, US
Has thanked: 356 times
Been thanked: 306 times

Re: [Script] URComments-Enhanced (URC-E)

Postby Rising_Sun » Mon Aug 26, 2019 1:42 am

dBsooner wrote:I can’t seem to duplicate this. From the recording, it looks like there may be another map element right under the tooltip that might be intercepting the mouse movement. Does this happen on all URs? Have you made sure another script isn’t interfering (disable all other scripts and test with just URC-E)? If it’s just that UR and it happens with only URC-E enabled, can you give me a PL to it? If it’s all URs and happens with just URC-E enabled, then I’m at a loss.


Sent from my iPhone using Tapatalk


Just tested with all script disable still same.
It happend to all URs.

Camcoder : URC-E (Version 2019.08.16.01) with all script disable
[ img ][ img ][ img ]
Manage Area :
Malaysia : Pahang | Vietnam : Tây Ninh | Cambodia : Svay Rieng | 中国 : 河南

Facebook : Waze Malaysia
Rising_Sun
Area Manager
Area Manager
 
Posts: 274
Joined: Tue Mar 04, 2014 12:38 am
Has thanked: 23 times
Been thanked: 66 times

Re: [Script] URComments-Enhanced (URC-E)

Postby dBsooner » Mon Aug 26, 2019 1:57 am

Rising_Sun wrote:
dBsooner wrote:I can’t seem to duplicate this. From the recording, it looks like there may be another map element right under the tooltip that might be intercepting the mouse movement. Does this happen on all URs? Have you made sure another script isn’t interfering (disable all other scripts and test with just URC-E)? If it’s just that UR and it happens with only URC-E enabled, can you give me a PL to it? If it’s all URs and happens with just URC-E enabled, then I’m at a loss.


Sent from my iPhone using Tapatalk


Just tested with all script disable still same.
It happend to all URs.

Camcoder : URC-E (Version 2019.08.16.01) with all script disable


Can you please give me a PL to that area as well as tell me what layers you have enabled? Chrome or Firefox? What version? What version of TamperMonkey?
[ img ][ img ][ img ][ img ][ img ]
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 12 | Waze Latest Beta
dBsooner
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 585
Joined: Thu Oct 31, 2013 10:53 pm
Location: Tulsa / Broken Arrow, Oklahoma, US
Has thanked: 356 times
Been thanked: 306 times

Re: [Script] URComments-Enhanced (URC-E)

Postby Rising_Sun » Mon Aug 26, 2019 2:20 am

dBsooner wrote:Can you please give me a PL to that area as well as tell me what layers you have enabled? Chrome or Firefox? What version? What version of TamperMonkey?


PL = https://www.waze.com/editor?env=row&lon=101.69795&lat=3.06415&zoom=0

Layer enable :-
[ img ]
  • Issues (all)
  • Places (all)
  • Road (all)
  • Display
    • Satellite Imagery
    • Editable Ares
    • Live userts
    • Map Comments

Browser : Firefox 68.0.2 (64-bit)

TamperMonkey V4.9.5941
[ img ][ img ][ img ]
Manage Area :
Malaysia : Pahang | Vietnam : Tây Ninh | Cambodia : Svay Rieng | 中国 : 河南

Facebook : Waze Malaysia
Rising_Sun
Area Manager
Area Manager
 
Posts: 274
Joined: Tue Mar 04, 2014 12:38 am
Has thanked: 23 times
Been thanked: 66 times

Re: [Script] URComments-Enhanced (URC-E)

Postby dBsooner » Mon Aug 26, 2019 5:04 pm

Rising_Sun wrote:PL = https://www.waze.com/editor?env=row&lon=101.69795&lat=3.06415&zoom=0

Browser : Firefox 68.0.2 (64-bit)

TamperMonkey V4.9.5941


Found it. Bug fixed in latest Beta release. Issue with how some browsers handle the mouse events. Thank you!
[ img ][ img ][ img ][ img ][ img ]
• AM: Eastern Oklahoma, DFW, Southern Florida
• Wiki: WME | Editing Manual | Best Practices | FAQ | Places
• AT&T | iPhone XS Max | iOS 12 | Waze Latest Beta
dBsooner
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 585
Joined: Thu Oct 31, 2013 10:53 pm
Location: Tulsa / Broken Arrow, Oklahoma, US
Has thanked: 356 times
Been thanked: 306 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: RichardPyne, RussPA