Drop unwired shortcut hints from command overlay footer

Footer advertised `⌘↵ open in split` and `⇥ filter`, but neither is
plumbed through `on_command_overlay_key_down` — the dispatch only
handles up / down / enter. Per the no-fake-handlers rule a hint that
doesn't fire is worse than no hint, so trim the footer to just the
two shortcuts that actually work. The split/filter hints can come
back the moment the dispatch grows to handle them.
This commit is contained in:
2026-05-09 22:27:45 -04:00
parent cea5f650de
commit a6e08f6267
@@ -16,10 +16,12 @@ pub(crate) fn render_command_footer() -> AnyElement {
.text_size(px(10.5)) .text_size(px(10.5))
.text_color(rgb(colors::INK_3)) .text_color(rgb(colors::INK_3))
.bg(rgba(FOOTER_BG)) .bg(rgba(FOOTER_BG))
// Only the shortcuts that actually do something today.
// `⌘↵` (split-on-open) and `⇥` (filter) are real product
// features but not yet wired through the command overlay's
// key dispatch — listing them here would be a fake hint.
.child(footer_chunk("↑↓", "navigate")) .child(footer_chunk("↑↓", "navigate"))
.child(footer_chunk("", "open")) .child(footer_chunk("", "open"))
.child(footer_chunk("⌘↵", "open in split"))
.child(footer_chunk("", "filter"))
.child( .child(
div() div()
.ml_auto() .ml_auto()