Skip to content

Saved query library & Connection safety features added#54

Merged
ric-v merged 4 commits intodev-asterix:mainfrom
ric-v:main
Feb 8, 2026
Merged

Saved query library & Connection safety features added#54
ric-v merged 4 commits intodev-asterix:mainfrom
ric-v:main

Conversation

@ric-v
Copy link
Member

@ric-v ric-v commented Feb 8, 2026

This pull request introduces a major new feature: an advanced Saved Queries system for PgStudio, enabling users to organize, manage, and reuse SQL queries with intelligent tagging, rich metadata, and seamless integration with notebooks. It also adds a dedicated UI, context menu actions, and improves query discovery and notebook integration. The update is reflected across documentation and the extension manifest, and includes a new details panel for viewing and managing saved queries.

Saved Queries System Enhancements:

  • Complete redesign of the saved queries feature, including tag-based organization, connection context preservation, AI-assisted metadata generation, and rich metadata display.
  • Addition of a new Saved Queries tree view in the extension sidebar, with context menu actions for copying, editing, opening in notebook, and deleting queries. [1] [2]
  • Implementation of a new SavedQueryDetailsPanel for viewing query details, metadata, and performing actions like copy and delete directly from the panel.

User Interface and Documentation Updates:

  • Updates to README.md and MARKETPLACE.md to describe the Saved Queries library, its features, and usage instructions. [1] [2] [3] [4]

Integration Improvements:

  • Enhanced notebook integration: saved queries now open directly in .pgsql notebooks with full connection metadata restored.

Extension Manifest Changes:

  • Addition of new commands for saved query actions and connection profile management in package.json, including UI commands and context menu integration. [1] [2]
  • Version bump to 0.8.2 and changelog update reflecting the new features. [1] [2]

These changes collectively deliver a professional-grade query management experience, making it easier for users to organize, discover, and reuse their most important SQL queries.

ric-v added 4 commits February 8, 2026 22:14
… queries, and performance analysis

- Added SqlExecutor enhancements to support profile-level auto-limit settings for queries.
- Introduced QueryAnalyzer with performance metrics extraction and recommendations based on execution plans.
- Updated connection form UI with improved icons for safety and security sections.
- Developed ProfileManager service for handling connection profiles with role-based settings.
… integration

- Improved SavedQueryTreeItem to display database name, connection name, and usage count in the description.
- Added rich tooltip with creation date, last used date, and tags for saved queries.
- Introduced TagTreeItem to categorize queries by tags, allowing for better organization and filtering.
- Updated SavedQueriesTreeProvider to handle displaying queries based on tags and untagged queries.
- Implemented SaveQueryPanel for saving and editing queries with AI-generated suggestions for titles, descriptions, and tags.
- Added SavedQueryDetailsPanel for viewing query details, including copy and delete functionalities.
- Enhanced SavedQueriesService to support updating existing queries and managing connection metadata.
@ric-v ric-v merged commit 3c0e945 into dev-asterix:main Feb 8, 2026
3 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant