polyflowbuilder / polyflowbuilder

Official repository for the PolyFlowBuilder project at Cal Poly, SLO.
https://polyflowbuilder.io
GNU Affero General Public License v3.0
4 stars 2 forks source link

Clear current flowchart selections when clicking outside of a course #30

Open AGuyWhoIsBored opened 1 year ago

AGuyWhoIsBored commented 1 year ago

In many applications where you can select multiple UI elements, clicking outside these UI elements / "in the negative space" clears the current selections (e.g. file explorers in OS's like Windows and macOS). Since the introduction of the new course selection system, users may be used to the ability to reset course selections in this manner. This issue tracks the possible addition of this feature in the flowchart editor.

skyfenton commented 3 months ago

Definitely would be useful to have a way to deselect all, though maybe it should be more explicit than just clicking in negative space? It always sucks in interfaces when you go in and select a bunch of stuff, then misclick outside of some margin and accidentally deselect everything. Right click could be intuitive, but if we want to reserve that for a context menu some time in the future, might not be good to use now. Another good option might be to add a text element to say "x courses selected" alongside a button to cancel the selection. Either way, it'd be nice to avoid a deselect button being stuffed under a dropdown unless it's a dedicated context menu.