mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-06-11 09:24:44 +02:00
defaults.py: add work_zone_enabled (bool, default false), work_zone_min_severity (str, default Minor), work_zone_sub_types (json, default [road_works, lane_closed, road_closed]) to itd_511. incident_handler.py: replace hardcoded work_zone return None with adapter_config-driven gate. Resolve sub_type and event_sev before the work_zone check so severity and sub-type filters apply. Non-work-zone events keep the existing min_severity / enabled_categories / enabled_sub_types filters unchanged. Environment.tsx: add work_zone_enabled, work_zone_min_severity, work_zone_sub_types to Roads511Config. Load/save/discard wired. Work Zones section in roads511 panel with enable toggle, min severity dropdown, and sub-type checkboxes (visible only when enabled). Bundle: KLGUZQYL -> D045j2lq. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| hooks | ||
| lib | ||
| pages | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||