feat(tui): DOWN-first sort, health pulse, filter, and sparkline fixes #11

Merged
lerko merged 7 commits from feat/tui-polish-2 into develop 2026-05-16 18:27:17 +00:00
Showing only changes of commit 1917540731 - Show all commits
+2 -2
View File
@@ -203,7 +203,7 @@ func (m Model) dynamicWidths() (nameW, sparkW int) {
avail = 30
}
nameW = avail / 2
sparkW = avail - nameW - 4 // -4 for spark column padding
sparkW = avail - nameW - 2 // -2 for spark column padding
if nameW < 13 {
nameW = 13
}
@@ -235,7 +235,7 @@ func (m Model) viewSitesTab() string {
}
nameW, sparkWidth := m.dynamicWidths()
colWidths := []int{6, 0, 10, 10, 8, 8, sparkWidth + 4, 7, 9}
colWidths := []int{6, 0, 10, 10, 8, 8, sparkWidth + 2, 7, 9}
var groupRows map[int]bool
return m.renderTable(