feat(tasks): Cmd+Option+Left/Right to cycle task tabs - #99
Open
wise-toddler wants to merge 8 commits into
Open
Conversation
wise-toddler
marked this pull request as draft
June 26, 2026 19:13
wise-toddler
marked this pull request as ready for review
June 29, 2026 20:49
Contributor
Author
|
Hey @debuglebowski — could you take a look when you get a chance? 🙏 Quick notes:
Let me know if you'd like any changes 🙂 |
…wski#98) Original issue debuglebowski#98 asked for Cmd+1..9 as indexed jumps to the Nth task tab. The Chrome-style "Cmd+9 = last tab" branch was an over-interpretation of the spec. Restore Cmd+9 to indexed behavior: jump to the 9th task tab if it exists, otherwise no-op. - Delete the `last-task-tab` shortcut definition. - Drop the dedicated `last-task-tab` handler; extend the indexed handler from `mod+1..8` to `mod+1..9`. - Replace the "Cmd+9 = last" e2e test with an indexed-jump test (Cmd+3 with 3 tabs, Cmd+9 is a no-op).
…wski#98) Original issue debuglebowski#98 listed numeric jumps as a 'bonus'. User confirmed only Cmd+Option+Left/Right is wanted. Restored main's switch-tab-1-9 behavior verbatim.
wise-toddler
force-pushed
the
fix/task-tab-shortcuts
branch
from
July 26, 2026 23:25
cd0f300 to
6b8b3e0
Compare
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.
Summary
Cmd+Option+Left/Cmd+Option+Rightto cycle through open task tabs in the top tab bar (wrap-around at edges, skips the home tab).Closes
Closes #98
Notes on the diff
This branch also includes two small unrelated fixes that the typecheck on
maincurrently fails without:fix(transport): add missing resolve-task route stub— registers a 501 stub for the missing module imported byrest-api/index.ts.fix(app): add missing ws and @trpc/server deps for host-capability-server— adds runtime deps already used bypackages/apps/app/src/main/host-capability-server.ts.Happy to split these out into a separate PR if preferred.
Test plan
pnpm typecheckpassespnpm --filter @slayzone/app test:e2e e2e/core/16-tab-management.spec.ts— 11/11 pass, including 4 new cases for the shortcuts above.Cmd+Option+LeftandCmd+Option+Rightcycle through them and wrap at the edges.<select>.Greptile Summary
This PR adds task-tab cycling shortcuts for the app shell. The main changes are:
Confidence Score: 5/5
This looks safe to merge.
Important Files Changed
Reviews (3): Last reviewed commit: "fix(shortcuts): respect explicit null ov..." | Re-trigger Greptile
Context used: