From 3664ddf6d7268778d620ddff113c8e3d0cc43a58 Mon Sep 17 00:00:00 2001 From: Reto Aebersold Date: Tue, 31 Oct 2023 11:20:21 +0100 Subject: [PATCH] feat: add rating colors --- .../components/dashboard/CourseStatistics.vue | 4 -- .../dashboard/FeedbackSummaryBox.vue | 15 +++- client/src/components/ui/RatingScale.vue | 68 ++----------------- .../dashboard/statistic/FeedbackList.vue | 27 +++++--- client/src/utils/ratingToColor.ts | 47 +++++++++++++ 5 files changed, 84 insertions(+), 77 deletions(-) create mode 100644 client/src/utils/ratingToColor.ts diff --git a/client/src/components/dashboard/CourseStatistics.vue b/client/src/components/dashboard/CourseStatistics.vue index 0fe23f6e..009d277c 100644 --- a/client/src/components/dashboard/CourseStatistics.vue +++ b/client/src/components/dashboard/CourseStatistics.vue @@ -28,10 +28,6 @@ defineProps<{ {{ $t("a.Durchführungen") }} - - - - diff --git a/client/src/components/dashboard/FeedbackSummaryBox.vue b/client/src/components/dashboard/FeedbackSummaryBox.vue index 37c2e1d8..30d8e264 100644 --- a/client/src/components/dashboard/FeedbackSummaryBox.vue +++ b/client/src/components/dashboard/FeedbackSummaryBox.vue @@ -1,20 +1,29 @@