#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 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Component: | Core → Core validator |
---|---|
Milestone: | → 20.03 |
comment:4 by , 5 years ago
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:6 by , 5 years ago
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 by , 5 years ago
Milestone: | → 20.03 |
---|
I used "Java: " without tr() since I see no need to translate that string. OK?
follow-up: 10 comment:9 by , 5 years ago
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.
by , 5 years ago
Attachment: | 18810tests.PNG added |
---|
follow-up: 12 comment:10 by , 5 years ago
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.
follow-up: 13 comment:12 by , 5 years ago
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.
follow-up: 14 comment:13 by , 5 years ago
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 by , 5 years ago
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 by , 5 years ago
I asked if I should change the tool tip, you wrote yes. What would be better than the implemented solution?
comment:17 by , 5 years ago
by , 5 years ago
Attachment: | validatortooltip.png added |
---|
comment:18 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Then let's keep what we have for now.
In 15960/josm: