fix(tui): show — for uptime when monitor is in maintenance #166

Merged
lerko merged 1 commits from fix/maint-uptime-display into main 2026-07-01 02:24:22 +00:00
Owner

Summary

  • Monitors in active maintenance now display instead of 0.0% for uptime
  • Applies to both main table UPTIME column and detail sidebar
  • 30d SLA bar unchanged (already correctly excludes maintenance)

Test plan

  • Navigate to a monitor in maintenance — UPTIME column shows
  • Open detail on that monitor — sidebar shows Uptime —
  • Non-maint monitors still show normal uptime percentage
## Summary - Monitors in active maintenance now display `—` instead of `0.0%` for uptime - Applies to both main table UPTIME column and detail sidebar - 30d SLA bar unchanged (already correctly excludes maintenance) ## Test plan - [x] Navigate to a monitor in maintenance — UPTIME column shows `—` - [x] Open detail on that monitor — sidebar shows `Uptime —` - [x] Non-maint monitors still show normal uptime percentage
lerko added 1 commit 2026-07-01 02:18:53 +00:00
fix(tui): show — for uptime when monitor is in maintenance
CI / test (pull_request) Successful in 1m57s
CI / lint (pull_request) Successful in 1m27s
CI / vulncheck (pull_request) Successful in 55s
f7303c946c
Monitors in active maintenance now display — instead of a misleading
0.0% uptime in both the main table and detail sidebar.
lerko merged commit f7303c946c into main 2026-07-01 02:24:22 +00:00
lerko deleted branch fix/maint-uptime-display 2026-07-01 02:24:22 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#166