diff --git a/dashboard-frontend/src/pages/Alerts.tsx b/dashboard-frontend/src/pages/Alerts.tsx index b1d5e37..e6faa5c 100644 --- a/dashboard-frontend/src/pages/Alerts.tsx +++ b/dashboard-frontend/src/pages/Alerts.tsx @@ -194,7 +194,7 @@ function AlertHistoryTable({ 'packet_flood', ] - const severities = ['all', 'critical', 'warning', 'watch', 'info'] + const severities = ["all", "immediate", "priority", "routine"] return (
diff --git a/dashboard-frontend/src/pages/Notifications.tsx b/dashboard-frontend/src/pages/Notifications.tsx index 8cfb6cd..5556d55 100644 --- a/dashboard-frontend/src/pages/Notifications.tsx +++ b/dashboard-frontend/src/pages/Notifications.tsx @@ -274,7 +274,7 @@ const RULE_TEMPLATES = [ enabled: true, trigger_type: "schedule" as const, categories: [] as string[], - min_severity: "info", + min_severity: "routine", schedule_frequency: "daily" as const, schedule_time: "07:00", schedule_time_2: "", diff --git a/meshai/env/usgs.py b/meshai/env/usgs.py index fe9be6b..cb7d7f6 100644 --- a/meshai/env/usgs.py +++ b/meshai/env/usgs.py @@ -376,7 +376,7 @@ class USGSStreamsAdapter: flood_status = "Action Stage" # Fall back to legacy manual thresholds - if severity == "info": + if severity == "routine": threshold = self._flood_thresholds.get(site_id, {}).get(param_type) if threshold and value > threshold: severity = "priority"