Skip to content
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

Enhance Feature List: Enable Multi-Selection via Search Results #10726

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Deeptanshu-sankhwar
Copy link
Contributor

Objective:
This enhancement addresses #10715 by enabling users to select multiple features directly from the search results in the Feature List. This functionality allows for efficient batch editing of attributes across multiple features.

Key Changes:

  • Implemented SHIFT+CLICK functionality within the Feature List to allow users to select or deselect multiple features.
  • Updated the click event handler to manage multi-selection logic, ensuring that:
    • Holding the SHIFT key while clicking toggles the selection state of a feature.
    • Clicking without the SHIFT key shows all the pre selected features is present, else just highlights the one selected feature.

Testing:

  • Verified that multiple features can be selected and deselected using SHIFT+CLICK in the Feature List.
  • Confirmed that selected features are appropriately highlighted on the map.
  • Ensured that selecting a single feature without holding SHIFT shows all previously selected features or focuses on the single chosen feature, if no other feature is previously selected.

Preview:
In the first run of the preview, I am holding SHIFT for the first three features in the dropdown and release it for the 4 feature thereby getting a selection of the selected 4 features. In the second run, I am just selecting one feature without any SHIFT key pressed.

Screen.Recording.2025-02-01.at.10.20.54.AM.1.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant