Fs table columns#4
Merged
Merged
Conversation
- Introduced a new command "postgres-explorer.showViewProperties" to display properties of database views. - Updated the command registration in extension.ts to handle view selection and connection validation. - Enhanced the TablePropertiesPanel to differentiate between tables and views, fetching the appropriate definitions. - Improved the notebook output UI with export options for CSV, Excel, and JSON formats, including a clear output button. - Refactored HTML and CSS for better layout and usability in the notebook output.
Contributor
There was a problem hiding this comment.
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Files not reviewed (1)
- package.json: Language not supported
Comments suppressed due to low confidence (2)
src/tableProperties.ts:5
- [nitpick] The parameter 'name' is ambiguous since it represents either a table or a view. Consider renaming it to 'objectName' for clarity.
public static async show(client: Client, schema: string, name: string, isView: boolean = false): Promise<void> {
src/notebookKernel.ts:312
- Consider adding a null-check to ensure that the element with id 'exportMenu' exists before attempting to modify its classList.
document.getElementById('exportMenu').classList.remove('show');
ric-v
added a commit
that referenced
this pull request
Dec 4, 2025
[WIP] Integrate with AI provider for actual responses
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.
This pull request introduces several enhancements and new features to the
postgres-explorerextension, including version updates, new commands, and improved logging. The most important changes are summarized below.Enhancements and New Features:
package.json: Updated the extension version to0.0.5, added a new commandpostgres-explorer.showViewProperties, and included new build scripts usingesbuildfor bundling and minification. Additionally, addedesbuildandwebpackdependencies. [1] [2] [3] [4]src/extension.ts: Introduced new logging statements for better debugging and added a new commandpostgres-explorer.showViewPropertiesto display properties of a database view. Improved the message handling in thePostgresKernelfor export commands. [1] [2]Codebase Improvements:
src/notebookKernel.ts: Enhanced thePostgresKernelclass by adding a message handler and logging statements to track the execution flow and debug issues more effectively. [1] [2]These changes collectively improve the functionality, maintainability, and debuggability of the
postgres-explorerextension.