fix(tui): quick wins batch — version footer, column widths, zebra, sparkline
- Show version in dashboard footer (wired from goreleaser ldflags) - Cap name column at 35, raise sparkline minimum to 15 chars - Preserve zebra background on group rows (was lost by style override) - Group sparkline uses bullet • instead of heavy circle ●
This commit was merged in pull request #60.
This commit is contained in:
@@ -131,9 +131,9 @@ func (m Model) groupSparkline(groupID int, width int) string {
|
||||
}
|
||||
for _, up := range aggregated {
|
||||
if up {
|
||||
sb.WriteString(specialStyle.Render("●"))
|
||||
sb.WriteString(specialStyle.Render("•"))
|
||||
} else {
|
||||
sb.WriteString(dangerStyle.Render("●"))
|
||||
sb.WriteString(dangerStyle.Render("•"))
|
||||
}
|
||||
}
|
||||
return sb.String()
|
||||
|
||||
Reference in New Issue
Block a user