-
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
Select feature type before drawing #6010
Conversation
…search input width
Remove subsections when reloading
…ts with the arrow keys
Make search shortcut translatable
This seems pretty great! I'm happy if you want to merge it so people can try it out, and we can get a jump on rebuilding the tutorial. |
This gives me an idea to set the favorites:
This could avoid to clutter the user interface with any control to set the favorites. |
@slhh Good ideas! It'd be cool to make iD more drag-and-drop friendly throughout the UI. I wouldn't get rid of the favoriting button though since drag-and-drop is less discoverable and more difficult for users who have trouble with motor functions. |
I'm still pretty happy with using the ⭐️star to favorite. I think people can figure that out and it doesn't clutter anything. |
@quincylvania When the temporary favorite is placed slightly separated from the other ones, dragging the temporary one towards the other ones could make the temporary one permanent. A tooltip can make this discoverable, and a short drag distance would likely be less difficult for users who have trouble with motor functions. Example workflow to add a park bench:
|
This requires some inconsistant behaviour. |
@quincylvania
When clicked, each button should unhide and focus the feature type search field and hide all these buttons. In addition, the geometry buttons should preselect the geometry type to filter the search results. This would reinstate the full efficience of the old workflow to the new workflow. |
I like this.
Instead of just one and just temporarily, I made it so the recently-used presets live alongside the pinned favorites. Let me know what you think of this in practice.
The generic preset favorites do work differently than most favorites, but for good reason. We need to ask for the feature type to exactly replicate the behavior of the existing mode buttons.
This seems like a more complicated and less customizable version of just favoriting the point/line/area presets. I did make those the defaults, so the buttons will appear next to the search field upon launching iD. Filtering the search results by geometry would be nice, but I think that control should be in the results popover itself. |
Keeping some recently-used presets makes sense, but the preset of the most recently selected element should be included, even if the preset was not applied in the current session. |
Yes, the appearance of the preset ribbon will persist between sessions. |
I had a quick play with this. Overall I like the new search bar. I saw the discussion above and in slack, so I may be in the minority on this, but my one nitpick is that recent presets are restored to the toolbar on refresh. It seems to quickly lead to toolbar button-itis with no way to clean it up (such as un-favoriting provides). Could be #6024 I would be okay if recents were shown in the toolbar during the session, but not restored on reload. I realize this is not how the sidebar preset editor behaves (recent presets are restored from previous session). |
Closes #5882, closes #5889.
This PR replaces the Point, Line, and Area buttons with a search bar where users select the feature type before drawing the feature. So far I've found this workflow much more satisfying in practice than the old buttons, but I'd love to hear user feedback!
Presets of different geometry are mixed together, so users don't need to know what geometry to draw in advance.
Presets with multiple geometries are expandable.
Mappers who prefer the old behavior can simply favorite the generic presets and map as before.
Details:
Tab focuses the search bar.1
To-do before release:
To-do eventually: