Uh oh!
There was an error while loading. Please reload this page.
feat(chat): overhaul chat workspace with resizable artifact panel and modernized composer - #16
Merged
Conversation
This reverts commit 220c291.
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
Comprehensive overhaul of the Chat experience in Plot, introducing a resizable split-pane artifact workspace, rich agent activity cards, modernized landing composer, and a split copy / Markdown export dropdown toolbar.
Why
/chatwith Plot-aligned branding ("What should Plot create?") provides an intuitive starting point..mdfiles directly from the header toolbar in addition to copying to the clipboard.Changes
1. Resizable Split Workspace (
chat-active-workspace.tsx)role="separator") with min/max width bounds.2. Rich Agent Activity & Citations (
chat-activity.tsx,chat-source-citations.tsx)Read connected sources), source badges, relative/formatted timestamps, and interactive "Open artifact" action button.3. Artifact Export & Header Toolbar (
export-dialog.tsx,export-dialog.test.tsx)Copybutton with a split button (Copy+ChevronDown).Download .mdoption, click-outside detection, andEscapekey focus restoration.4. Chat Landing Page & Composer (
chat-home.tsx,chat-composer.tsx)/chatlanding view with a centered layout and brand-aligned headline "What should Plot create?".+) button, audio/send controls, and connected sources tray ({N} Connected Sources).rounded-full) across both landing and dock composers.5. Backend & Contract Support (
AgentRunQueryPersistence.kt,ChatAgentAdmissionService.kt,WorkSessionController.kt)6. Test Suite & Setup Polyfills (
chat-workspace.test.tsx,export-dialog.test.tsx,setup.ts)matchMediaandResizeObservertest setup polyfills insetup.ts.