Skip to content

chat: show Alt key toggle for steer vs queue submit button icon#299225

Merged
connor4312 merged 1 commit intomainfrom
connor4312/299152
Mar 4, 2026
Merged

chat: show Alt key toggle for steer vs queue submit button icon#299225
connor4312 merged 1 commit intomainfrom
connor4312/299152

Conversation

@connor4312
Copy link
Member

  • When pressing Alt in the chat input, the submit button icon now toggles to match the alternative action (steer ↔ queue), following the standard VS Code pattern. Previously the icon never changed regardless of Alt state.
  • Fixes the issue where users couldn't visually confirm Alt+Enter would queue instead of steer

Fixes #299152

(Commit message generated by Copilot)

- When pressing Alt in the chat input, the submit button icon now toggles to match the alternative action (steer ↔ queue), following the standard VS Code pattern. Previously the icon never changed regardless of Alt state.
- Fixes the issue where users couldn't visually confirm Alt+Enter would queue instead of steer

Fixes #299152

(Commit message generated by Copilot)
Copilot AI review requested due to automatic review settings March 4, 2026 16:28
@connor4312 connor4312 enabled auto-merge (squash) March 4, 2026 16:28
@vs-code-engineering vs-code-engineering bot added this to the 1.111.0 milestone Mar 4, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the chat execute toolbar’s queue/steer split-button so that holding Alt visibly switches the primary button’s icon (and effective action) between Steer and Queue, aligning with VS Code’s standard “alternative action while Alt is held” pattern and addressing #299152.

Changes:

  • Listen to global modifier key state via ModifierKeyEmitter to detect Alt press/release.
  • Toggle the primary button’s label/icon/action between “Steer with Message” and “Add to Queue” based on the effective (Alt-inverted) action.
  • Update the initial primary button icon to reflect the configured default action (steer vs queue).

You can also share your feedback on Copilot code review. Take the survey.

@connor4312 connor4312 merged commit 359c772 into main Mar 4, 2026
24 checks passed
@connor4312 connor4312 deleted the connor4312/299152 branch March 4, 2026 16:47
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.

Pressing Alt doesn't cause the Steering vs Queueing icon to change

3 participants