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: multiselect support #782

Merged
merged 1 commit into from
Oct 17, 2024
Merged

feat: multiselect support #782

merged 1 commit into from
Oct 17, 2024

Conversation

alexfreska
Copy link
Member

@alexfreska alexfreska commented Oct 16, 2024

Video of how this works in next PR description: #783

  • Added useMultiSelect hook that tracks multiselect state. It supports selection, shift-selecting for ranges, deselection, and works across pagination.
  • Added MultiSelectMenu. The component can be used along with useMultiSelect for batch menus.
  • Table column sort icons are now chevrons to differentiate from context menus which often use carets.
  • Table now supports custom column heading components.
  • Checkbox now supports an indeterminate state.
  • Checkbox light mode background color is now white.

Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 2:38pm
explorer-zen ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 2:38pm
hostd ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 2:38pm
renterd ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 2:38pm
website ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 2:38pm

Copy link

changeset-bot bot commented Oct 16, 2024

🦋 Changeset detected

Latest commit: f619b23

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@siafoundation/design-system Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member Author

alexfreska commented Oct 16, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alexfreska and the rest of your teammates on Graphite Graphite

@alexfreska alexfreska force-pushed the feat_multiselect_support branch 2 times, most recently from 6a0eb54 to 69c3652 Compare October 16, 2024 17:51
Copy link
Member Author

alexfreska commented Oct 17, 2024

Merge activity

  • Oct 17, 10:37 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Oct 17, 10:38 AM EDT: Graphite rebased this pull request as part of a merge.
  • Oct 17, 10:39 AM EDT: A user merged this pull request with Graphite.

@alexfreska alexfreska merged commit d891861 into main Oct 17, 2024
13 of 33 checks passed
@alexfreska alexfreska deleted the feat_multiselect_support branch October 17, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants