Skip to content

fix(ui): let the command palette search terms starting with c or p#357

Open
cavidelizade wants to merge 1 commit into
Devlaner:mainfrom
cavidelizade:fix/palette-typeable
Open

fix(ui): let the command palette search terms starting with c or p#357
cavidelizade wants to merge 1 commit into
Devlaner:mainfrom
cavidelizade:fix/palette-typeable

Conversation

@cavidelizade

Copy link
Copy Markdown
Contributor

Summary

With an empty query, a single keystroke that matched a command's shortcut ran the command and consumed the key. create-issue used C and create-project used P, so you couldn't type a search that started with either letter.

Linked issues

Closes #338

Type of change

  • Bug fix (fix:)

Surface

  • UI (apps/web/)

What changed

Removed the type-to-run shortcut handling in the palette input, so every printable character goes into the search box. The commands are still reachable by typing and pressing Enter (or clicking). Nothing else bound these single-key shortcuts, so no global accelerator is lost.

Test plan

  • npm run typecheck + npm run lint pass
  • Manual: open the palette and type "cy" or "pr" and it filters instead of firing a command

AI assistance

  • AI tools were used, tool(s): Claude Code (Opus 4.8), commits carry a Co-Authored-By: trailer

With an empty query, a single letter that matched a command's shortcut ran the
command and swallowed the keystroke, so "create-issue" (C) and "create-project"
(P) made it impossible to type a search beginning with those letters. Drop the
type-to-run shortcut handling so every character goes into the search box; the
commands are still one Enter (or click) away.

Closes Devlaner#338

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cavidelizade
cavidelizade requested a review from a team as a code owner July 16, 2026 20:49
@Devlaner Devlaner deleted a comment from coderabbitai Bot Jul 16, 2026
@martian56 martian56 assigned martian56 and cavidelizade and unassigned martian56 Jul 16, 2026
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.

Command palette can't search terms starting with 'c' or 'p'

2 participants