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

feat(list): support multi-selection #1080

Merged
merged 25 commits into from
Jan 13, 2025
Merged

feat(list): support multi-selection #1080

merged 25 commits into from
Jan 13, 2025

Conversation

PeterShershov
Copy link
Contributor

@PeterShershov PeterShershov commented Dec 18, 2024

This PR adds the support for multi-selected items in the List, ScrollList and Tree components.
It includes:

  • Refactor to the selectedIds state to support a string array.
  • Refactor to the "Scroll to Focus" mechanism
  • Support multi-selection using "Ctrl/Cmd" key
  • Support range-selection for "Shift" and keyboard/mouse navigation
  • Style the tree component in some boards, extract expected styles to a constants file and add new tests.

@PeterShershov PeterShershov changed the base branch from sagivd/list-multiselect to master December 18, 2024 11:18
@PeterShershov PeterShershov changed the title Peter/shift feat(list): support multi-selection Dec 18, 2024
@TheAlmightyCrumb TheAlmightyCrumb merged commit 3ce9a7f into master Jan 13, 2025
6 checks passed
@TheAlmightyCrumb TheAlmightyCrumb deleted the peter/shift branch January 13, 2025 14:10
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.

3 participants