diff --git a/CHANGELOG.md b/CHANGELOG.md index 6224277..0f60d73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,90 @@ All notable changes to the PostgreSQL Explorer extension will be documented in t The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.4] - 2025-12-13 + +### Rebranding +- **Project Renamed**: The extension is now **PgStudio**! (formerly "YAPE" / "PostgreSQL Explorer"). +- Updated all documentation and UI references to reflect the new professional identity. + +### Added +- **Dashboard Visuals**: Added "glow" and "blur" effects to dashboard charts for a modern, premium look. +- **Improved Markdown in Chat**: SQL Assistant now renders rich Markdown tables and syntax highlighting correctly. + +### Improved +- **Notebook UX**: The "Open in Notebook" button now provides clearer feedback when no notebook is active. +- **Documentation**: Comprehensive updates to README and Marketplace page. + +## [0.5.3] - 2025-12-07 + +### Fixed +- Minor bug fixes and stability improvements +- Fixed linting errors and type issues across command files + +--- + +## [0.5.2] - 2025-12-06 + +### Changed +- **SQL Template Refactoring**: Extracted embedded SQL from TypeScript command files into dedicated template modules + - Created `src/commands/sql/` directory with 13 specialized SQL template modules + - Modules: columns, constraints, extensions, foreignTables, functions, indexes, materializedViews, schema, tables, types, usersRoles, views + - Improved code maintainability and separation of concerns + +--- + +## [0.5.1] - 2025-12-05 + +### Changed +- **Helper Abstractions Refactoring**: Refactored command files to use `getDatabaseConnection` and `NotebookBuilder` methods + - Updated `tables.ts`, `database.ts`, and `aiAssist.ts` to use new helper abstractions + - Improved code reusability and consistency across commands + +--- + +## [0.5.0] - 2025-12-05 + +### Added +- **Enhanced Table Renderer**: New `renderer_v2.ts` with improved table output styling +- **Export Data Functionality**: Export query results to CSV, JSON, and Excel formats +- **Column Operations**: Enhanced column context menu with copy, scripts, and statistics +- **Constraint Operations**: Enhanced constraint management with validation and dependencies +- **Index Operations**: Enhanced index management with usage analysis and maintenance scripts + +### Fixed +- Fixed persistent renderer cache issues +- Fixed excessive row height in table output +- Fixed chart initialization in dashboard + +--- + +## [0.4.0] - 2025-12-03 + +### Added +- **Inline Create Buttons**: Added "+" buttons for creating objects directly from category nodes + - Tables, Views, Functions, Types, Materialized Views, Foreign Tables, Roles, Extensions, Schemas, Databases +- **Enhanced Script Generation**: Improved CREATE script generation for indexes +- **Column Context Menu**: Added comprehensive column operations menu + +### Fixed +- Fixed connection UI button functionality +- Fixed index creation script visibility in context menu + +--- + +## [0.3.0] - 2025-12-01 + +### Added +- **Comprehensive Test Coverage**: Added unit tests for NotebookKernel with improved coverage +- **Serialization Error Handling**: Improved handling of serialization errors in query results + +### Changed +- Improved dashboard UI with pastel colors and modern styling +- Enhanced chart visualizations with area charts and translucent effects +- Fixed Cancel and Kill buttons in active queries table + +--- + ## [0.2.3] - 2025-11-29 ### Added diff --git a/MARKETPLACE.md b/MARKETPLACE.md index 8154e2a..a202118 100644 --- a/MARKETPLACE.md +++ b/MARKETPLACE.md @@ -1,10 +1,10 @@
-# 🐘 PostgreSQL Explorer +# 🐘 PgStudio ### *Professional Database Management for VS Code* -**A comprehensive PostgreSQL database management extension featuring interactive SQL notebooks, real-time monitoring dashboard, AI-powered assistance, and advanced database operationsβ€”all within VS Code.** +**PgStudio is a comprehensive PostgreSQL database management extension featuring interactive SQL notebooks, real-time monitoring dashboard, AI-powered assistance, and advanced database operationsβ€”all within VS Code.**
@@ -41,10 +41,11 @@ | πŸ› οΈ **Object Operations** | Full CRUD operations, scripts, VACUUM, ANALYZE, REINDEX | | πŸ€– **AI-Powered** | GitHub Copilot, OpenAI, Anthropic, and Google Gemini integration | | ⌨️ **Developer Tools** | IntelliSense, keyboard shortcuts, PSQL terminal access | +| πŸ“€ **Export Data** | Export query results to CSV, JSON, or Excel formats | --- -## 🎯 Why PostgreSQL Explorer? +## 🎯 Why PgStudio? @@ -121,11 +122,27 @@ Leverage AI to write, optimize, and debug your queries faster: - **Error Detection** β€” Real-time syntax and logical error detection - **Natural Language to SQL** β€” Describe what you need, let AI write the SQL +### πŸ›‘οΈ Safe AI Execution +PgStudio provides a **Safe Execution Model** for AI interactions. +- **Human-in-the-Loop**: AI generates the code, but it is **never executed automatically**. You review it in a notebook cell first. +- **Context Control**: You decide which tables the AI can see. + **Supported AI Providers:** - GitHub Copilot (VS Code LM) - OpenAI - Anthropic Claude - Google Gemini + +--- + +## 🎨 Rich Data Visualization + +Transform your data into insights without exporting to Excel. + +### Instantly Visualize Results +- **One-Click Charts**: Create Bar, Line, Area, and Pie charts from any query result. +- **Customizable**: Adjust log scales, use varied point styles, and control fill opacity. +- **Modern VFX**: Enable **Glow** and **Blur** effects for stunning, dashboard-ready visuals. - Custom Endpoints --- diff --git a/README.md b/README.md index 9851d2b..614d621 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-# 🐘 PostgreSQL Explorer +# 🐘 PgStudio ### *Professional Database Management for VS Code* @@ -9,7 +9,7 @@ [![Rating](https://img.shields.io/visual-studio-marketplace/r/ric-v.postgres-explorer?style=for-the-badge&logo=visual-studio-code&logoColor=white&color=F39C12)](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer) [![Status](https://img.shields.io/badge/status-beta-blue?style=for-the-badge&logo=git&logoColor=white)](https://github.com/dev-asterix/yape) -A comprehensive PostgreSQL database management extension featuring interactive SQL notebooks, real-time monitoring dashboard, AI-powered assistance, and advanced database operationsβ€”all within VS Code. +**PgStudio** (formerly YAPE) is a comprehensive PostgreSQL database management extension featuring interactive SQL notebooks, real-time monitoring dashboard, AI-powered assistance, and advanced database operationsβ€”all within VS Code. [πŸ“– **Documentation**](https://dev-asterix.github.io/yape/) β€’ [πŸ›’ **Marketplace**](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer) β€’ [🀝 **Contributing**](#-contributing) @@ -31,6 +31,34 @@ A comprehensive PostgreSQL database management extension featuring interactive S - 🌳 **Database Explorer** β€” Browse tables, views, functions, types - πŸ› οΈ **Object Operations** β€” CRUD, scripts, VACUUM, ANALYZE, REINDEX - πŸ€– **AI-Powered** β€” GitHub Copilot, OpenAI, Anthropic, Gemini +- πŸ“€ **Export Data** β€” Export results to CSV, JSON, or Excel + +--- + +## 🎯 Why PgStudio? + +
+ + + + +
+ +### 🎨 Modern Interface +- Beautiful, intuitive UI designed for developers +- Real-time dashboard with live metrics +- Context-aware operations +- Seamless VS Code integration + + + +### ⚑ Powerful Features +- Interactive SQL notebooks +- πŸ€– AI-powered Copilot & agentic support +- Advanced query management +- Complete CRUD operations + +
--- @@ -46,6 +74,7 @@ code --install-extension ric-v.postgres-explorer Then: **PostgreSQL icon** β†’ **Add Connection** β†’ Enter details β†’ **Connect!** + --- ## πŸ—οΈ Project Structure @@ -60,6 +89,13 @@ yape/ β”‚ β”‚ β”œβ”€β”€ functions.ts # Function operations β”‚ β”‚ β”œβ”€β”€ connection.ts # Connection commands β”‚ β”‚ β”œβ”€β”€ notebook.ts # Notebook commands +β”‚ β”‚ β”œβ”€β”€ helper.ts # Shared helper utilities +β”‚ β”‚ β”œβ”€β”€ sql/ # SQL template modules +β”‚ β”‚ β”‚ β”œβ”€β”€ tables.ts # Table SQL templates +β”‚ β”‚ β”‚ β”œβ”€β”€ views.ts # View SQL templates +β”‚ β”‚ β”‚ β”œβ”€β”€ functions.ts # Function SQL templates +β”‚ β”‚ β”‚ β”œβ”€β”€ indexes.ts # Index SQL templates +β”‚ β”‚ β”‚ └── ... # Other SQL templates β”‚ β”‚ └── ... β”‚ β”œβ”€β”€ providers/ # VS Code providers β”‚ β”‚ β”œβ”€β”€ DatabaseTreeProvider.ts # Tree view provider @@ -84,6 +120,37 @@ yape/ --- +## πŸ€– AI-Powered Operations + +PgStudio integrates advanced AI capabilities directly into your workflow, but keeps **YOU** in control. + +### Chat to Query (Natural Language β†’ SQL) +Describe what you need in plain English, and PgStudio will generate the SQL for you. +- **Context-Aware**: The AI understands your table schemas and columns. +- **Smart Suggestions**: Ask for "top selling products" and it knows to join `orders` and `products`. + +### πŸ›‘οΈ Safe Execution Model (Notebook-First) +We believe AI should assist, not take over. **No query is ever executed automatically.** +1. **Ask**: You ask a question in the side panel. +2. **Review**: The AI generates SQL code. +3. **Insert**: You click "Open in Notebook" to place the code into a cell. +4. **Execute**: You review the code and click "Run" when you are ready. + +--- + +## πŸ“Š Advanced Visualizations + +Turn any query result into beautiful, interactive charts in seconds. + +- **One-Click Charting**: Instantly visualize your data directly from the notebook results. +- **Customizable**: Toggle between Bar, Line, Pie, Doughnut, and Scatter charts. +- **Rich Data Display**: + - **Log Scale**: Easily analyze data with wide variances. + - **Blur/Glow Effects**: Modern, high-fidelity chart aesthetics. + - **Zoom & Pan**: Inspect detailed data points interactively. + +--- + ## πŸ› οΈ Local Development ### Prerequisites diff --git a/docs/CNAME b/docs/CNAME index 6030e38..8123bf2 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ -pgstudio.astrx.dev \ No newline at end of file +pgstudio.astrx.dev diff --git a/docs/index.html b/docs/index.html index 91c9994..49bff41 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,9 +4,9 @@ - PostgreSQL Explorer - Professional Database Management for VS Code + PgStudio - Professional Database Management for VS Code + content="PgStudio is a comprehensive PostgreSQL database management extension featuring interactive SQL notebooks, real-time monitoring dashboard, AI-powered assistance, and advanced database operations - all within VS Code."> - 🐘 YAPE - Yet Another Postgres Extension + 🐘 PgStudio + Professional Database Management @@ -51,7 +51,7 @@
VS Code Marketplace - 0.4.0 + 0.5.4
@@ -251,7 +251,32 @@

Developer Tools

+ + +
+
+
πŸ›‘οΈ
+

Safe AI Execution

+

AI assists, but you stay in control. No auto-execution.

+ +
+
+
πŸ“ˆ
+

Advanced Visualizations

+

Turn query results into insights instantly.

+ +
+
+ @@ -335,15 +360,14 @@

Schema Understanding