Hint text for new system.repeat-action
PlanifiéeI love the new system.repeat-action capability - thank you! However, I find the hint text to be not really “plain language”: Repeat Action is running. Use Esc to terminate.
Is there a way to change this without going deep in the rabbit hole? Something more like: Use Esc key to stop using current tool.
-
Hi Heather,
Came here to say the exact thing - I was hoping to implement the repeat action right away but need to be able to utilize notifications to give my users hint text (i.e “Click and drag to draw a circle.”). With the default notification seemingly being the only way to manually terminate the loop, I'm stuck with the default text and unable to provide users with my own hint text.
If a ‘message’ argument or something similar could be added that would be fantastic. Until then I won't be able to utilize this new functionality at all, as the default text isn't going to be suitable for our users.
0 -
Cam Barnard Just bumping this again, too. It would be great to have the ability to customize the hint text, but if that's not possible, simplifying the language would be greatly appreciated. I feel like I'm continually waiting for small, but important, improvements before I can push my app out. I've been working on it for more than a year now and little stuff like this slows me down. Eventually a browser update will break my GE apps…
0 -
Here is a Tutorial on how to change the built-in text in the web user interface where you can find all the built-in language strings till Version 5.27. Here for workflow: built-in language strings.
The ones you are looking for are:
- "language-system-repeat-action-running-with-repetitions": “Repeat Action is running repetition {0}/{1}. Use Esc to terminate.”
- "language-system-repeat-action-running": “Repeat Action is running. Use Esc to terminate.”
The following procedure is recommended for individual customisations: replace the translation-string in the app.json. Important: the default language strings aren't listed in the app by default, but can be overridden in the app when included.
Example for the Search Text
- Open the app.json configuration in the Designer (Ctrl + Shift + e}
- Go to the specific language resource type, for example the one for English: "en"
- Insert the string you want to replace, e.g. the string for the search "language-search-placeholder".
- Make sure that it is not replaced elsewhere!

- Apply the changes and see directly in designer the new label

Hope it helps you to use the new command!
0 -
Victor Catalán thank you for responding.
I am unable to locate this string in the json configuration from Web. I tried searching on the string name and the value and it's not there. Am I looking in the wrong place? All of the values under “locale”: “en” look like this:
"locale": "en",
"values": {
"language-designer-gen-layer-stack-title": "Layers",
I don't see any language-system values.
0 -
Hi Victor,
Thank you for the response. I had checked the translation files and it wasn't appearing on any of my apps, including a test app I created with just a map and a button with a repeat action. I was able to manually add the ID you provided ("language-system-repeat-action-running": “”) and have been able to update it that way, not sure why it's not appearing in the language files by default after adding the command and saving.
I'm assuming there still can only be 1 repeat action message per app, which still doesn't meet my needs to be able to utilize the notifications for hint text for public users (we provide precise hint text for drawing a point vs. a rectangle, for example). Hoping that can be considered for future updates.
0 -
The default language strings aren't listed in the app by default, but can be overridden in the app when included.
The language strings for the system.repeat-action command are
"language-system-repeat-action-running-with-repetitions":"Repeat Action is running repetition {0}/{1}. Use Esc to terminate.",
"language-system-repeat-action-running":"Repeat Action is running. Use Esc to terminate.",You would put this in your app.json alongside other Designer defined strings, and then alter the text to your desire. e.g.

There currently isn't any way to pass in a string when invoking the command. So you can adjust the default language, but you wouldn't be able to use different text for different tools.
0 -
Thank you, Cam Barnard. This worked for me.
0 -
Thanks Cam Barnard , worked for me as well.
I find it frustrating to have to change this setting each time for all of my apps and new apps - can you please just set the default language string to be similar to what Heather Widlund initially suggested?
As a general feedback, I don't understand why we need a repeat action hint text message in the first place - why can't there be an indicator on the tool button itself to indicate the tool is active? Perhaps a small green check or shading/highlight on the button? This could be simplified - simply click tool button to activate, then click tool button again to deactivate. This is how it works in 99% of other software and how it used to work in GVH. I believe the hint text notification is an unnecessary complication that adds confusion to end users.
Also, users have provided me with feedback thinking the text Repeat Action is running. Use Esc to terminate is some kind of error message. The orange-red colour and exclamation symbol are part of the reason they think an error is occuring.
0 -
Hi Mathew. I've flagged for the team the suggestion to change the default language string.
We needed an independent way of indicating that a repeat tool was active because of the variety of places this can be invoked from … could be toolbar, button, feature action, workflow, etc. … but we still needed a clear way for the end user to know that something was ‘running’ and could be ‘cancelled’.
We also have a story to come up with a new style for this that ‘looks less like an error’
e.g. something like these (maybe blue info, but more translucent like the bottom example)

0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
9 commentaires