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
Node dragging enhancement #4817
Comments
|
I agree with 1. and 2. and everything else is just too much for me to even read. |
Ok, I've had a chance to read it all.. @slhh I know you are enthusiastic about improving iD, but I'd really appreciate it if you can keep the issues to be concise and actionable, and in line with the overall design principles of iD. I know we've previously suggested that you might want to fork iD and change it into the kind of editor that you want to use - I still think that might be the best idea. I'll respond to the rest of the points in more detail, now that I'm sitting at my computer. points 3 and 4 - Shift-click-drag makes a lasso around things. This is written up in tutorials about iD, and we mention this on the keyboard shortcuts screen. It's the same gesture that people can use to select multiple files in every desktop user interface, and to select multiple points in every drawing application. It's a known thing. Repurposing Shift-click-drag for special tricks when dragging midpoints or untagged nodes is 1. not intuitive, 2. puts more of a burden on me to explain to people, 3. puts more of a burden on users to learn. Let's not do this. point 5 - is already covered in another issue. point 6 - I agree that placing a node while panning shouldn't be possible, and I'll check to see if the code actually allows this or not. I don't want to necessarily "nope cursor" the node, because that means "you can't put your node here", not "you need to stop panning for some milliseconds before you're allowed to drop it" (again, good UI design uses a single concept to mean a single thing). point 7 - I'm pretty sure that the reason that we don't immediately select the node when it's being dragged, is because then all the other nodes along that way stop being rendered. It would make adjusting the way shape (the main usecase for dragging) more complicated than it needs to be. point 8 - |
In this case, examples of cases that the above suggested changes may improve should be given. The id editor is still a light alternative for JOSM when adding handwritten many small new points, or quickly editing wikidata tags etc. in a large, huge area. But how long? ""We might also think about limiting the dragging distance."" It could be useful in the JOSM editor:) |
If the ID editor is to be more resistant to mistakes made by new mappers, maybe he should have a lite version to the edition that would offer full potential after some time? |
@Slawek234 This was brought up in #3692, but as |
Of course we shouldn't unselect the way, when dragging one of its vertices. That's why I wrote: "nor has a selected parent". In contrast keeping the selection when dragging a totally unrelated node seems to be quite strange, and I don't see a relevant usecase for this. The selection should be changed in case of dragging these unrelated nodes only.
I had the same doubts, but I realized the nope class is fine here: The released code allows to place the node e.g. behind mode buttons, and even behind the inspector or the URL, and anywhere in the auto-panning margin. |
When Shift is pressed, dragging a vertex of a selected way should disconnect it from the non-selected ways or a tagged node.
This would address Possibility to detach a node from a way #4320, Disconnect point should select point wisely #2206, partially Handle coincident features (i.e. multiple things one spot) #1239, and likely the main usecase of Disconnect entire landuse areas from lines #4245.
The risk of leaving coincident nodes would be eliminated.
When a relation is broken, an on-map warning should be shown. The warning should automatically disappear, as soon as the relation is fixed. We need to prevent the operation until we have on-map warnings. The requirement to break relations would be reduced anyway, because the operation is very specific.
The Shift drag gesture would be shared with the lasso selection, like panning and node dragging are sharing the normal drag gesture. Sharing doesn't seem to be an issue here because lasso selection is much less frequently used than panning, and the disconnecting drag would be limited to vertexes of selected ways only in contrast to the normal node dragging.
When Shift is pressed, dragging a midpoint of an edge should insert the new vertex into selected ways, but not into other coincident ones. This is partially addressing Handle coincident features (i.e. multiple things one spot) #1239.
The text was updated successfully, but these errors were encountered: