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
2 changed files with 3 additions and 3 deletions
Showing only changes of commit adf46a1654 - Show all commits
+1 -1
View File
@@ -2,7 +2,7 @@ package monitor
import "time" import "time"
const maxHistoryLen = 30 const maxHistoryLen = 60
type SiteHistory struct { type SiteHistory struct {
Latencies []time.Duration Latencies []time.Duration
+2 -2
View File
@@ -211,8 +211,8 @@ func (m Model) dynamicWidths() (nameW, sparkW int) {
if sparkW < 10 { if sparkW < 10 {
sparkW = 10 sparkW = 10
} }
if sparkW > 40 { if sparkW > 60 {
sparkW = 40 sparkW = 60
} }
return return
} }