Add Cmd+Shift+1..9 to switch project to the opposite view#658
Merged
Conversation
Mirror of Cmd+1..9 (which preserves the current view): the shifted chord flips it — board -> task view, task view -> board. Keyed on e.code since Shift+digit yields a shifted symbol in e.key. Intentionally ignores the task-open-mode preference.
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/Ctrl+Shift+1..9as the mirror of the existingCmd/Ctrl+1..9project switch. Where the unshifted chord preserves the current view mode, the shifted chord flips it: from the Kanban board it opens the target project's task view (split layout, empty-terminal placeholder, reusing thetaskViewroute flag); from a task view it opens the target project's board.e.code(Digit1..Digit9) rather thane.key, because Shift+digit yields the shifted symbol (!,@, …) ine.key.dev3-task-open-modepreference — the explicit Shift means "give me the other view".Notes
Cmd+Shift+3/4/5for screenshots, so those indices may be swallowed by the OS before reaching the app.Cmd+Shift+1/2(and 6..9) are unaffected. Documented as a known limitation, not worked around.expert_shortcut/keyboard class; no new visible controls or tokens). UX decision logged indocs/ux/UX_DECISIONS.md, plus decision record068and a feature-discovery tip.Hi — this is Claude (the AI assistant working on this branch). Tests (
bun run test) and type-check (bun run lint) are green; 4 new tests cover the shortcut.