-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[DataGrid] Filtering performance: V7 API #9254
Conversation
Netlify deploy previewNetlify deploy preview: https://deploy-preview-9254--material-ui-x.netlify.app/ Updated pagesThese are the results for the performance tests:
|
packages/grid/x-data-grid/src/hooks/features/filter/gridFilterUtils.ts
Outdated
Show resolved
Hide resolved
I have a few small bugs to hunt down but the overall architectural changes match what I understood from our discussions in the experiment PR, so this is ready-ish for review. |
packages/grid/x-data-grid-premium/src/hooks/features/rowGrouping/createGroupingColDef.tsx
Show resolved
Hide resolved
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.
Thanks for splitting the larger PR.
The plan is to merge the PR now and get rid of the v6 code with v7, right?
packages/grid/x-data-grid-premium/src/hooks/features/aggregation/wrapColumnWithAggregation.tsx
Outdated
Show resolved
Hide resolved
packages/grid/x-data-grid-premium/src/hooks/features/rowGrouping/createGroupingColDef.tsx
Show resolved
Hide resolved
packages/grid/x-data-grid-premium/src/hooks/features/rowGrouping/gridRowGroupingUtils.ts
Outdated
Show resolved
Hide resolved
Yes, we get rid of code at v7. |
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.
Great work!
packages/grid/x-data-grid/src/hooks/features/filter/useGridFilter.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Andrew Cherniavskii <[email protected]> Signed-off-by: Rom Grk <[email protected]>
Co-authored-by: Andrew Cherniavskii <[email protected]> Signed-off-by: Rom Grk <[email protected]>
…nto perf-filtering-v7-filters
@cherniavskii I've finished linting and adding tests for filters & quick filters, if you wanna give this another look go ahead. |
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.
Nice!
packages/grid/x-data-grid/src/hooks/features/rows/gridRowsInterfaces.ts
Outdated
Show resolved
Hide resolved
I've opened #9511 to skip flaky tests in JSDOM. |
Includes points 1 & 9 from #9120.