This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
refactor(console-ai)!: ADR-0057 final cleanup — remove chatDock flag + floating overlay + left Studio copilot - #2475
Merged
Conversation
… floating-overlay chat, and the left Studio copilot
The docked chat is the console's ONE chat presentation, unconditionally:
- Remove features.chatDock from the runtime config (it had already flipped to
default-on; the kill-switch retires with the code path it guarded).
- Delete ConsoleFloatingChatbot (the FAB-armed floating overlay, ~990 lines)
and its agentPicker helper; ConsoleChatbotFab becomes a small
dependency-free launcher ({ appLabel, onOpenDock }) that opens the dock
(on /home, where there is no shell to host a rail, it opens full-page /ai).
- Delete the legacy left StudioAiCopilot panel; the copilot's one home is the
right StudioChatDock. The ADR-0080 aiSlot injection seam is untouched.
- The runtime SDUI type:'chatbot' bubble (end-user apps) is unchanged (§4).
- Fix (mobile): remove the maximize button from the chat bottom sheet.
Navigating to /ai from an OPEN Radix sheet tore it down mid-close (the route
change unmounts the console synchronously, leaving the scroll-lock/overlay
un-released), so the destination landed blank-and-frozen — 'tap maximize →
the chat's just gone'. At 85svh the sheet is already the maximal mobile
chat; full-page /ai stays reachable via normal navigation.
Refs #2409 (ADR-0057 — implemented in full)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
Contributor
Author
|
Live mobile verification (ADR-0054) — booted the local rig, logged in, entered the env, resized to a phone viewport, opened the chat via the FAB:
So "tap maximize → the chat's just gone" can no longer happen. |
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.
The last step of ADR-0057 (epic #2409), after P3c #2467, go-live #2469, and follow-ups #2470. The docked chat is now the console's one chat presentation, unconditionally — the rollout flag and the code paths it guarded are gone.
What
features.chatDockis deleted from the runtime config. It had already flipped to default-on (feat(console-ai): ChatDock DEFAULT ON — flag becomes a kill-switch (ADR-0057 P3 go-live) #2469); the kill-switch retires together with the fallback it guarded.ConsoleFloatingChatbot(the FAB-armed overlay, ~990 lines) and itsagentPickerhelper are deleted.ConsoleChatbotFabis now a small dependency-free launcher ({ appLabel, onOpenDock }) that opens the dock. On/home— which has no shell to host a rail — it opens the full-page/ai(the dock maximized).StudioAiCopilotleft panel is deleted; the copilot's one home is the rightStudioChatDock. The ADR-0080aiSlotinjection seam (cloud edition) is untouched.type: 'chatbot'end-user bubble stays (ADR-0057 §4)./aifrom an open Radix sheet tore it down mid-close (the route change unmounts the console synchronously, so the scroll-lock/overlay never released) → the destination landed blank-and-frozen: "tap maximize → the chat's just gone." At 85svh the sheet is already the maximal mobile chat;/aistays reachable via normal navigation, and its collapse-to-dock returns to the sheet.Verification
tsc --noEmitclean across app-shell (the deletions leave no dangling imports);apps/consoleproduction build green.npx vitest runover layout / console / studio-design / runtime-config: 24 files, 113 tests green. Updated: the runtime-config test drops the flag case;ConsoleChatbotFab.test.tsxreflects the launcher-only FAB;ChatDock.test.tsxasserts the mobile sheet has no maximize button./aisame thread, Studio grid, mobile sheet, wide side-by-side, exact collapse landing).Closes #2409 (ADR-0057 implemented in full; ADR Status flipped to IMPLEMENTED IN FULL).
🤖 Generated with Claude Code