diff --git a/work/dashboard-frontend/src/pages/ActivityLog.tsx b/work/dashboard-frontend/src/pages/ActivityLog.tsx index 6709314..e3d93f0 100644 --- a/work/dashboard-frontend/src/pages/ActivityLog.tsx +++ b/work/dashboard-frontend/src/pages/ActivityLog.tsx @@ -62,20 +62,24 @@ const TABLE_LABELS: Record = { // hydro.py → "🌊 …" // swpc.py → "🧲 …" | "☀️ …" // quake.py → "🌐 …" -// nws.py / composer (legacy) → "⏳ WX: …" | "🌡️ …" (heat, PR #96) -// incident_handler.py (legacy) → "⚠️ Road Incident …" +// nws.py / composer (legacy) → "⏳ WX: …" | "🌡️ …" (heat) | "🌬️ …" | "⛈️ …" | "🌩️ …" +// incident_handler.py (legacy) → "⚠️ Road Incident …" | "🚫 Road Closed …" // NOTE: more-specific prefixes must appear before shorter ones that share a leading char. const TEXT_HINTS: Array<[string, string]> = [ ['🔥', 'Fire'], ['🚧', 'Traffic'], - ['⚠️ Road Incident', 'Traffic'], // legacy incident rows (⚠️ = U+26A0+FE0F) + ['⚠️ Road Incident', 'Traffic'], // legacy road-incident rows (⚠️ = U+26A0+FE0F) + ['🚫', 'Traffic'], // legacy road-closure rows ['⛷', 'Avalanche'], ['🌊', 'Hydro'], ['🧲', 'Space Wx'], ['☀️', 'Space Wx'], ['🌐', 'Quake'], ['⏳', 'Weather'], // legacy weather-watch rows: "⏳ WX: …" - ['🌡️', 'Weather'], // legacy heat-alert rows (PR #96 NWS heat format) + ['🌡️', 'Weather'], // legacy heat-alert rows (NWS heat format) + ['🌬️', 'Weather'], // legacy NWS wind/SPS rows: "🌬️ Special Weather Statement …" + ['⛈️', 'Weather'], // legacy NWS severe thunderstorm rows + ['🌩️', 'Weather'], // legacy NWS thunderstorm-update rows ] // Type/family tag derived from source_event_table, with text-prefix fallback