feat(workspace): add StudioWorkspace embeddable export#51
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Composes useConnectionAdapter, useQueryAdapter, and useTabManager hooks with existing Studio UI components to provide an embeddable IDE experience for the platform integration. Removes standalone headers, connection management modals, and command palette; gates optional features (AI, charts, code generator, test data, schema diagram, data import) behind WorkspaceFeatures flags. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…Nav from embedded mode
…4 compatibility in embedded mode
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…cification - Added `tsconfig.lib.json` for library configuration. - Updated `bun.lock` to include new dependencies and peer dependencies. - Created documentation for the StudioWorkspace composite export implementation plan and design specification. - Introduced new types and hooks for workspace management. - Enhanced global CSS for improved font scaling in the Studio IDE. - Refactored QueryEditor for better UI consistency and accessibility. This commit lays the groundwork for exporting the entire Studio workspace as a composite component, facilitating integration with the platform.
…QueryEditor component - Added instructions for building the @libredb/studio package after component changes. - Removed unused "Actions" section from the QueryEditor component for improved UI clarity.
…S entry Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…s and class names - Renamed test cases in QueryEditor to reflect updated button labels: 'Format', 'Copy', 'Clear', 'Lines', and 'AI'. - Adjusted assertions to check for new button text and modified keyboard shortcut hint format. - Updated SnapshotTimeline test to include 'truncate' class in label selection for accurate rendering checks.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
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.


Summary
@libredb/studio/workspaceexport — embeddable StudioWorkspace composite component for platform integration@libredb/studio/providers,@libredb/studio/types,@libredb/studio/componentspackage exportsbun run build:lib) for library distribution (ESM + CJS + types)useConnectionAdapter,useQueryAdapter) with full test coveragetext-label,text-caption, etc.)Test plan
bun run lintpassesbun run testpasses (unit + API + integration + hooks + components)bun run buildpasses (Next.js production build)bun run build:libgenerates dist/ correctly@libredb/studio/workspaceand render StudioWorkspace🤖 Generated with Claude Code