fix(tui): clean pseudo-version in footer, rename Sites tab to Monitors
Strip Go module pseudo-version suffix (timestamp+hash+dirty) from the footer version string — shows "v0.1.0" instead of the full build metadata. Rename "Sites" tab and breadcrumbs to "Monitors" for consistency with README, CLI help, and user-facing docs.
This commit is contained in:
@@ -194,7 +194,7 @@ type tabEntry struct {
|
||||
|
||||
func (m Model) renderTabBar(stats dashboardStats) string {
|
||||
tabs := []tabEntry{
|
||||
{"Sites", stats.totalMonitors, stats.downCount + stats.lateCount},
|
||||
{"Monitors", stats.totalMonitors, stats.downCount + stats.lateCount},
|
||||
{"Alerts", len(m.alerts), 0},
|
||||
{"Logs", 0, 0},
|
||||
{"Nodes", len(m.nodes), stats.offlineNodes},
|
||||
|
||||
Reference in New Issue
Block a user