-
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
Add vertex keyboard navigation #3539
Conversation
(closes #1917)
Does it work on non-English keyboard layouts, too (see #2812)? Also, on a German keyboard |
Hmm, yeah I do want to pick something easy to hit on QWERTZ. Maybe we can use Ö and Ä? |
I'm used to press Tab / Shift-Tab for that (or
|
The following keys might be used instead: The vertex navigation is nice, but the usecases seem to be very limited without some more new shortcuts:
This would also be a (partial) solution for #1239 . The line to stay on should be made visible during vertex navigation. This can be done by temporarily flashing a halo around it when any vertex navigation shortcut is used. |
Sounds good to me.. I was kind of hoping to provide keys that exist on a laptop keyboard, but at least offering these as alternatives helps for the keyboard layouts that don't have handy
Maybe.. I will think about it and try a few ideas.
This cycling through parent ways (and the halo flash idea needed to make it visible) would add a bit more complexity than I'm comfortable with.
Did you mean to link a different issue here? not sure how that one is related.. |
That's good. Unfortunately, it was a secret shortcut. It was not mentioned in https://wiki.openstreetmap.org/wiki/ID/Shortcuts, which is linked in iD's help function. I have added the Spacebar and also the eight vertex navigation shortcuts.
Sorry, I have meant the issue to handle coincident ways #1239 . |
👆 ok I lied.. I added slight hover styling for the related parent way, and added the key |
I have tested in master deployment:
|
This seems super useful, but that's also another key which is impossible to press on (at least some) non-English keyboard layouts. 😢 @slhh: Just hacking in the |
Today I played around with keyboard navigation for vertexes.
This closes #1917 and adds some useful keyboard shortcuts:
[
- jump to previous vertex]
- jump to next vertex⌘[
- jump to first vertex⌘]
- jump to last vertexAlso it:
There are still a few weird things to clean up - e.g. it's possible for the vertex to go unselected when jumping to one that's offscreen.
Also I'd like to try to support a shift modifier, which woud let you add or remove nodes from the selection.