feat(tui): persist bottom panel + scrollbar improvements #173

Merged
lerko merged 3 commits from feat/persist-bottom-panel-scrollbar into main 2026-07-21 22:55:48 +00:00
Owner

Summary

  • Persist bottom panel preference (logs/maint/none) across restarts via store
  • Add scrollbar gutter to titledPanelH with block characters (█/░) and accent coloring
  • Auto-derive scrollbar from content overflow for detail panels
  • Extend scrollbar to logs and maintenance bottom panels
  • All scrollable panels now show scroll position indicator

Test plan

  • Toggle bottom panel (m/l), restart app, verify selection persists
  • Scroll monitors list — scrollbar thumb visible and tracks position
  • Open detail sidebar, scroll — scrollbar appears when content overflows
  • Focus logs panel, scroll — scrollbar tracks position
  • Verify scrollbar contrast against panel border across themes
## Summary - Persist bottom panel preference (logs/maint/none) across restarts via store - Add scrollbar gutter to titledPanelH with block characters (█/░) and accent coloring - Auto-derive scrollbar from content overflow for detail panels - Extend scrollbar to logs and maintenance bottom panels - All scrollable panels now show scroll position indicator ## Test plan - [x] Toggle bottom panel (m/l), restart app, verify selection persists - [x] Scroll monitors list — scrollbar thumb visible and tracks position - [x] Open detail sidebar, scroll — scrollbar appears when content overflows - [x] Focus logs panel, scroll — scrollbar tracks position - [x] Verify scrollbar contrast against panel border across themes
lerko added 3 commits 2026-07-02 15:09:20 +00:00
Save bottom_panel pref (logs/maint/none) to store on toggle.
Restore on startup via InitialModel, same pattern as detail_open.
Opt-in scrollbar track on the right border edge when totalItems > bodyH.
Thin track (│) with muted thumb (┃) showing viewport position.

Monitors panel passes len(sites) to enable it. Detail and fullscreen
panels pass 0 to opt out. Any panel can opt in via the totalItems param.
feat(tui): improve scrollbar visibility and extend to all panels
CI / test (pull_request) Successful in 1m46s
CI / lint (pull_request) Successful in 1m16s
CI / vulncheck (pull_request) Successful in 56s
1cfa0571c8
Use block characters (█/░) with accent coloring for scrollbar thumb/track
instead of box-drawing chars that blend with panel borders. Auto-derive
scrollbar from content overflow in titledPanelH. Add scrollbar to logs
and maintenance bottom panels.
lerko merged commit 1cfa0571c8 into main 2026-07-21 22:55:48 +00:00
lerko deleted branch feat/persist-bottom-panel-scrollbar 2026-07-21 22:55:48 +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#173