Open bhousel opened 5 years ago
Regarding
it took me quite a while to understand what the issue is related to, since I did not understand the "way 35557143" (left panel) as the part that is most relevant for this.
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.
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.
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).
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 _objectid
Before the header was changed, this object id was visible and clickable. You can see examples in @SilentSpike's comment https://github.com/openstreetmap/iD/pull/5275#issuecomment-418100026 I'll have to dig up a commit I made to see where the object id gets used.
@bhousel, if I understand correctly, we do get the geometry that the issue is attached to. It's called _objectid
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
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?
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 (https://github.com/openstreetmap/iD/issues/5679#issuecomment-452081886).
JFYI: Small design feedback at https://github.com/openstreetmap/iD/pull/5695 (padding) and https://github.com/openstreetmap/iD/issues/5169#issuecomment-453484830 (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. With the last release, I really love the add of Keepright in ID : very easy to use, it is a very good improvment of ID, you have made a very good job, thanks a lot. But when I check the box then close my browser, when I come back Keepright is unchecked : the first time I was happy because I did not see any more "bugs" in OSM in the area where I was working and then I saw the unchecked box. It will be great if the checked box could stay. But in fact no : I think that Keepright is a tool everyone should use (or at least that everyone should see the bugs shown by this tool) so I think it will be better to have no choice : no box to check but Keepright always there. Because I think that a lot of people have not seen this box and don't know of your great improvment. Why did you hide it, if you know what I mean ?
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.
I understand what you mean, I just find this kind of result for the first time : So forget my suggestion of always showing KeepRight, sorry for this bad idea. Best regards
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 https://github.com/openstreetmap/iD/pull/5201#issuecomment-417834268