feat(statuspage): use dynamic status-based accent colors and computed card statuses; update stat card markup and incident/response displays
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-12-23 - 1.3.0 - feat(statuspage)
|
||||
use dynamic status-based accent colors and computed card statuses; update stat card markup and incident/response displays
|
||||
|
||||
- Replace hardcoded stat-card type selectors with status-based classes (.operational, .degraded, .partial_outage, .major_outage, .maintenance) so accent colors are applied centrally.
|
||||
- Introduce getUptimeCardStatus, getResponseCardStatus, and getIncidentCardStatus helper methods to compute and apply per-card status classes based on uptime, response time, and affected services.
|
||||
- Update stat card markup to use computed status classes instead of dedicated uptime/response/incident class names.
|
||||
- Change incident summary text to show 'All services ok.' when no services are affected, otherwise display 'X of Y services affected'.
|
||||
- Minor layout tweak: adjust timeline connector left offset from 5px to 7px for improved alignment.
|
||||
|
||||
## 2025-12-23 - 1.2.0 - feat(statuspage-ui)
|
||||
improve styling and animations across status page components
|
||||
|
||||
|
||||
Reference in New Issue
Block a user