Skip to content

fix: route new-chat hotkeys through shared chat session state#4805

Merged
ComputelessComputer merged 6 commits intomainfrom
fix/chat-session-hotkeys
Mar 28, 2026
Merged

fix: route new-chat hotkeys through shared chat session state#4805
ComputelessComputer merged 6 commits intomainfrom
fix/chat-session-hotkeys

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented Mar 28, 2026

  • centralize persistent chat session identity, start, and select actions in shared chat state
  • route Cmd+N to start a fresh chat when the persistent composer is focused
  • keep the chat header new-chat and chat-selection flows aligned with the shared session state

- Return early from the context bar when there are no context chips
- Keep the add button available only once context is already present
- Hide the context bar entirely when there are no context chips
- Render the composer with full rounded corners when it is no longer attached to a context bar
- send the global shortcut to the persistent chat new-session action when the composer has focus
- centralize persistent chat session resets in shared chat state so the shortcut and header button stay in sync
- add chat state coverage for starting and selecting chat sessions
@ComputelessComputer ComputelessComputer changed the title fix: route chat hotkeys through shared session state fix: route new-chat hotkeys through shared chat session state Mar 28, 2026
Base automatically changed from fix/chat-ui-polish to main March 28, 2026 19:47
@ComputelessComputer ComputelessComputer merged commit 3b529b4 into main Mar 28, 2026
6 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/chat-session-hotkeys branch March 28, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant