-
Notifications
You must be signed in to change notification settings - Fork 4
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
By default, don't keep appending points to the end of a route #202
Conversation
I just had a quick play and think this is really good but have a suggestion: it defaults to adding points to end, except when you 'edit geometry'. |
Wait, really? The "Add points to end" checkbox should be off by default and this should not happen.
That could be nice. Even visually distinguishing the "last" point seems useful! These changes would go in https://github.com/dabreegster/route_snapper/, I'd say they're out of scope for Friday, but would like to think about how to implement them |
|
Ah, I see. This makes sense and may be a gentler transition for users used to the old behavior. Changed it to do that. |
It will make #201 confusing though -- if the user manually ticks the box, do we then override this automatic behavior? Maybe we just don't let them change that setting then? |
Yeah not sure what's best for this. Maybe we could have a default for each type of editing geometry: existing or new route, on a per user basis. I could also just see not having user preference here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find the UX of this a little tricky, I find it too easy to delete a red waypoint when trying to grab it and drag it. I found myself accidentally deleting red waypoints when trying to click and drag them and then having no way to undo it which was frustrating.
Is it feasible to:
- Change the interaction that triggers a waypoint deletion i.e. right mouse click?
- Make a click on a waypoint make it sticky to the cursor, so I don't have to drag I can just click and move it about (realise this would depend on changing waypoint deletion event)
On chat with @Pete-Y-CS the points I raise here are slightly separate to this PR. This PR rather surfaces these UX issues in a more obvious way as this is behaviour that exists in the main branch you just can't tell as much because you're always appending to the route. I'm going to raise this as a separate issue (#211 (comment)) and approve this PR as I don't think its a problem with this PR inasmuch the UX of editing routes. |
Thanks for the reviews! Rebased and tested everything again, so merging now |
See dabreegster/route_snapper#30 for context. I haven't done UX testing with anyone, but I suspect this'll make the default experience much less weird. It's much easier to drag intermediate waypoints this way.
For people who want to change the default, combined with #201 would let them make the setting sticky.