From 603180e3c51ca886f590df498c43c500a8aaed8f 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 +++ .../MissionPlanning/MissionPlanningView.vue | 1731 +++++++++++++++++ .../MissionPlanning/ScanDirectionDial.vue | 170 ++ src/views/MissionPlanningView.vue | 1029 ---------- 8 files changed, 2273 insertions(+), 1032 deletions(-) create mode 100644 src/views/MissionPlanning/ContextMenu.vue create mode 100644 src/views/MissionPlanning/MissionPlanningView.vue create mode 100644 src/views/MissionPlanning/ScanDirectionDial.vue delete mode 100644 src/views/MissionPlanningView.vue diff --git a/src/components/widgets/Map.vue b/src/components/widgets/Map.vue index 8e243cc1b..c8ff0eed2 100644 --- a/src/components/widgets/Map.vue +++ b/src/components/widgets/Map.vue @@ -592,7 +592,7 @@ const topProgressBarDisplacement = computed(() => { }) - diff --git a/src/views/MissionPlanning/MissionPlanningView.vue b/src/views/MissionPlanning/MissionPlanningView.vue new file mode 100644 index 000000000..8287eabdb --- /dev/null +++ b/src/views/MissionPlanning/MissionPlanningView.vue @@ -0,0 +1,1731 @@ + + + + + diff --git a/src/views/MissionPlanning/ScanDirectionDial.vue b/src/views/MissionPlanning/ScanDirectionDial.vue new file mode 100644 index 000000000..54c7c8593 --- /dev/null +++ b/src/views/MissionPlanning/ScanDirectionDial.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/MissionPlanningView.vue b/src/views/MissionPlanningView.vue deleted file mode 100644 index 2af360dc8..000000000 --- a/src/views/MissionPlanningView.vue +++ /dev/null @@ -1,1029 +0,0 @@ - - - - -