BS-JD-005 - Command palette polish and fuzzy matching #7

Open
opened 2026-06-06 01:45:45 -04:00 by Rbanh · 3 comments
Owner

Summary

Upgrade Ctrl+P into a fast launcher for commands, tools, panels, assets, and help.

Why

As editor capabilities grow, the command palette needs to become the low-friction entry point for both power users and discoverability.

Implementation notes

  • Add fuzzy matching and ranked results.
  • Include commands, tools, panels, selected assets, and help/documentation actions.
  • Use component/tool metadata for aliases and descriptions.
  • Keep keyboard navigation tight and predictable.

Acceptance criteria

  • Palette searches commands, tools, panels, assets, and help entries.
  • Results rank exact/alias matches above weak matches.
  • Enter executes, Escape closes, arrows move selection.
  • Disabled results explain why they cannot run.

Tests/docs

Unit test fuzzy ranking and command execution dispatch. Update README controls if shortcuts or visible behavior change.

## Summary Upgrade Ctrl+P into a fast launcher for commands, tools, panels, assets, and help. ## Why As editor capabilities grow, the command palette needs to become the low-friction entry point for both power users and discoverability. ## Implementation notes - Add fuzzy matching and ranked results. - Include commands, tools, panels, selected assets, and help/documentation actions. - Use component/tool metadata for aliases and descriptions. - Keep keyboard navigation tight and predictable. ## Acceptance criteria - [ ] Palette searches commands, tools, panels, assets, and help entries. - [ ] Results rank exact/alias matches above weak matches. - [ ] Enter executes, Escape closes, arrows move selection. - [ ] Disabled results explain why they cannot run. ## Tests/docs Unit test fuzzy ranking and command execution dispatch. Update README controls if shortcuts or visible behavior change.
Rbanh added this to the M0 - Foundation and polish seams milestone 2026-06-06 01:45:45 -04:00
Rbanh added the
roadmap:jackdaw
type:feature
priority:P1
area:viewport
labels 2026-06-06 01:45:45 -04:00
Author
Owner

Partially addressed in local commit 19c4d01 (Start M0 editor workflow polish).

Covered:

  • Command palette filter takes focus immediately on Ctrl+P.
  • First filtered command is selected.
  • Arrow keys cycle filtered commands.
  • Enter runs the selected command.
  • Escape closes the palette.
  • Mouse command clicks still work.

Still remaining for this ticket:

  • Fuzzy matching and ranked results.
  • Searching tools, panels, assets, and help entries.
  • Disabled-result explanations.
Partially addressed in local commit `19c4d01` (`Start M0 editor workflow polish`). Covered: - Command palette filter takes focus immediately on `Ctrl+P`. - First filtered command is selected. - Arrow keys cycle filtered commands. - Enter runs the selected command. - Escape closes the palette. - Mouse command clicks still work. Still remaining for this ticket: - Fuzzy matching and ranked results. - Searching tools, panels, assets, and help entries. - Disabled-result explanations.
Author
Owner

Additional partial progress in 19c4d01:

  • Ctrl+P now focuses the filter when opened.
  • First filtered command is selected by default.
  • Up/Down navigation and Enter execution work without needing to click the palette.

Remaining scope still open: fuzzy ranking, broader sources (tools/panels/assets/help), disabled reasons, match highlighting, and tests.

Additional partial progress in `19c4d01`: - Ctrl+P now focuses the filter when opened. - First filtered command is selected by default. - Up/Down navigation and Enter execution work without needing to click the palette. Remaining scope still open: fuzzy ranking, broader sources (tools/panels/assets/help), disabled reasons, match highlighting, and tests.
Author
Owner

M0 closeout triage: basic command palette focus/keyboard navigation shipped earlier, but fuzzy matching plus tools/panels/assets/help indexing remains broader UX polish. Carrying this to M5.

M0 closeout triage: basic command palette focus/keyboard navigation shipped earlier, but fuzzy matching plus tools/panels/assets/help indexing remains broader UX polish. Carrying this to M5.
Rbanh modified the milestone from M0 - Foundation and polish seams to M5 - Regression, docs, and first-hour UX 2026-06-06 05:08:04 -04:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Falling-Metal-Interactive/Blacksite#7
No description provided.