Skip to content
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

Open
3 of 5 tasks
bhousel opened this issue Jan 5, 2019 · 17 comments
Open
3 of 5 tasks

KeepRight interface followup issues #5679

bhousel opened this issue Jan 5, 2019 · 17 comments
Labels
usability An issue with ease-of-use or design validation An issue with the validation or Q/A code

Comments

@bhousel
Copy link
Member

bhousel commented Jan 5, 2019

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.

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.

  • Yes, I'd like to make some of the embedded names nicer instead of showing entity ids.

d. Is there a validation on the comment field? I feel like it should validate to at least 2 word for ignore cases, right? I dont want to test it since I dont know what will happen and the data are live, right?

  • KeepRight allows only a single anonymous comment. You can change it or remove it, but there's not much else to know about commenting. I think I'm ok with just letting people play with the comment field, but open to ideas on ways to make it more clear for users.

e. I image when I could actually fix the issue, I have the same problem as with #5170, I would like to manually sync my commit message with the get-right-issue. This is the same for HOT Task manager btw, I type my change twice, once in the task manager, once in the commit message. Could the QA layer maybe pre-fill the commit-message with a hash-tag like "#keepright #keepright-issue-123" so there is some link?

  • Yes this is a good suggestion. I'm wondering whether we should introduce a dedicated changeset tag to hold all the issues that users are closing?

f. How do I get from one issue to the next one? Lets say I solved this one, how do I find the next one?

  • There is parallel work going on where we are introducing an Issue Manager for both server-side and client-side validation issues.. The KeepRight issues will probably end up in here.

g. I am looking for a way to share a specific keepright-issue on iD editor. I can share the Keepright-URL, which is provided in iD, but what I was hoping/looking for is: Once I select an KR-issue, the iD URL changes to reflect this issue.

  • Yeah we should consider this - there are lots of other requests to use URL parameters to show different layers and focus on things in those layers (e.g. Mapillary/OpenStreetCam detections too)

Originally posted by @tordans in #5201 (comment)

@kymckay
Copy link
Collaborator

kymckay commented Jan 5, 2019

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

@bhousel bhousel added the usability An issue with ease-of-use or design label Jan 7, 2019
@bhousel
Copy link
Member Author

bhousel commented Jan 7, 2019

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.

screenshot 2019-01-07 16 04 20

bhousel added a commit that referenced this issue Jan 7, 2019
(re: #5679)

Also move the localizeable string dictionary to data/keepRight.json
@bhousel bhousel added the validation An issue with the validation or Q/A code label Jan 8, 2019
@kymckay
Copy link
Collaborator

kymckay commented Jan 8, 2019

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.

@thomas-hervey
Copy link
Collaborator

thomas-hervey commented Jan 8, 2019

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).

  • @SilentSpike, I agree and this is an easy fix. This was in my original implementation but I think it may have been hidden when @bhousel worked on cleaner naming and descriptions in 2ec02f3 and 9557c02. I think it should be re-enabled.

@bhousel
Copy link
Member Author

bhousel commented Jan 10, 2019

  • @SilentSpike, I agree and this is an easy fix. This was in my original implementation but I think it may have been hidden when @bhousel worked on cleaner naming and descriptions in 2ec02f3 and 9557c02. I think it should be re-enabled.

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 🤔)

screenshot 2019-01-09 23 11 06

@thomas-hervey
Copy link
Collaborator

@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)
I'll have to dig up a commit I made to see where the object id gets used.

@bhousel
Copy link
Member Author

bhousel commented Jan 10, 2019

@bhousel, if I understand correctly, we do get the geometry that the issue is attached to. It's called object_id

Nice! Thanks @thomas-hervey.. Sorry if I removed it - I will find a way to put them back..

@kymckay
Copy link
Collaborator

kymckay commented Jan 10, 2019

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

@bhousel
Copy link
Member Author

bhousel commented Jan 10, 2019

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).

@bhousel
Copy link
Member Author

bhousel commented Jan 10, 2019

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.

@kymckay
Copy link
Collaborator

kymckay commented Jan 10, 2019

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?

@bhousel
Copy link
Member Author

bhousel commented Jan 11, 2019

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.

@tordans
Copy link
Collaborator

tordans commented Jan 11, 2019

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).

@kymckay
Copy link
Collaborator

kymckay commented Jan 22, 2019

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).

@Mahabarata
Copy link

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

@quincylvania
Copy link
Collaborator

@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.

@Mahabarata
Copy link

I understand what you mean, I just find this kind of result for the first time :
2019-02-15_155056
So forget my suggestion of always showing KeepRight, sorry for this bad idea.
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability An issue with ease-of-use or design validation An issue with the validation or Q/A code
Projects
None yet
Development

No branches or pull requests

6 participants