feat(flights): integrate mission-planner into Flights page

- Port mission-planner flight planning to main app (Tailwind, react-leaflet v5, react-i18next)
- Add FlightMap with click-to-add waypoints, draggable markers, polyline with arrows
- Add FlightParamsPanel with action modes, waypoint list (drag-reorder), altitude chart, wind, JSON import/export
- Add FlightListSidebar with create/delete and telemetry date
- Add collapsible left panel with quick action mode shortcuts
- Add work area / no-go zone drawing via manual mouse events (L.rectangle)
- Add AltitudeDialog and JsonEditorDialog (Tailwind modals)
- Add battery/time/distance calculations per waypoint segment
- Add satellite/classic map toggle and mini-map on point drag
- Add Camera FOV and Communication Addr fields
- Add current position display under location search
- Merge mission-planner translations under flights.planner.*
- Gitignore .superpowers session data
This commit is contained in:
Oleksandr Hutsul
2026-04-17 00:31:24 +03:00
parent 567092188d
commit 274800e508
21 changed files with 1489 additions and 131 deletions
+9
View File
@@ -9,17 +9,26 @@
"preview": "vite preview"
},
"dependencies": {
"@hello-pangea/dnd": "^18.0.1",
"chart.js": "^4.5.1",
"i18next": "^24.2.2",
"leaflet": "^1.9.4",
"leaflet-draw": "^1.0.4",
"leaflet-polylinedecorator": "^1.6.0",
"prop-types": "^15.8.1",
"react": "^19.0.0",
"react-chartjs-2": "^5.3.1",
"react-dom": "^19.0.0",
"react-i18next": "^15.4.1",
"react-leaflet": "^5.0.0",
"react-leaflet-draw": "^0.21.0",
"react-router-dom": "^7.4.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.1",
"@types/leaflet": "^1.9.17",
"@types/leaflet-draw": "^1.0.13",
"@types/leaflet-polylinedecorator": "^1.6.5",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",