feat(web-console): add column name search to Schema filter#478
Merged
bluestreak01 merged 6 commits intomainfrom Oct 3, 2025
Merged
feat(web-console): add column name search to Schema filter#478bluestreak01 merged 6 commits intomainfrom
bluestreak01 merged 6 commits intomainfrom
Conversation
* feat(web-console): enhance table filtering by including column matches * reduce number of requests, fetch details on demand, use information_schema columns --------- Co-authored-by: emrberk <[email protected]>
742a5dd to
45f5217
Compare
1b5c958 to
30a611b
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds column name search functionality to the Schema filter, enabling users to search for tables by column names in addition to table names. When column matches are found, the corresponding tables are automatically expanded to show the matching columns.
- Restructures column storage from array to table-keyed object for efficient lookups
- Implements lazy loading for symbol column details to improve performance
- Adds focus listener timeout (10s) to prevent excessive schema refreshing
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
packages/web-console/src/utils/questdb/client.ts |
Adds new method to fetch symbol column details on demand |
packages/web-console/src/store/Query/types.ts |
Changes columns storage from array to Record<string, InformationSchemaColumn[]> |
packages/web-console/src/store/Query/selectors.ts |
Updates selector to return Record type for columns |
packages/web-console/src/store/Query/reducers.ts |
Categorizes columns by table name in SET_COLUMNS action |
packages/web-console/src/scenes/Schema/index.tsx |
Adds focus listener timeout and column search logic |
packages/web-console/src/scenes/Schema/VirtualTables/utils.ts |
Refactors column node creation with lazy loading support |
packages/web-console/src/scenes/Schema/VirtualTables/index.tsx |
Implements column search filtering and symbol details fetching |
packages/web-console/src/scenes/Schema/Row/index.tsx |
Adds search highlighting and loading state support |
packages/web-console/src/scenes/Editor/Monaco/questdb-sql/createSchemaCompletionProvider.ts |
Updates completion provider to work with new column storage structure |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
bluestreak01
approved these changes
Oct 3, 2025
Vaibhav91one
pushed a commit
to Vaibhav91one/ui
that referenced
this pull request
Oct 28, 2025
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.
Uses #476
Resolves #363
SHOW COLUMNS FROM. The data is cached until a schema refresh