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

Open
lerko wants to merge 3 commits from feat/persist-bottom-panel-scrollbar into main
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 - [ ] 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
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.
All checks were successful
CI / test (pull_request) Successful in 1m46s
Required
Details
CI / lint (pull_request) Successful in 1m16s
Required
Details
CI / vulncheck (pull_request) Successful in 56s
Required
Details
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/persist-bottom-panel-scrollbar:feat/persist-bottom-panel-scrollbar
git checkout feat/persist-bottom-panel-scrollbar
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