Skip to content

fix(shortcuts): bind Steer/Queue toggle to Ctrl+S instead of Cmd+S#3709

Merged
trunk-io[bot] merged 1 commit into
mainfrom
posthog-code/steer-queue-toggle-ctrl-s
Jul 22, 2026
Merged

fix(shortcuts): bind Steer/Queue toggle to Ctrl+S instead of Cmd+S#3709
trunk-io[bot] merged 1 commit into
mainfrom
posthog-code/steer-queue-toggle-ctrl-s

Conversation

@tatoalo

@tatoalo tatoalo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Problem

The Steer/Queue messaging-mode toggle was bound to Cmd+S on macOS (via "mod+s"), which conflicts with the platform's save convention and is inconsistent across platforms. The toggle should use the literal Control key on all platforms.

Changes

  • Bind SWITCH_MESSAGING_MODE to ctrl+s instead of mod+s in packages/ui/src/features/command/keyboard-shortcuts.ts, so the toggle listens for Control/Ctrl+S everywhere instead of Cmd+S on macOS. The hotkey hint in the Steer/Queue tooltip updates automatically via formatHotkey.

SWITCH_MESSAGING_MODE used "mod+s", which maps to Cmd on macOS. Bind it to
the literal Ctrl key so the toggle is consistent across platforms (and not
Cmd-dependent on Mac).

Generated-By: PostHog Code
Task-Id: d892bbfc-d26c-4b72-ac04-fbe4c6e52a93
@trunk-io

trunk-io Bot commented Jul 22, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 4d71687.

@tatoalo tatoalo self-assigned this Jul 22, 2026
@tatoalo tatoalo added the Stamphog This will request an autostamp by stamphog on small changes label Jul 22, 2026
@tatoalo
tatoalo marked this pull request as ready for review July 22, 2026 14:09
@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "fix(shortcuts): bind Steer/Queue toggle ..." | Re-trigger Greptile

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Trivial one-line keybinding constant change matching the PR description exactly, no risky territory involved.

  • 👍 on the PR from greptile-apps[bot].
Gate mechanics and policy version
Gate Result
prerequisites all clear
deny-list no deny categories matched
size 2L, 1F substantive — within ceiling
tier T1-agent / T1a-trivial (2L, 1F, single-area, fix)
stamphog 2.0.0b3 .stamphog/policy.yml @ 79e156c · reviewed head 4d71687

@trunk-io
trunk-io Bot merged commit 8eebd51 into main Jul 22, 2026
41 checks passed
@trunk-io
trunk-io Bot deleted the posthog-code/steer-queue-toggle-ctrl-s branch July 22, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant