#18810 closed enhancement (fixed)
Validator dialog should show the test that produced the message
Reported by: | GerdP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 20.03 |
Component: | Core validator | Version: | |
Keywords: | Cc: |
Description (last modified by )
Inspired by a discussion in the german forum thread: https://forum.openstreetmap.org/viewtopic.php?pid=778892#p778892
It would be good to show the (translated) name of the Test
instance which produced the error/warning text. The information is already existing, we just have to render it. This would to find the corresponding entry in the preferences dialog.
Attachments (2)
Change History (21)
comment:1 Changed 2 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 2 years ago by
comment:3 Changed 2 years ago by
Component: | Core → Core validator |
---|---|
Milestone: | → 20.03 |
comment:4 Changed 2 years ago by
I think it would be good to show this message also for a group created by the same test, but that requires more code.
comment:5 Changed 2 years ago by
Milestone: | 20.03 |
---|
Sorry, for setting milestone. Thought this was fixed.
comment:6 Changed 2 years ago by
For the mapcss test it would be useful if the mapcssfile is returned. Currently it says only (in german) "Merkmalsprüfer (basierend auf mapcss)" which is less useful.
comment:8 Changed 2 years ago by
Milestone: | → 20.03 |
---|
I used "Java: " without tr() since I see no need to translate that string. OK?
comment:9 follow-up: 10 Changed 2 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
- If you hover the plus or minus buttons of the tree structure a tool tip "null" appears.
- I think it doesn't really fit the UI to present the user the full path. It looks like accidently displayed source code. Could't we use the already translated names from the preferences? This way it would be easier for the user too to connect the tool tip with the entry in the preferences I guess.
Changed 2 years ago by
Attachment: | 18810tests.PNG added |
---|
comment:10 follow-up: 12 Changed 2 years ago by
Replying to Klumbumbus:
- If you hover the plus or minus buttons of the tree structure a tool tip "null" appears.
OK, I'll have a look at that
- I think it doesn't really fit the UI to present the user the full path. It looks like accidently displayed source code. Could't we use the already translated names from the preferences? This way it would be easier for the user too to connect the tool tip with the entry in the preferences I guess.
That's what I wanted to implement but the translated name is not passed on, only the source path. It will require more changes, I have to learn first how plugins add there own rules to the preference dialog.
comment:12 follow-up: 13 Changed 2 years ago by
Replying to GerdP:
Replying to Klumbumbus:
- I think it doesn't really fit the UI to present the user the full path. It looks like accidently displayed source code. Could't we use the already translated names from the preferences? This way it would be easier for the user too to connect the tool tip with the entry in the preferences I guess.
That's what I wanted to implement but the translated name is not passed on, only the source path. It will require more changes, I have to learn first how plugins add there own rules to the preference dialog.
The tool tip shows the same name as the progress bar in the validator, so r16047 fixed this as well for the mapcss tests.
Should I also change the toop tip presented for java tests like UnconnectedWays with prefix "Java:"?
Note that this might help to identify messages produced by plugins.
comment:13 follow-up: 14 Changed 2 years ago by
Replying to GerdP:
Should I also change the toop tip presented for java tests like UnconnectedWays with prefix "Java:"?
Yes, that would be great.
comment:14 Changed 2 years ago by
Replying to Klumbumbus:
Replying to GerdP:
Should I also change the toop tip presented for java tests like UnconnectedWays with prefix "Java:"?
Yes, that would be great.
Any suggestion?
comment:16 Changed 2 years ago by
I asked if I should change the tool tip, you wrote yes. What would be better than the implemented solution?
comment:17 Changed 2 years ago by
Changed 2 years ago by
Attachment: | validatortooltip.png added |
---|
comment:18 Changed 2 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Then let's keep what we have for now.
In 15960/josm: