This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
feat(console-ai): /ai = the ChatDock maximized + Studio right-dock reflow (ADR-0057 P3c) - #2467
Merged
Merged
Conversation
…R-0057 P3c) - ChatDockPanel: title/onMaximize/children props; useChatDockState options (defaultExpanded, persistExpandedKey) + canvas maximize/restore latch - ConsoleLayout: dock maximize → /ai; expanded state survives navigation - AiChatPage: flag-gated collapse-to-dock button (arms the rail, returns) - Studio: copilot extracted (StudioCopilotConversation) and re-hosted as the shared right dock (StudioChatDock); InterfacesPillar folds the inspector into center [canvas|properties] tabs when the dock owns the right side - All behind features.chatDock (default OFF) — flag off is pixel-identical Refs #2409 (ADR-0057 §P3) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ping - maximize() reads the width via a render-synced ref instead of a [width] dep — a changing handler identity re-fired consumers' canvas-open effect on every drag move and snapped the width back, fighting the user - changeset + ADR-0057 status/P3/open-Q5 updates (P3 shipped behind flag) Refs #2409 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
4 tasks
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This was referenced Jul 14, 2026
Merged
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Final P3 slice of ADR-0057 — epic #2409. Everything is behind the existing default-off
features.chatDockrollout flag; flag off →/ai, Studio, and the FAB are pixel-identical to today (verified in the browser, below).What
/ai⇄ rail continuity ("/ai = the dock maximized")ChatDockPanelheader gains a maximize button → opens/ai(ConsoleLayout wires it), which resolves the same app-less(user, product=ask)P1 scope — the same thread the rail shows./aipage gains a flag-gated collapse-to-dock button → arms the rail to mount expanded (sessionStorage,armChatDockExpanded) and returns to the page the user came from (resolveCollapseToDockTarget: history back, else/home)./ai/:agent/:conversationId(ADR-0013) untouched — routing and the conversation machinery stay inAiChatPage; resolves ADR open question 5.[left: nav/tree] [center: canvas + properties] [right: chat])StudioCopilotConversation; the flag-off leftw-96panel (StudioAiCopilot) renders it unchanged.StudioChatDock: the same package-scoped build thread hosted in the sharedChatDockPanelchrome on the RIGHT (default expanded; collapsed = theChatDockLauncheredge button; maximize →/ai/build?package=…, which resumes the sameapp:<pkg>:buildthread).InterfacesPillargainsfoldInspector: with the dock owning the right side, the inspector folds into center [Canvas | Properties] tabs (forceMountkeeps the runtime preview warm; purenextCenterTabauto-switches on selection edges and never fights a manual choice). Data/Automations pillars keep their in-center inspectors. An injectedaiSlot(cloud seam, ADR-0080) keeps the legacy left panel in all flag states.useChatDockStategains a latchedmaximize()/restore()— the rail auto-maximizes while the canvas is open and tucks back on close; a manual resize drag takes over (the restore then no-ops); guards cover ChatPane's mount-timeonCanvasOpenChange(false)and StrictMode.Tests
chatDockState.test.ts(maximizedDockWidth,parseStoredDockExpanded); newresolveCollapseToDockTarget.test.ts,centerTab.test.ts,ChatDock.test.tsx(chrome contract: children override / maximize button / collapse).npx vitest runoverconsole/ai/__tests__+layout/__tests__+studio-design/__tests__: 16 files / 82 tests green;tsc --noEmitclean.Browser proof (ADR-0054, local cloud rig,
--with-ui --prod-like --seed)Flag ON (temporary local parse override, reverted before commit —
grep TEMPclean):/ai, same thread: sent "P3c dock proof marker 8842" in the dock → maximize → landed on/ai/ask/conv_fcd1b6eb-…with the marker visible; collapse-to-dock → back on the dashboard with the rail expanded showing the same thread. Deep-linking that URL re-opens the thread.[nav tree] [Canvas|Properties center tabs] [AI copilot right dock]; Properties reachable via the center tab; dock collapse → edge launcher → re-expand; maximize →/ai/build/conv_504c…?package=com.objectstack.setup(same package thread, binding chip shows Setup)./aihas no dock affordance, Studio is the classic[left w-96 copilot] [canvas] [right w-72 inspector]— pixel-identical to today.Refs #2409 · ADR-0057 §P3 / §Decision 3 / open questions 1 & 5
🤖 Generated with Claude Code