-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeepRight interface followup issues #5679
Comments
Regarding
I envision something along the lines of how relation members are listed working well here - especially with the same highlighting to show the entities |
I added some code to replace the identifier with a friendlier name if possible. (This is not always possible because you might be viewing the markers at a lower zoom and the map data hasn't been loaded around there). It will also highlight the feature if you hover over the link, and zooming to the entity works a little better now. |
(re: #5679) Also move the localizeable string dictionary to data/keepRight.json
Another suggestion: The left panel should also have a link somewhere to the object the issue as actually attached to as it may not always be obvious which it is (currently it only links to additional entities listed in some descriptions). It would also serve as a good way to zoom to the error when browsing them from a low zoom level. |
|
I'm not sure that we get the geometry that the issue is attached to from KeepRight.. For example in this one, the original message was "This node is very close but not connected to way #11775974". KeepRight doesn't give us the "this node" part. (we could probably guess 🤔) |
@bhousel, if I understand correctly, we do get the geometry that the issue is attached to. It's called object_id Before the header was changed, this object id was visible and clickable. You can see examples in @SilentSpike's comment #5275 (comment) |
Nice! Thanks @thomas-hervey.. Sorry if I removed it - I will find a way to put them back.. |
Yeah an object ID and type is being served in the json, whether or not it links to the specific element for evey error type I don't know though |
Yep - I'm updating all the strings today to support adding links to the "this whatever" part of the message. In a few cases, I'm rewriting the strings to make this easier to do. For example, one of the errors we get just says "missing maxspeed tag", so in code I'm changing that to "This highway is missing a maxspeed tag" (to give us something to actually add a link to). |
I redid all the error messages to make sure they contain links to the object. This unfortunately means a lot more translation work, but the error messages are a lot better now! I also made a few other small improvements to the links. If the user clicks a link to an entity that is not yet loaded into the graph (maybe they are zoomed out too far), we now load the entity from OSM before entering select mode. |
Just gave it a test and a very nice improvement 👍 I notice the URL errors (411, 412, 413) haven't been given this treatment, was that intentional? |
oh you're right! I forgot those ones.. I will add them. |
This looks great, thanks. I really like the highlighting (#5679 (comment)). JFYI: Small design feedback at #5695 (padding) and #5169 (comment) (zoom-to-icon + zoom-level). |
More of a QOL improvement: If you have relevant map features disabled and then click on the link to a feature in the error description, you have now selected a feature which isn't visible. Perhaps the currently selected feature should always be made visible? edit: not directly a keepright issue, but something that is more exposed as more Q/A is added in (including more links to entities that may be currently hidden). |
Hi, I don't want to open a new issue, maybe this is the good place for a suggestion about Keepright. Best regards |
@Mahabarata Good suggestion about persisting the KeepRight visibility setting. We should probably persist more of the other settings as well, like photo overlay and OSM note visibility. This drawback to always showing KeepRight issues is that it could be overwhelming to new users and cumbersome for power-mappers. However, the next release of iD will include #5830 with numerous improvements to iD-native validation, such as flagging KeepRight-like issues as you edit. |
Breaking out some of @tordans's feedback into a separate issue. I think all the other ones from the comment are fixed already, such as fixing the layer order to make it easier to click on things, offsetting the markers slightly from the geometry they are about, and improving the color scheme and contrast of the markers, but let me know if I cut anything important.
Originally posted by @tordans in #5201 (comment)
The text was updated successfully, but these errors were encountered: