feat: add table search filter for PostgreSQL schema mode#132
Merged
debba merged 1 commit intodebba:mainfrom Apr 15, 2026
Merged
feat: add table search filter for PostgreSQL schema mode#132debba merged 1 commit intodebba:mainfrom
debba merged 1 commit intodebba:mainfrom
Conversation
Add search/filter functionality to PostgreSQL schema table lists, bringing feature parity with MySQL multi-database mode for improved user experience. Changes: - Add Search and X icons import from lucide-react - Add tableFilter state management - Implement case-insensitive table filtering logic - Add search input UI with search icon and clear button - Update table rendering to use filtered results - Show appropriate empty state messages (no tables vs no matches) The search box appears above the table list when tables exist, matching the UX pattern already present in MySQL database items and flat table layouts. Made-with: Cursor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Review NotesThe PR adds table search/filter functionality for PostgreSQL schema mode, matching the existing UX pattern used in MySQL multi-database mode ( Changes verified:
Reviewed by kimi-k2.5-0127 · 129,438 tokens |
Owner
|
It works as expected, thanks a lot for your contribution, I will merge it. |
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.
Summary
PostgreSQL schema mode lacks table search/filter functionality, while MySQL multi-database mode and flat layouts already have it. This creates an inconsistent user experience when working with large PostgreSQL schemas.
Changes
Frontend (React/TypeScript)
src/components/layout/sidebar/SidebarSchemaItem.tsx:SearchandXicon imports fromlucide-reacttableFilterstate for search inputfilteredTableswith case-insensitive filtering logicThe search box matches the UX pattern already present in:
SidebarDatabaseItem.tsx(MySQL multi-database mode)ExplorerSidebar.tsxflat layout (MySQL/SQLite single database)Screenshots
Before (no search box)
After (with search functionality)
Test plan