Repository navigation
fix: Table editor no longer rebuilds all rows and the search index on every change - #2625
Draft
bprusinowski wants to merge 1 commit into
Draft
bprusinowski wants to merge 1 commit into
bprusinowski wants to merge 1 commit into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
bprusinowski
force-pushed
the
fix/table-editor-performance
branch
from
November 27, 2026 12:32
2d09956 to
a6cee55
Compare
bprusinowski
force-pushed
the
fix/table-editor-performance
branch
from
November 27, 2026 12:37
a6cee55 to
5b4538a
Compare
This branch had an error being deployed
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.
Not tied to a GitLab issue: large tables (e.g. "Popular initiatives", ~10k rows × 24 columns) froze the editor for over a second after every change.
This PR:
chartDataarray inuseChartDatawhen no interactive filter applies, so config changes that don't touch the data (e.g. opening column options) no longer copy every row and rebuild everything downstream; combo charts now sort a copy instead of sortingchartDatain placetable-state.tsx, which were rebuilt on every render and forced react-table to regroup and re-sort all rowstokenize: "full")Editor long tasks on "Popular initiatives" (dev build, Chromium):
Most of what remains in dev (~450 ms) is
@urql/devtools, which isn't in production builds. The first search now pays for building the index.How to test