Commit 60733e0
committed
feat(console): asset onboarding/retire, health, coverage + ETA layers; Summit.OS WS/HTTP integration - API: add POST /api/v1/nodes/register, DELETE /api/v1/nodes/{id}, GET /api/v1/coverage; normalize paths to /api/v1/* - State/WS: asset store w/ ONLINE→STALE→OFFLINE via heartbeats; singleton timer w/ cleanup; retire marks shared state; coverage refresh on coverage_updated - Map: coverage layer (client-side union via @turf/turf) + hover tooltip (id, DEM, updated_at); ETA isochrones for drones/UGVs w/ separate toggles; auto-zoom event; remove mock telemetry trails - UI: Add Tower inline form (optimistic zoom + coverage refresh); Retire action; toast notifications replace alert(); settings panel (DEM version, tower FOV presets, bitrate cap, geofence, mission risk gate) - Chore: add @turf/turf dependency; remove unused wsUrl Env: - NEXT_PUBLIC_API_URL, NEXT_PUBLIC_WS_URL, NEXT_PUBLIC_MQTT_WS_URL - Optional: NEXT_PUBLIC_DRONE_SPEED_MS, NEXT_PUBLIC_UGV_SPEED_MS, NEXT_PUBLIC_STALE_MIN, NEXT_PUBLIC_OFFLINE_MIN Refs: WildFire Ops implementation prompt
1 parent f725689 commit 60733e0
13 files changed
Lines changed: 819 additions & 253 deletions
File tree
- apps/console
- src
- app
- components
- map
- panels
- ui
- lib
- store
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| 199 | + | |
196 | 200 | | |
197 | 201 | | |
198 | 202 | | |
| |||
364 | 368 | | |
365 | 369 | | |
366 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
367 | 380 | | |
368 | 381 | | |
369 | 382 | | |
| |||
641 | 654 | | |
642 | 655 | | |
643 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
644 | 661 | | |
645 | 662 | | |
646 | 663 | | |
| |||
1102 | 1119 | | |
1103 | 1120 | | |
1104 | 1121 | | |
| 1122 | + | |
1105 | 1123 | | |
1106 | 1124 | | |
1107 | 1125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
35 | 48 | | |
36 | 49 | | |
37 | 50 | | |
| |||
0 commit comments