polish(tui): responsive column hiding #95

Merged
lerko merged 1 commits from polish/responsive-columns into main 2026-06-05 21:58:47 +00:00
Owner

Priority-based column dropping inspired by k9s. Columns hide progressively as terminal narrows:

  • Compact (<90 cols): #, NAME, STATUS, LATENCY — core identity + health
  • Medium (90-119): + TYPE, UPTIME, HISTORY — useful context
  • Wide (120+): + SSL, RETRIES — nice-to-have

Column definitions are data-driven via a siteColumns slice — single source of truth for headers, widths, and visibility thresholds. Row builder uses pickCols() helper so headers and cells stay in sync.

Closes #68

Priority-based column dropping inspired by k9s. Columns hide progressively as terminal narrows: - **Compact** (<90 cols): #, NAME, STATUS, LATENCY — core identity + health - **Medium** (90-119): + TYPE, UPTIME, HISTORY — useful context - **Wide** (120+): + SSL, RETRIES — nice-to-have Column definitions are data-driven via a `siteColumns` slice — single source of truth for headers, widths, and visibility thresholds. Row builder uses `pickCols()` helper so headers and cells stay in sync. Closes #68
lerko added 1 commit 2026-06-05 21:51:07 +00:00
polish(tui): responsive column hiding — 3-tier priority-based layout
CI / test (pull_request) Successful in 2m29s
CI / lint (pull_request) Successful in 57s
CI / vulncheck (pull_request) Successful in 46s
33dc84449b
Columns drop progressively as terminal narrows:
- Compact (<90): #, NAME, STATUS, LATENCY
- Medium (90-119): + TYPE, UPTIME, HISTORY
- Wide (120+): + SSL, RETRIES

Column definitions are data-driven via siteColumns slice.
Row builder uses pickCols() helper so headers and cells can't drift.

Closes #68
lerko added the polish label 2026-06-05 21:58:28 +00:00
lerko added this to the uptop project 2026-06-05 21:58:38 +00:00
lerko merged commit 33dc84449b into main 2026-06-05 21:58:47 +00:00
lerko deleted branch polish/responsive-columns 2026-06-05 21:58:47 +00:00
lerko moved this to To Do in uptop on 2026-06-05 22:49:36 +00:00
lerko moved this to In Progress in uptop on 2026-06-05 22:49:44 +00:00
lerko moved this to Done in uptop on 2026-06-05 22:49:46 +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#95