From 91fc3e9d131d71c7b0e5b5ea8053d9cfc1b5e94e Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Fri, 31 Oct 2025 15:05:40 +0100 Subject: [PATCH] Implement Court Drawing Dialog and enhance activity management in DiaryView and PredefinedActivities Added a Court Drawing Dialog component to facilitate the creation and editing of drawing data for activities. Updated DiaryView.vue to include a button for opening the drawing dialog and handling the resulting data. Enhanced PredefinedActivities.vue to allow users to create or edit drawing data directly from the activity form, improving the overall user experience. Refactored related styles and logic for better integration and usability. --- .../src/components/CourtDrawingDialog.vue | 168 ++++++++++++++++++ frontend/src/components/CourtDrawingTool.vue | 73 +++++++- frontend/src/views/DiaryView.vue | 98 +++++++++- frontend/src/views/PredefinedActivities.vue | 89 ++++++---- 4 files changed, 386 insertions(+), 42 deletions(-) create mode 100644 frontend/src/components/CourtDrawingDialog.vue diff --git a/frontend/src/components/CourtDrawingDialog.vue b/frontend/src/components/CourtDrawingDialog.vue new file mode 100644 index 0000000..25ea8a9 --- /dev/null +++ b/frontend/src/components/CourtDrawingDialog.vue @@ -0,0 +1,168 @@ + + + + + + diff --git a/frontend/src/components/CourtDrawingTool.vue b/frontend/src/components/CourtDrawingTool.vue index 0c5d417..cf17f7a 100644 --- a/frontend/src/components/CourtDrawingTool.vue +++ b/frontend/src/components/CourtDrawingTool.vue @@ -96,7 +96,7 @@ Zielposition:
-
+
+ + @input="onNewItemInputChange" + style="flex: 1;" />