Summary
You can't type a search in the command palette that starts with "c" or "p". The first keystroke runs a command instead of going into the box.
Where
apps/web/src/components/layout/GlobalCommandPalette.tsx, onInputKeyDown:
if (!e.ctrlKey && !e.metaKey && !e.altKey && e.key.length === 1 && query.trim() === '') {
const hit = filtered.find((c) => c.shortcut?.toUpperCase() === e.key.toUpperCase());
if (hit) { e.preventDefault(); hit.run(); return; }
}
Keydown fires before the input's onChange, so with an empty query the first letter is consumed. create-issue uses shortcut C and create-project uses P, so pressing "c" opens the create-work-item modal and "p" navigates to Projects.
Repro
Open the palette, press "c". The create-work-item dialog opens instead of "c" appearing in the search box.
Fix
Only treat a bare letter as a shortcut when it isn't going to land in the search field (for example require a modifier for these single-key shortcuts, or handle them on a separate surface).
Summary
You can't type a search in the command palette that starts with "c" or "p". The first keystroke runs a command instead of going into the box.
Where
apps/web/src/components/layout/GlobalCommandPalette.tsx,onInputKeyDown:Keydown fires before the input's onChange, so with an empty query the first letter is consumed.
create-issueuses shortcutCandcreate-projectusesP, so pressing "c" opens the create-work-item modal and "p" navigates to Projects.Repro
Open the palette, press "c". The create-work-item dialog opens instead of "c" appearing in the search box.
Fix
Only treat a bare letter as a shortcut when it isn't going to land in the search field (for example require a modifier for these single-key shortcuts, or handle them on a separate surface).