VAPP-24: Dashboard: replace hardcoded Alerts KPI with real error count #27
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/dashboard-alerts-kpi-vapp-24"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
VAPP-24: Dashboard: replace hardcoded Alerts KPI with real error count
The dashboard KPI strip hardcoded
Kpi { label: "Alerts", value: "0" }, so it always read healthy. This derives the value from the event data the dashboard already fetches.Changes
EventSeverity::Error) in the last 24h from thelist_eventsresult the dashboard already loads. No new server fn. The server'seventsaction caps results, so this is "errors among recent events", not a global total (noted in a code comment)."err"arm on the existingKpiaccentprop.Linkto the Events page so clicking it lands on the evidence. Route state cannot carry the severity filter today, so it navigates to plain/events(explicitly allowed by the issue).Acceptance criteria
/events; route state cannot carry the filter today)just checkpassesRefs VAPP-24.