Skip to content

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

@igarousi

Description

@igarousi

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions