Repository navigation
Conversation
Member
|
Note This comment is posted by Julius' dot This makes Enter in an empty composer steer a queued message by default, while the Steer button and configurable shortcut already provide that action. This changes the composer workflow and needs prior maintainer approval, which isn't linked here. Closing for missing scope approval. Please discuss the extra Enter behavior in Ideas and link explicit approval before requesting reconsideration. |
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.
Problem
After queueing a follow-up, pressing Enter in the empty composer does nothing. Steering that message into the active turn requires the Steer button or a separate shortcut.
Change
Let plain Enter in an empty composer steer the oldest queued message through the existing queue control. With Follow-up behavior set to Queue, Enter queues the draft and Enter again steers the queue front once it is available.
The tooltip advertises Enter only at desktop widths when the Send shortcut setting allows it. The existing Steer keybinding remains available. Enter still saves queued edits, expired terminal context still shows its warning, and Cmd/Ctrl+Enter retains its existing behavior.
Scope is the shared web/desktop composer and its user documentation: 21 insertions and 5 deletions across two files. Native mobile, provider adapters, and wire contracts are unchanged.
Verification
Checks run on October 8 against the submitted commit,
8060b4226990501bd8b89b7f7c0fee1d5cda42ae:apps/web:vp test run src/components/chat/QueuedRunsControl.test.tsx src/composer-logic.test.ts src/keybindings.test.ts— 229 tests passed across 3 files, covering queue controls and keyboard logic.apps/web:vp run typecheck— passed.vp lint apps/web/src/components/ChatView.tsx— no errors; warnings reported.vp fmt --check apps/web/src/components/ChatView.tsx docs/user/composer.md— passed.Manual checks on the preceding implementation commit used a local web dev build with Codex: Enter queued a draft, another Enter steered it, and this worked for a second queued message. Ctrl+Enter in the empty composer left the queue untouched. Enter saved a queued edit without steering it, and the edit survived reload. Those manual checks preceded the final simplification; Electron and remote connections were not separately tested.
A very fast second Enter can do nothing while submission is in flight or before the queued message appears. Pressing Enter again after the message appears steers it; no deferred steer intent is stored.
Implementation: Claude Opus 5.5 through Claude Code, with follow-up changes through Codex. PR preparation: GPT-6 Astra through the Codex harness in T3 Code.