Skip to content

feat(sidebar): ⌘N / ⌘⇧N new-thread shortcuts (#444) - #476

Merged
currentbits merged 1 commit into
mainfrom
coder/new-thread-keyboard-shortcuts-n-n-9d405d
Aug 18, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/new-thread-keyboard-shortcuts-n-n-9d405d

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Summary

Starting a thread used to mean hunting for the dim per-group button or the brand-row +. This adds the two hard-coded chords from #444 next to the existing sidebar jump-key handler.

  • ⌘N (Ctrl+N off Mac) follows the same path as the brand-row +. One project creates immediately. Several projects create in createTargetProject (open thread's project, else first) until the Header + compose: project picker when there are several projects #443 picker lands — handleBrandCreate is the hook that picker should take over so ⌘N opens it automatically.
  • ⌘⇧N always creates in createTargetProject.
  • Both chords are ignored when isShortcutBlocked (textarea / composer / dialog).
  • Keyboard sheet lists both rows.

No remappable keybindings, no command palette, no mod+shift+o alias.

Test plan

  • test/multiSelect.test.tsx — 13/13, including the new #444 suite (failed first, then passed)
  • Related sidebar suites (sidebar, orchestratorDefault, sidebarWorktreeCreate) — 61/61
  • tsc --noEmit exit 0
  • After Header + compose: project picker when there are several projects #443: ⌘N with several projects should open the picker instead of silently picking createTargetProject

Closes #444

  • PR created by the Grok agent

Hard-code the chords next to the existing jump-key handler. ⌘N shares
the brand-row + path (createTargetProject until the #443 picker).
⌘⇧N always creates in the open thread's project, else the first.
Both skip when isShortcutBlocked. Keyboard sheet lists both rows.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@currentbits
currentbits merged commit 2c756bf into main Aug 18, 2026
2 of 4 checks passed
@currentbits
currentbits deleted the coder/new-thread-keyboard-shortcuts-n-n-9d405d branch October 3, 2026 16:07
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.

New-thread keyboard shortcuts (⌘N / ⌘⇧N)

1 participant