fix(tui): show context-aware Enter hint in hotbar #164

Merged
lerko merged 4 commits from fix/hotbar-enter-hint into main 2026-07-01 00:11:49 +00:00
Owner

Summary

  • Hotbar [Enter]Detail now changes to [Enter]Expand or [Enter]Collapse when cursor is on a group row
  • Matches actual Enter key behavior (groups toggle collapse, monitors open detail)

Test plan

  • Navigate to a collapsed group — hotbar shows [Enter]Expand
  • Navigate to an expanded group — hotbar shows [Enter]Collapse
  • Navigate to a monitor — hotbar shows [Enter]Detail
## Summary - Hotbar `[Enter]Detail` now changes to `[Enter]Expand` or `[Enter]Collapse` when cursor is on a group row - Matches actual Enter key behavior (groups toggle collapse, monitors open detail) ## Test plan - [x] Navigate to a collapsed group — hotbar shows `[Enter]Expand` - [x] Navigate to an expanded group — hotbar shows `[Enter]Collapse` - [x] Navigate to a monitor — hotbar shows `[Enter]Detail`
lerko added 1 commit 2026-06-30 21:10:08 +00:00
fix(tui): show context-aware Enter hint in hotbar
CI / test (pull_request) Successful in 1m49s
CI / lint (pull_request) Successful in 1m12s
CI / vulncheck (pull_request) Successful in 50s
835844314e
When cursor is on a group row, hotbar now shows [Enter]Expand or
[Enter]Collapse instead of [Enter]Detail, matching actual behavior.
lerko added 3 commits 2026-07-01 00:01:39 +00:00
Enter now consistently opens the detail sidebar for both monitors and
groups. Group collapse/expand is Space-only. Hotbar shows [Space]Expand
or [Space]Collapse contextually when cursor is on a group row.
Enter now toggles detail sidebar open/closed with preference
persistence. Removes redundant i keybind that did the same thing.
Hotbar updated: [Enter]Detail when closed, [Enter]Close when open.
style(tui): accent keys, muted descriptions, dot separators in hotbar
CI / test (pull_request) Successful in 1m49s
CI / lint (pull_request) Successful in 1m17s
CI / vulncheck (pull_request) Successful in 56s
be14436701
Keys rendered in accent color, descriptions in muted. Dot separators
between items. No brackets. Faster to scan at a glance.
lerko merged commit be14436701 into main 2026-07-01 00:11:49 +00:00
lerko deleted branch fix/hotbar-enter-hint 2026-07-01 00:11:49 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#164