CUAHSI / CUAHSI/hydroprocess-db

Fix box selection behavior and add clear way to remove or change selection

Open
#82 0 comments 0 reactions 1 assignee Claimed by @MSDrao View on GitHub
bug documentation enhancement
Dominant language
Vue
Stars
0
Forks
0
Avg merge
1d 16h
Merged PRs (30d)
6

Description

Users should be able to **deselect** and **reselect** a new area after drawing a box on the map. Currently, this is not possible unless they click the "Clear All Filters" button, which can be confusing. It would be more intuitive to assign the selection and deselection of the drawn box to only a specific button and use the "Clear All Filters" button only for actions related specifically to the Filter Map.

Note that after drawing a box, clicking the draw button again shows a new label called "Cancel", but the button doesn't actually do anything. I expected it to remove the current box and allow me to draw a new one, but that behavior isn’t currently working.

Suggested improvements:

- [ ] Replace the “Cancel” label with “**Reset**” for clarity.
- [ ] Keep the Reset button **visible** and **active** whenever a selection exists.
- [ ] Ensure the Reset button can **clear the current selection**, allowing the user to draw a new box.
- [ ] This button should be the single control for managing the selection.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.