spaxel/dashboard/css
jedarden c0416fee6c feat(dashboard): anomaly detection & security mode UI with WS consistency fix
- Add security status card with arm/disarm dialog, DISARMED/LEARNING/ARMED/ALERT
  badge, learning progress bar (N of 7 days), and last-anomaly summary line
- Add full-width alert banner with acknowledge button for armed-mode anomalies;
  acknowledged alerts disappear from banner but remain in history
- Add anomaly timeline panel (24h) with severity scores and timeline navigation
- Fix WS broadcast field names to match AnomalyEvent JSON/REST API:
  anomaly_type→type, timestamp_ms→RFC3339 timestamp so JS handles both
  WS pushes and polled history uniformly
- Fix formatTimeAgo() to parse RFC3339 string timestamps in addition to Unix-ms
- Fix fetchAnomalyCount() to use /api/anomalies?since=24h (structured response)
  instead of /api/anomalies/history (returns plain array)
- Add security-card detail area styling to anomaly.css
- Add BlobIdentityProvider wiring in zones API for people resolution in zone responses
- Add linkweather diagnostic engine tests (Rules 1-5 + helpers)

All go test ./... pass; go vet ./... clean.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 09:03:51 -04:00
..
_fix_html.py style(dashboard): complete CSS tokenization and add live-view grid layout classes 2026-04-24 15:14:40 -04:00
_tokenize.py style(dashboard): complete CSS tokenization and add live-view grid layout classes 2026-04-24 15:14:40 -04:00
ambient.css feat(dashboard): polish tap-to-jump UX and remove expert-mode gating 2026-04-24 23:16:56 -04:00
anomaly.css feat(dashboard): anomaly detection & security mode UI with WS consistency fix 2026-04-25 09:03:51 -04:00
apdetection.css style(dashboard): complete design token migration and live view cleanup 2026-04-24 16:39:53 -04:00
ble-panel.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
briefing.css feat(dashboard): polish tap-to-jump UX and remove expert-mode gating 2026-04-24 23:16:56 -04:00
command-palette.css feat(dashboard): polish tap-to-jump UX and remove expert-mode gating 2026-04-24 23:16:56 -04:00
explainability.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
fleet-page.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
floorplan.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
guided-help.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
home.css fix(dashboard): center home page max-width containers 2026-04-24 17:12:45 -04:00
integrations.css feat(dashboard): add axe-core accessibility CI gate for all dashboard pages 2026-04-24 18:31:17 -04:00
layout.css feat(dashboard): add axe-core accessibility CI gate for all dashboard pages 2026-04-24 18:31:17 -04:00
notifications.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
panels.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
quick-actions.css fix(dashboard): repair CSS syntax errors and complete token migration 2026-04-24 16:57:32 -04:00
replay.css fix(dashboard): CSS syntax fixes and timeline mode detection cleanup 2026-04-24 19:20:58 -04:00
scene.css chore(dashboard): remove last simple/expert mode remnants 2026-04-24 21:30:28 -04:00
security.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
simulator.css chore(dashboard): remove stale simple/expert mode references from CSS comments 2026-04-24 20:37:18 -04:00
sleep.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
timeline.css chore(dashboard): remove stale simple/expert mode references from CSS comments 2026-04-24 20:37:18 -04:00
tokens.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
troubleshoot.css feat(explainability): detection explainability overlay with per-link contributions, Fresnel zones, and BLE identity 2026-04-24 19:23:55 -04:00
wizard.css chore(dashboard): remove stale simple/expert mode references from CSS comments 2026-04-24 20:37:18 -04:00