fix(prompt-input): unify steer/queue composer into a codex-style morphing button - #115
Merged
Conversation
…hing button Replace the separate abort button and floating "Adjust current work" dual-key chrome with a single Send/Stop button that morphs based on turn state, add Esc-to-stop while composing, and restyle queued-turn cards as floating, hover-revealed cards. The steerQueueEnterAction shortcut and queue/steer backend behavior are unchanged.
heath-s
approved these changes
Jul 7, 2026
astyfx
enabled auto-merge (squash)
July 8, 2026 03:13
# Conflicts: # src/components/ai-elements/prompt-input.tsx
This was referenced Jul 8, 2026
Merged
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
Redesign the Steer/Queue composer UX to match the Codex app / beui
agent-chat-inputstyle: one morphing Send/Stop button, no floating dual-key chrome, and prettier floating queued-turn cards.Changes
Fixes
prompt-input: replace the separate abort (OctagonX) button and the primary Send button with a single button that morphs to a filled Stop square when a turn is running and the composer is empty, and back to Send/Queue once text is presentprompt-input: remove the floating "Adjust current work" secondary button and its verbose dual-key tooltips/placeholders; keep thesteerQueueEnterActionsetting and the Enter/Tab shortcut behavior fully intactprompt-input: add Esc-to-stop while composing, so the turn can always be interrupted even when the composer has text and the button face shows Sendprompt-input: restyle queued-turn cards into lighter floating cards (rounded, soft shadow, backdrop blur, hover-revealed edit/delete controls, highlighted "Next to send" card) using semantic theme tokens for light/darkRefactors / Chores
steerQueueSecondary*locals and theCornerUpLeft/OctagonXimports; addSquareTest Evidence
bun run typecheckpasses cleanPromptInputcomponent (removed after verification), driving real DOM/keyboard events:onAbortEscstill callsonAborteven with a draft present (draft preserved)Enter/Tabstill submit with the correctqueue/steerintent per the configuredsteerQueueEnterActionNotes
Pure renderer UI/interaction change — steering/queue backend (
sendUserMessageintents,steerTurnenv gating, auto-flush) is untouched.