From f7861cae6d50f5ac1dd0c905477b4f3ffa1e3718 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 --- .../mission-planning/ContextMenu.vue | 284 ++++ .../mission-planning/ScanDirectionDial.vue | 170 +++ src/components/widgets/Map.vue | 2 +- src/stores/mission.ts | 39 +- src/types/mission.ts | 42 + src/views/MissionPlanningView.vue | 1156 +++++++++++++---- 6 files changed, 1467 insertions(+), 226 deletions(-) create mode 100644 src/components/mission-planning/ContextMenu.vue create mode 100644 src/components/mission-planning/ScanDirectionDial.vue diff --git a/src/components/mission-planning/ContextMenu.vue b/src/components/mission-planning/ContextMenu.vue new file mode 100644 index 000000000..395106b83 --- /dev/null +++ b/src/components/mission-planning/ContextMenu.vue @@ -0,0 +1,284 @@ + + + + + diff --git a/src/components/mission-planning/ScanDirectionDial.vue b/src/components/mission-planning/ScanDirectionDial.vue new file mode 100644 index 000000000..54c7c8593 --- /dev/null +++ b/src/components/mission-planning/ScanDirectionDial.vue @@ -0,0 +1,170 @@ + + + + + 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(() => { }) -