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
@@ -320,7 +320,7 @@ define_keymap_actions! {
/// This is intentionally presentation-only: the returned string must never be
/// parsed back into an action name, because underscores and casing are part of
/// the stable config contract.
pub(super) fn action_label(action: &str) -> String {
pub(crate) fn action_label(action: &str) -> String {
if action == "change_host" {
return "Change Where to Run".to_string();
}