You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(shortcuts): New Chat fires from composer + never reopens a pending send
Two review fixes:
- chat.new (⌘N/Ctrl+N) gains allowInInput: true so it fires while the chat
composer textarea is focused (the normal state when starting fresh) and
preventDefault stops the OS "new window" accelerator swallowing it.
- Lift the optimistic-send signal into Redux: chatRuntimeSlice gains
pendingSendThreadIds with mark/clear reducers, set synchronously the instant a
user sends (mirrored from Conversations' existing pending-send helpers, before
addMessageLocal is awaited). useNewChat now also excludes pending-send threads,
closing the earliest window where messageCount, messagesByThreadId and
streamingAssistantByThread are all still empty.
0 commit comments