Compact graph columns and branch spacing and simplify Home hints
This commit is contained in:
@@ -40,7 +40,7 @@ func usageChart(days []protocol.DailyUsage) string {
|
||||
func (m Model) usageLines() []string {
|
||||
lines := []string{"Usage · all history"}
|
||||
if m.usage == nil {
|
||||
return append(lines, m.loading("Waiting for usage statistics…"), ":status server & ntfy · r all runs")
|
||||
return append(lines, m.loading("Waiting for usage statistics…"))
|
||||
}
|
||||
c := m.usage.RunCounts
|
||||
lines = append(lines, fmt.Sprintf("%d pipelines · %d runs · %d active · %s · avg completed %s", len(m.pipelines), c.Total, c.Active, successLabel(c), averageLabel(c)), fmt.Sprintf("Outcomes: %d succeeded · %d failed · %d canceled · %d interrupted", c.Succeeded, c.Failed, c.Canceled, c.Interrupted))
|
||||
|
||||
Reference in New Issue
Block a user