Skip to content

Fix command palette arrow navigation and add shortcut hints - #10

Merged
DigitalPals merged 6 commits into
mainfrom
delegate/arrow-keys-and-shortcut-hints-in-npisx
Nov 6, 2026
Merged

DigitalPals merged 6 commits into
mainfrom
delegate/arrow-keys-and-shortcut-hints-in-npisx

Conversation

@DigitalPals

@DigitalPals DigitalPals commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Up/Down now move the command palette selection with wrap-around, and Enter runs that row. Hovering selects a row, searching or reopening resets selection, and keyboard navigation keeps the selected result in view. The palette handles Escape while the search input is focused and keeps keyboard events out of the screen underneath.

Rows show configured shortcuts when the command has one (currently Quick Connect), including custom alternatives and removed bindings. Selection uses the theme's selected background and focus ring. Hover responds only to real pointer movement so scrolling under a stationary pointer cannot override keyboard selection.

Validation:

  • ./run.sh check (includes Clippy across all targets with warnings denied)
  • cargo fmt --all -- --check
  • Focused library tests: command_palette, app::update::ui, app::tests, and keybindings, including the merged terminal shortcut regressions
  • Local desktop build and live keyboard/mouse checks, including wrapping, filtering, Enter, and Escape
  • 1440×900 before/after screenshots in Portal Default and Catppuccin Latte uploaded to Whombat, with a plain-language note for each changed area. PNGs are retained in the excluded .whombat/shots/ directory.

Adds 11 regression tests, including shortcut/hover rendering in all six themes. Portal Hub runtime code is unchanged.

@DigitalPals
DigitalPals merged commit 6302da0 into main Nov 6, 2026
9 checks passed
@DigitalPals
DigitalPals deleted the delegate/arrow-keys-and-shortcut-hints-in-npisx branch November 6, 2026 17:09
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.

2 participants