perf(table): implement virtualized table list for improved performance#365
Closed
ifeelBALANCED wants to merge 14 commits intomainfrom
Closed
perf(table): implement virtualized table list for improved performance#365ifeelBALANCED wants to merge 14 commits intomainfrom
ifeelBALANCED wants to merge 14 commits intomainfrom
Conversation
|
This PR was not deployed automatically as @ifeelBALANCED does not have access to the Railway project. In order to get automatic PR deploys, please add @ifeelBALANCED to your workspace on Railway. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds schema-aware table list virtualization and a “current schema” sticky indicator to improve usability/performance when browsing large table sets in the database sidebar.
Changes:
- Introduces a
useActiveSchemahook to compute the “active” schema based on scroll position. - Adds
VirtualizedTableListusing@tanstack/react-virtualfor schemas with large table counts. - Adds a
StickyHeadercomponent and makes the active schema’s accordion trigger sticky when open.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| apps/desktop/src/routes/_protected/database/$id/table/-components/use-active-schema.ts | New hook to derive active schema id from scroll position and report whether it’s expanded. |
| apps/desktop/src/routes/_protected/database/$id/table/-components/tables-tree.tsx | Integrates virtualization, sticky trigger styling, and sticky header rendering into the tables tree UI. |
| apps/desktop/src/routes/_protected/database/$id/table/-components/sticky-header.tsx | New animated sticky header component showing the currently active schema. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rudra-Sankha-Sinhamahapatra
previously approved these changes
Feb 20, 2026
Collaborator
Rudra-Sankha-Sinhamahapatra
left a comment
There was a problem hiding this comment.
Looks Good
Contributor
|
@ifeelBALANCED 60fps 🔥 |
added 4 commits
February 20, 2026 22:58
22914cd to
229c5a9
Compare
…ablesTree component
Made-with: Cursor
…/wannabespace/conar into feat/schema-table-virtualization
…t/schema-table-virtualization
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.
Fixes #363
Description:
motion.div; ref callback no longer returns a value.top-2so it stays below the search field.2026-02-19.23.00.39.mov