Skip to content

Display keyboard shortcut labels next to commands in CommandPalette #580

Description

@Kingsman-99

Description

The CommandPalette lists available commands but does not show their associated keyboard shortcuts alongside them. Users cannot discover shortcut bindings from the palette, forcing them to consult external documentation.

Acceptance Criteria

  • Each command entry shows its keyboard shortcut (e.g. ⌘K, Ctrl+N) right-aligned in the row
  • Shortcut hints are rendered in a visually distinct <kbd> element
  • Commands with no binding show no shortcut hint
  • Existing tests continue to pass

Context

  • Target file: src/components/CommandPalette.tsx
  • Shortcut data lives in src/context/ShortcutRegistry.tsx

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions