Skip to content

Feat/polish gating and feature gaps#106

Merged
ric-v merged 5 commits into
dev-asterix:mainfrom
ric-v:feat/polish-gating-and-feature-gaps
Jun 22, 2026
Merged

Feat/polish gating and feature gaps#106
ric-v merged 5 commits into
dev-asterix:mainfrom
ric-v:feat/polish-gating-and-feature-gaps

Conversation

@ric-v

@ric-v ric-v commented Jun 22, 2026

Copy link
Copy Markdown
Member

This pull request introduces several improvements and new features to device management, cloud sync, and the design system, along with enhancements to the extension's configuration and UI. The most significant changes include support for renaming devices, expanded notebook sync metadata, a new design system documentation, and numerous additions to the VS Code extension manifest for colors, commands, and menus.

Device management and sync improvements:

  • Added support for PATCH /api/sync/devices/:deviceId to allow devices to be renamed, with backend logic and validation ensuring only the current device can rename itself. (sync-devices.js, sync-db.js) [1] [2] [3]
  • Updated device binding logic to accept and persist a deviceName during license validation and device upsert, ensuring device names are correctly handled on conflict. (license-validate.js, license-db.js) [1] [2] [3]

Cloud sync and backup:

  • Clarified and expanded documentation on notebook sync, including folder paths and connection group metadata for improved cross-device layout. (CLOUD_SYNC.md)
  • Standardized cloud quota constants for sponsor and singularity accounts. (sync-quota.js)

Design system and UI:

  • Added a new DESIGN_SYSTEM.md documenting the PgStudio design system, including CSS token layers, component classes, and guidance for webview and renderer theming.
  • Added new color tokens and environment indicators (accent, prod, staging, dev) to package.json for theming and tree icon highlights.
  • Updated command palette and menus with new commands and icons for notebook folder management, connection grouping, pinning, and dashboard features. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Extension configuration:

  • Added setting to enable vector embeddings for semantic search in AI tools. (package.json)

These changes collectively enhance device usability, sync reliability, theming consistency, and extension feature discoverability.

ric-v and others added 5 commits June 19, 2026 19:52
…ame handling

- Added commands for creating, renaming, and moving notebook folders to improve organization within the notebook explorer.
- Updated the sync API to handle device name updates, ensuring user-friendly naming conventions for devices.
- Enhanced license validation to include device name management, improving user experience and clarity in device identification.
- Refactored existing sync handlers to accommodate new folder operations and device name functionalities, streamlining the overall codebase.
… and enhance theme support

- Design System: Centralized styling tokens, layout patterns, and CSS classes in templates/shared (documented in docs/DESIGN_SYSTEM.md)
- Webview Refactoring: Moved inline templates from TS panel files (SaveQueryPanel, SavedQueryDetailsPanel, tableProperties) into separate template directories (templates/saved-query-form, templates/saved-query-details, templates/table-properties)
- Template Loading: Added loadPanelTemplate in template-loader.ts to unify HTML/CSS/JS loading with CSP, nonce, and shared styling injection
- Tree Icons: Centralized tree icon mapping and environment badges in treeIconTheme.ts for DatabaseTreeProvider and NotebooksTreeProvider; registered custom brand/env colors in package.json
- Styling & Aesthetics: Implemented theme-aware Chart.js palettes and polished notebooks/panels with glassmorphism overlays and modern elevation shadows
- DB Indexing: Added IndexBuilder, IndexQueryService, IndexStore, and metadata analysis in src/features/dbindex to support database schema grounding.
- Wizard & Panel: Implemented a guided db index build wizard, panel controller, and accompanying webview templates under templates/dbindex.
- Commands: Registered commands and context menus for building, clearing, and opening the database index dashboard.
- Feature Gates: Introduced licensing tiers and quotas for DBIndex features (DbIndexBuild, DbIndexAuto, DbIndexMulti, DbIndexEmbed, AgenticModes) in featureGates.ts.
- Integration: Wired indexing into ChatViewProvider, DbObjectService, and automated background update schemas/polling services.
…exing

- Add agentic chat tools: ToolOrchestrator, ToolExecutor, ToolSpec for
  multi-turn DB tool calling in the AI assistant
- Add local embedding pipeline (localEmbedder) for offline dbindex builds
- Add NotebookIndexService to index .pgsql notebooks for discovery
- Enhance dbindex build wizard, query service, store, and lexical search
- Polish dashboard, tree icons, toolbar SVG icons, and status bar gating
- Update dbindex webview templates (UI, scripts, styles)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…n switching in AI assistant

- Assistant UI: Added collapsible displays for agentic steps (tool execution details) and RAG context in templates/chat.

- Tool Calling: Implemented select_connection_context tool in ToolExecutor allowing AI to switch target connection/database during chat sessions.

- Chat Webview: Extended ChatViewProvider & frontend with dropdown selectors for active connection/database, enabling direct context updates.

- Indexing & Settings: Refactored DbIndexPanel to delegate index actions to indexActions.ts, added settings hub handler for dbindex settings.

- Tests & Cleanup: Deleted outdated ChatViewProvider unit tests and updated AiService.test.ts.
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@ric-v is attempting to deploy a commit to the asterix-dev Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pg-studio Ready Ready Preview, Comment Jun 22, 2026 3:07pm

@ric-v ric-v merged commit 5989135 into dev-asterix:main Jun 22, 2026
4 of 15 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