From 2d99dec11917e42167a46bb402ac5a81aed87e22 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 14 Sep 2024 18:32:51 +0200 Subject: [PATCH 1/2] Client - move description and notes edition in workout detail --- .../src/components/Common/CustomTextArea.vue | 5 +- .../Workout/WorkoutDetail/WorkoutContent.vue | 155 +++++++++++++++--- .../src/components/Workout/WorkoutEdition.vue | 17 +- .../src/store/modules/workouts/actions.ts | 31 ++++ .../src/store/modules/workouts/enums.ts | 5 + .../src/store/modules/workouts/getters.ts | 3 + .../src/store/modules/workouts/mutations.ts | 24 ++- .../src/store/modules/workouts/state.ts | 4 + .../src/store/modules/workouts/types.ts | 23 +++ fittrackee_client/src/types/workouts.ts | 13 ++ .../src/views/workouts/Workout.vue | 4 + 11 files changed, 255 insertions(+), 29 deletions(-) diff --git a/fittrackee_client/src/components/Common/CustomTextArea.vue b/fittrackee_client/src/components/Common/CustomTextArea.vue index 69fbd1996..d21bba878 100644 --- a/fittrackee_client/src/components/Common/CustomTextArea.vue +++ b/fittrackee_client/src/components/Common/CustomTextArea.vue @@ -16,7 +16,7 @@ diff --git a/fittrackee_client/src/components/Workout/WorkoutEdition.vue b/fittrackee_client/src/components/Workout/WorkoutEdition.vue index b16c696e9..6c79edd76 100644 --- a/fittrackee_client/src/components/Workout/WorkoutEdition.vue +++ b/fittrackee_client/src/components/Workout/WorkoutEdition.vue @@ -2,7 +2,10 @@