Show pending key chords in a shared floating shortcut guide (#60637)

## What changed

- Replace footer chord hints with a floating guide that shows available completions after a 350 ms delay, including custom prefixes.
- Share guide rendering across conversations, transcript overlays, the session picker, startup drafts, hook review, and daemon recovery. Preserve workspace-specific pane labels and filter startup drafts to supported actions.
- Adapt the guide to short inline viewports, retain `Esc` cancellation, and redraw when pending chords clear. Consume clicks on the guide so they do not activate controls beneath it.

## Testing

Extend tests and snapshots for delayed reveal, timeout, custom prefixes, compact and inline layouts, startup-safe completions, and picker redraws after chord completion or cancellation.

GitOrigin-RevId: afa2fe3ae1b5fbea4cd871c17d35206e749c842c
This commit is contained in:
Felipe Coury
2026-11-10 18:32:00 +00:00
committed by copyberry
parent df82e2fe0a
commit 4a784f63e8
34 changed files with 506 additions and 308 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ use crate::keymap::bindings_for_action;
use crate::keymap::keymap_action_id;
use crate::style::accent_color;
use actions::KEYMAP_ACTIONS;
use actions::action_label;
pub(crate) use actions::action_label;
use actions::binding_slot;
use actions::format_action_binding_summary;
#[cfg(test)]