Skip to content

Fix Cmd+Enter steering of queued follow-ups - #924

Merged
justrach merged 4 commits into
release/v0.0.298from
fix/queued-command-enter
Sep 14, 2026
Merged

Fix Cmd+Enter steering of queued follow-ups#924
justrach merged 4 commits into
release/v0.0.298from
fix/queued-command-enter

Conversation

@yxlyx

@yxlyx yxlyx commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Cmd/Ctrl+Enter in a busy composer steers the next queued message, including when the composer is empty.
  • Leave unsent drafts and attachments untouched; retain ordinary Enter-to-queue behavior and existing desktop shortcuts outside queued steering.
  • Ignore legacy IME confirmation in the desktop shortcut handler.

Why

Modified Enter previously fell through to fullscreen instead of steering. Reusing the existing queue steerer keeps cancellation, queue editing guards, and queue draining on the same path as the Steer now action, rather than introducing a second dispatch path that could resend the message. The shortcut targets the next queued entry; selecting a different entry remains available through its existing action.

Verification

  • cd apps/native && bun run build — passed.
  • cd apps/native && bun run test:desktop — passed.
  • cd apps/native && bun run test:interactions — passed, including controlled-stream coverage for empty-composer steering, draft retention, chat isolation, IME/repeat guards, and exactly-once queued delivery.
  • scripts/eval-tier1.sh — passed through the tracked pre-push hook.
  • git diff --check — passed.
  • GitHub checks on the PR head — passed: desktop, native macOS GUI, SDK, Zig, and Windows.

Fixes #915

justrach and others added 4 commits September 13, 2026 08:35
Route Cmd/Ctrl+Enter in a busy composer to the existing queue steerer instead of fullscreen. Reuse its cancellation and queue-drain guards so the next queued message runs once without consuming an unsent draft. Leave ordinary Enter and other desktop shortcuts unchanged, and exclude legacy IME confirmation from desktop shortcuts.

Cover empty-composer steering, draft retention, chat isolation, and exactly-once dispatch through the composer interaction suite.
@yxlyx
yxlyx marked this pull request as ready for review September 14, 2026 10:10
@justrach
justrach changed the base branch from main to release/v0.0.298 September 14, 2026 11:47
@justrach
justrach merged commit 679d9c6 into release/v0.0.298 Sep 14, 2026
8 checks passed
@justrach
justrach deleted the fix/queued-command-enter branch September 14, 2026 12:06
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.

GUI: Cmd+Enter should steer an already queued message

2 participants