This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
feat(console-ai): ChatDock follow-ups — mobile sheet, wide side-by-side, exact collapse landing (ADR-0057 P3) - #2470
Merged
Merged
Conversation
…e properties, source-tab flatten, exact collapse landing, app default-agent in the dock - ChatDockMobileSheet: under md the dock presents as a bottom sheet (console: driven by dock.expanded; Studio: local state + a mobile-visible launcher) - Folded Studio layout on 2xl+ keeps canvas AND properties side by side (tabs + auto-switch only exist where width forces them) - Folded tabs mode flattens the source page's nested Source/Props tabs — the Properties tab body IS the code editor - Maximize handlers remember their origin (sessionStorage); /ai's collapse-to-dock returns exactly there (fallback: history back, /home); read side trusts only same-app absolute paths - ChatDockConversation honors app.defaultAgent via resolveSurfaceAgent, matching the FAB's old behavior Refs #2409 (ADR-0057 §P3 follow-ups) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This was referenced Jul 14, 2026
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.
Follow-up optimizations for the now-default-on ChatDock (#2467 P3c, #2469 go-live; epic #2409):
mdthe dock presents as a bottom sheet (ChatDockMobileSheet, same conversation/body contract as the rail) — the console FAB opens it, and Studio gains a mobile-visible edge launcher (ChatDockLauncherclassNameoverride). Previously flag-on mobile had no chat surface at all.studio-folded-inspector); the[Canvas | Properties]tabs and their auto-switch only exist where width forces them (2xl chosen over xl: with the ~420px dock + nav rail, xl left the canvas under ~400px).rememberDockReturnLocation, sessionStorage, same-app-absolute-path trust boundary on read);/ai's collapse-to-dock returns exactly there — console page or Studio surface — immune to in-page history churn (conversation switches push/ai/...entries, so blind history-back could land on a prior/aiURL). Fallback: history back, then/home. The button is now visible on mobile too (the sheet is its landing).app.defaultAgentthroughresolveSurfaceAgent(bounded to ask/build), matching the FAB's old behavior — an app pinningbuildnow gets the same product in the rail.Tests
chatDockReturnLocation.test.tsx(round trip + open-redirect trust boundary +armChatDockExpanded),ChatDockMobileSheetrender cases, updatedresolveCollapseToDockTarget(stored-path priority). 89 tests green across layout/console-ai/studio suites;tsc --noEmitclean.Browser proof (ADR-0054, local rig, default-on — no flag override needed)
/apps/setup/dashboard/system_overview; switched conversations on/ai(history churn), collapse landed EXACTLY back on the recorded page with the rail expanded./ai; collapse → back with the sheet open.[nav] [canvas] [properties] [chat]side-by-side, no tabs; 1280 = center tabs; mobile = edge launcher opens the sheet.matchMediachange events, which the embedded test browser doesn't emit on viewport override — same mechanism as the existinguseIsMobile; initial-load judgments verified at every width.)Refs #2409 · ADR-0057 §P3 follow-ups
🤖 Generated with Claude Code