Skip to content

Add Cmd+Shift+1..9 to switch project to the opposite view#658

Merged
h0x91b merged 1 commit into
mainfrom
feat/dev3-cmd-shift-view-switch
Jun 15, 2026
Merged

Add Cmd+Shift+1..9 to switch project to the opposite view#658
h0x91b merged 1 commit into
mainfrom
feat/dev3-cmd-shift-view-switch

Conversation

@h0x91b

@h0x91b h0x91b commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds Cmd/Ctrl+Shift+1..9 as the mirror of the existing Cmd/Ctrl+1..9 project 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 the taskView route flag); from a task view it opens the target project's board.
  • Keyed on e.code (Digit1..Digit9) rather than e.key, because Shift+digit yields the shifted symbol (!, @, …) in e.key.
  • Intentionally ignores the dev3-task-open-mode preference — the explicit Shift means "give me the other view".

Notes

  • macOS reserves Cmd+Shift+3/4/5 for 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.
  • Verified against the UX manifest (expert_shortcut/keyboard class; no new visible controls or tokens). UX decision logged in docs/ux/UX_DECISIONS.md, plus decision record 068 and 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.

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.
@h0x91b h0x91b enabled auto-merge (squash) June 15, 2026 09:59
@h0x91b h0x91b merged commit 6268ccd into main Jun 15, 2026
4 checks passed
@h0x91b h0x91b deleted the feat/dev3-cmd-shift-view-switch branch June 15, 2026 10:00
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.

1 participant