feat: Individual columns should be sortable#29196
Merged
ling1726 merged 31 commits intomicrosoft:masterfrom Sep 21, 2023
Merged
feat: Individual columns should be sortable#29196ling1726 merged 31 commits intomicrosoft:masterfrom
ling1726 merged 31 commits intomicrosoft:masterfrom
Conversation
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| FluentProviderWithTheme | virtual-rerender-with-unmount | 80 | 72 | 10 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 628 | 600 | 5000 | |
| Button | mount | 319 | 305 | 5000 | |
| Field | mount | 1128 | 1108 | 5000 | |
| FluentProvider | mount | 701 | 674 | 5000 | |
| FluentProviderWithTheme | mount | 72 | 72 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 62 | 57 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 80 | 72 | 10 | Possible regression |
| InfoButton | mount | 13 | 11 | 5000 | |
| MakeStyles | mount | 864 | 854 | 50000 | |
| Persona | mount | 1723 | 1726 | 5000 | |
| SpinButton | mount | 1364 | 1374 | 5000 |
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f34031e:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 81d629fbc7206dab2bc2dd4878487a079601f396 (build) |
bsunderhus
approved these changes
Sep 21, 2023
...s/react-components/react-table/src/components/DataGridHeaderCell/DataGridHeaderCell.types.ts
Show resolved
Hide resolved
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Carry on of @kkakroo's work in #28633
DataGrid
The
sortableprop still needs to be set on theDataGridcomponent to enable sort features. However, any column definitions without a validcomparefunction will not have a sortable columnTable
TableHeaderCellnow supports asortableprop that can override the same prop on the parentTableFixes #28511