Skip to content

feat(web): Enter in an empty composer steers the next queued message - #18491

Closed
jagrat7 wants to merge 4 commits into
pingdotgg:mainfrom
jagrat7:feat/enter-to-steer-queued-message
Closed

jagrat7 wants to merge 4 commits into
pingdotgg:mainfrom
jagrat7:feat/enter-to-steer-queued-message

Conversation

@jagrat7

@jagrat7 jagrat7 commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

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:

  • From 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.
  • From 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.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 12, 2026

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants