-
Notifications
You must be signed in to change notification settings - Fork 78
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(table): add multi-sort columns to table #2336
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a7da975
chore(table): split Table/StatefulTable stories into folders
kevinsperrine b658da7
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine c0d345a
feat(table): added multi-sort column capabilities to table
kevinsperrine de6a883
feat(table): update snapshots for multi-sort table columns
kevinsperrine 9a90ff8
chore(table): added docs for multi-sort features
kevinsperrine 5ed565b
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 8475d25
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 317d3da
chore(repo): update snapshots
kevinsperrine 1687719
chore(table): cleanup table stories
kevinsperrine cb4f4d5
chore(storybook): update names of ListBuilder/MenuButton stories
kevinsperrine db1cc9f
fix(table-head): use i18n for multi-sort overflow menu name
kevinsperrine 8475e5b
feat(table): add i18n for overflow menu, remove console.logs
kevinsperrine 42f56d1
fix(table): maintain backwards compat. on custom sort
kevinsperrine dad4d39
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine f4b086b
fix(table): i18n fixes, better testing, and rtl for multi-sort columns
kevinsperrine 77cc164
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine a0d4eeb
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 8e54989
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 22ce9ab
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 8d31766
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 91c78ed
fix(table): switch sort to A tag to prevent button-in-button warning
kevinsperrine eb05264
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 9eb700f
fix(table): fix button in button when multi-sort is used
kevinsperrine f24a8fa
fix(table): use A tag when hasOverflow, too
kevinsperrine abdcbd9
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 6bf9eaf
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 715b1cb
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine 4321d82
Merge branch '1376-table-multi-sort' of github.com:carbon-design-syst…
kevinsperrine e9bfde5
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine bf12ebb
feat(table): multi-sort clearing, better modal ux, change sort direction
kevinsperrine 83bb4a8
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine a6333c4
feat(table): limit multi-sort to number of sortable columns
kevinsperrine f6518d2
fix(table): multi-sort modal rtl spacing
kevinsperrine e383c54
Merge branch 'next' into 1376-table-multi-sort
kevinsperrine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24,361 changes: 24,360 additions & 1 deletion
24,361
packages/react/src/components/MapCard/storyFiles/data.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need a new 28k library to just sort data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's only 28K unpacked. It's a 2K module, and yeah, it simplifies the experience significantly when sorting in various directions and orders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be very conservative about adding new libraries. I'm not saying, don't, but you should verify that this library is "blessed". ie, it in the IBM open source list of approved libraries (you can check the wicked system). When you add a new library, it has to get legal approval eventually. That is why I question importing a library to do a sorting, when that seems pretty trivial.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
our OM is looking into what is happening with our code scans we are supposed to have for teams to use. We will hopefully have an answer soon on when we can expect them.