Skip to content

Add a ⌘K bar to jump to any board, PR or command - #1493

Open
ketan0 wants to merge 1 commit into
mainfrom
cmdk-bar
Open

ketan0 wants to merge 1 commit into
mainfrom
cmdk-bar

Conversation

@ketan0

@ketan0 ketan0 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Why

People keep several workstreams going across repositories, and the sidebar's Recent list is not a reliable list of what to act on now. ⌘K pulls up any board or PR in a few keystrokes.

What changed

  • ⌘K (Ctrl+K off macOS) opens a host quick pick over every board in every repository and checkout. It is the same widget as ⌘P, so it works with focus in the sidebar, the title bar, Home or a board.
  • Matching: fuzzy match on title, repository, #PR and PR title, branch, and parent plan. Before you type, unread boards come first, then the ones viewed last, and the board on screen is left out.
  • Commands: New Whiteboard, Go Home, Settings and Theme….
  • PR links: pasting a GitHub PR link opens that PR's board, or creates one in a checkout of its repository. While the board is being created the bar shows busy; errors show inline.
  • Focus: opening a board now puts keyboard focus in it. This also affects boards opened from the sidebar and Home.

The ranking and PR-link logic lives in common/reviewGoToWhiteboard.ts with unit tests; the action in contrib/quickaccess/reviewGoToWhiteboard.contribution.ts wires it to the quick pick.

For reviewers

  • Outside code editors, upstream ⌘K chords such as ⌘K ⌘T no longer run; the bar offers Theme… instead. Inside a code editor, ⌘K chords still work.
  • The board list is read when the bar opens and does not refresh while it stays open.

Walkthrough board: https://app.dev.fast/s/MSEjt5xsxAFH22L1bFKpkFAfWo7El4SLdzxP2aV9vZc

Testing

  • pnpm lint, pnpm format, pnpm --filter @dev.fast/review-desktop typecheck, and the canvas typecheck pass.
  • Desktop unit tests (node --import tsx --test "code-oss/src/vs/review/**/*.test.ts"): 572 pass, including 5 new ones.
  • Checked by hand in an isolated Desktop: ⌘K from Home, a board, Settings and the sidebar field; keyboard only; Escape returns focus; PR links for an existing PR, a new PR, a repo with no checkout, and a PR GitHub can't find; light, dark, and a 520px window.
  • Not run: Code OSS's own eslint (its config fails to load in this checkout).

🤖 Generated with Claude Code

⌘K (Ctrl+K) opens a host quick pick over every board in every repository
and checkout: fuzzy match on title, repository, branch, PR and parent
board, unread and recent first. It also runs New Whiteboard, Go Home,
Settings and Theme, and a pasted GitHub PR link opens the PR's board or
creates it in a checkout of its repository. In a code editor ⌘K still
starts its chords.

A board's pane now focuses its host when the canvas surface cannot take
focus, so opening a board lands keyboard focus in it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: 01a0d12e-51ca-7230-9991-0ce7a73018b2

This branch has not been deployed

No deployments
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