refactor: AI chat panel layout shell#1074
Merged
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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
PR A of the chat panel redesign tracked in
docs/refactor/ai-chat-redesign.md. Layout-only — no provider behavior change. Slot for B-H follow-ups.Picker(.segmented)withDetailsandAI Chat. The window toolbar no longer carries any chat chrome.@mention,/slash commands, mode picker (Ask / Edit / Agent), model picker, history menu, new conversation, send/stop. Replaces the old in-content header.AIChatModeenum (ask/edit/agent) added toAISettings, persisted across launches. Mode picker writes to settings; does not yet gate provider behavior or tools (slated for PR D).@ObservationIgnoredremoved fromMainContentCoordinator.rightPanelStateso SwiftUI views insideNSHostingControllerre-render when the coordinator wires up the state on first display.MainWindowToolbar+AIChat.swift(no longer needed) andAIStarterPrompts.swift(chips removed).Test plan
Details | AI Chatsegmented picker at the top.@⌘Ask▾<model>▾...⏱✏︎↑.✏︎(new conversation),⏱(history) — both work as before.