Add chat history and New chat controls below the composer#4133
Draft
bcotrim wants to merge 2 commits into
Draft
Conversation
…poser Co-authored-by: Shaun Andrews <191598+shaunandrews@users.noreply.github.com>
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.
Related issues
extract-site-centric-sidebar) — "add" half of the add-before-remove sequencing: this PR adds the session chat controls below the composer while the sidebar keeps its current chat sublists; a follow-up PR makes the sidebar site-centric.How AI was used in this PR
Claude Code adapted the session-chrome portion of @shaunandrews'
extract-site-centric-sidebarbranch onto trunk (his authorship is preserved viaCo-authored-by), and implemented the ⌘N accelerator fix. All changes reviewed by @bcotrim.Proposed Changes
We want chat access to live with the conversation rather than in the sidebar, and to discourage multiple concurrent chats per site. This PR adds a footer row below the composer in the agentic UI (
apps/ui) for sessions that belong to a site:CommandOrControl+Nto "File → Add Site…", which consumed the key before the renderer ever saw it — so the New chat shortcut could never work in the desktop app. When the agentic UI is active, the menu item no longer registers the accelerator (the item itself remains). The classic UI keeps ⌘N for Add Site unchanged.Testing Instructions
Enable the Agentic UI feature flag and open a chat session that belongs to a site:
Known gap (intentional, ships with the follow-up sidebar PR): with the sidebar collapsed the footer indents slightly to reserve space for the upcoming bottom-left sidebar control.
Pre-merge Checklist