From 6203ac383018124e24a4bcab96d1144fcecd8bc8 Mon Sep 17 00:00:00 2001 From: Manuel Meister Date: Fri, 19 Jan 2024 09:05:51 +0100 Subject: [PATCH 1/4] Add edit schedule entries ability to activity (cherry picked from commit c9cfe1362826cf25487850493e0dfc234f64bf29) --- .../src/components/activity/ScheduleEntry.vue | 16 +++++++++- .../components/program/DialogActivityEdit.vue | 32 ++++++++++++++----- .../components/program/DialogActivityForm.vue | 6 +++- frontend/src/scss/tailwind.scss | 4 +++ 4 files changed, 48 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/activity/ScheduleEntry.vue b/frontend/src/components/activity/ScheduleEntry.vue index 75b9afa3ee..0d0610ab31 100644 --- a/frontend/src/components/activity/ScheduleEntry.vue +++ b/frontend/src/components/activity/ScheduleEntry.vue @@ -164,7 +164,7 @@ Displays a single scheduleEntry - + Date: Sat, 20 Jan 2024 11:51:45 +0100 Subject: [PATCH 2/4] Move activity edit dialogs and simplify props (cherry picked from commit e726a7f513817fcf53ddadb86b326fa8f90f0877) --- .../src/components/activity/ScheduleEntry.vue | 6 ++-- .../dialog}/DialogActivityEdit.vue | 33 ++++++------------- .../dialog}/DialogActivityForm.vue | 2 +- .../dialog}/FormScheduleEntryItem.vue | 0 .../dialog}/FormScheduleEntryList.vue | 2 +- .../program/DialogActivityCreate.vue | 8 ++--- .../components/program/ScheduleEntries.vue | 5 ++- .../program/picasso/PicassoEntry.vue | 7 +++- frontend/src/locales/de.json | 8 +++++ frontend/src/locales/en.json | 8 +++++ frontend/src/locales/it.json | 8 +++++ frontend/src/locales/rm.json | 8 +++++ 12 files changed, 59 insertions(+), 36 deletions(-) rename frontend/src/components/{program => activity/dialog}/DialogActivityEdit.vue (79%) rename frontend/src/components/{program => activity/dialog}/DialogActivityForm.vue (95%) rename frontend/src/components/{program => activity/dialog}/FormScheduleEntryItem.vue (100%) rename frontend/src/components/{program => activity/dialog}/FormScheduleEntryList.vue (97%) diff --git a/frontend/src/components/activity/ScheduleEntry.vue b/frontend/src/components/activity/ScheduleEntry.vue index 0d0610ab31..3bcb03794b 100644 --- a/frontend/src/components/activity/ScheduleEntry.vue +++ b/frontend/src/components/activity/ScheduleEntry.vue @@ -203,9 +203,9 @@ Displays a single scheduleEntry