From 700af16a42191e93cba66a1993da90ddee534694 Mon Sep 17 00:00:00 2001 From: Arturo Manzoli Date: Wed, 13 Nov 2024 06:37:30 -0300 Subject: [PATCH] Views: Mission-planning: Add context menu and mission editing Signed-off-by: Arturo Manzoli --- src/components/widgets/Map.vue | 2 +- src/router/index.ts | 2 +- src/stores/mission.ts | 39 +- src/types/mission.ts | 72 ++ src/views/MissionPlanning/ContextMenu.vue | 260 ++++ .../MissionPlanningView.vue | 1071 ++++++++++++++--- .../MissionPlanning/ScanDirectionDial.vue | 165 +++ 7 files changed, 1424 insertions(+), 187 deletions(-) create mode 100644 src/views/MissionPlanning/ContextMenu.vue rename src/views/{ => MissionPlanning}/MissionPlanningView.vue (50%) create mode 100644 src/views/MissionPlanning/ScanDirectionDial.vue diff --git a/src/components/widgets/Map.vue b/src/components/widgets/Map.vue index 8a277df99..40cb56a34 100644 --- a/src/components/widgets/Map.vue +++ b/src/components/widgets/Map.vue @@ -571,7 +571,7 @@ const topProgressBarDisplacement = computed(() => { }) - diff --git a/src/views/MissionPlanningView.vue b/src/views/MissionPlanning/MissionPlanningView.vue similarity index 50% rename from src/views/MissionPlanningView.vue rename to src/views/MissionPlanning/MissionPlanningView.vue index 2af360dc8..a385581ad 100644 --- a/src/views/MissionPlanningView.vue +++ b/src/views/MissionPlanning/MissionPlanningView.vue @@ -1,6 +1,48 @@