feat(tui): polish pass — status bar, badges, detail panel, modals #10

Merged
lerko merged 3 commits from feat/tui-polish into develop 2026-05-16 17:04:27 +00:00
Owner

Summary

  • Status bar with colored UP/DOWN count and contextual key hints
  • Tab badges showing monitor count and DOWN/offline indicators
  • Detail panel (press i) showing full monitor info, probe results, wide sparkline
  • Delete confirmation in rounded bordered modal
  • Styled welcome/empty state when no monitors configured
  • Dynamic NAME column width scaling with terminal size (13-40 chars)

Test plan

  • go test ./... passes
  • Verify tab badges show count Sites (N) and turn to Sites (N↓) when monitors are down
  • Verify status bar shows colored UP count at bottom
  • Press i on a monitor — detail panel renders with all fields
  • Press d on a monitor — bordered modal appears
  • Delete all monitors — welcome box renders
  • Resize terminal — NAME column adjusts width
## Summary - Status bar with colored UP/DOWN count and contextual key hints - Tab badges showing monitor count and DOWN/offline indicators - Detail panel (press `i`) showing full monitor info, probe results, wide sparkline - Delete confirmation in rounded bordered modal - Styled welcome/empty state when no monitors configured - Dynamic NAME column width scaling with terminal size (13-40 chars) ## Test plan - [x] `go test ./...` passes - [ ] Verify tab badges show count `Sites (N)` and turn to `Sites (N↓)` when monitors are down - [ ] Verify status bar shows colored UP count at bottom - [ ] Press `i` on a monitor — detail panel renders with all fields - [ ] Press `d` on a monitor — bordered modal appears - [ ] Delete all monitors — welcome box renders - [ ] Resize terminal — NAME column adjusts width
lerko added 3 commits 2026-05-16 17:01:59 +00:00
Polish pass for TUI professionalism:
- Status bar replaces generic footer with live stats (UP/DOWN count,
  online probes) plus contextual key hints
- Tab badges show DOWN count on Sites tab and offline count on Nodes tab
- Detail panel (press i) shows full monitor info: URL, latency, uptime,
  SSL, probe results, sparkline — without entering edit mode
- Tab badges now always show count (Sites (12)), not just on failure
- Status bar UP count uses green/red coloring instead of subtle gray
- Delete confirmation wrapped in rounded border box with danger color
- Empty sites view shows styled welcome box with onboarding hint
- NAME column width scales with terminal width (13-40 chars)
lerko merged commit 95d43e33f0 into develop 2026-05-16 17:04:27 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#10