mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-06-11 17:34:44 +02:00
itd_511: add configurable work zone broadcast gate + dashboard controls
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>
This commit is contained in:
parent
f75bf75378
commit
53decde03c
5 changed files with 206 additions and 121 deletions
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<script type="module" crossorigin src="/assets/index-KLGUZQYL.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-D045j2lq.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Dp9XCfH-.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue