From 3244f3f86d1e8c09e0fd49f43c49f0a3aa8b85ab Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 25 Apr 2023 12:35:46 +0200 Subject: [PATCH] feat(webapp): group categories on posts --- .../CategoriesSelect/CategoriesSelect.vue | 145 +++---- .../ContributionForm/ContributionForm.vue | 367 +++++++++--------- 2 files changed, 264 insertions(+), 248 deletions(-) diff --git a/webapp/components/CategoriesSelect/CategoriesSelect.vue b/webapp/components/CategoriesSelect/CategoriesSelect.vue index 4f7a555a3..5d6963d36 100644 --- a/webapp/components/CategoriesSelect/CategoriesSelect.vue +++ b/webapp/components/CategoriesSelect/CategoriesSelect.vue @@ -10,9 +10,9 @@ :icon="category.icon" size="small" v-tooltip="{ - content: $t(`contribution.category.description.${category.slug}`), - placement: 'bottom-start', - }" + content: $t(`contribution.category.description.${category.slug}`), + placement: 'bottom-start', + }" > {{ $t(`contribution.category.name.${category.slug}`) }} @@ -20,75 +20,82 @@ diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 8863fbc8a..2933ca018 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -94,188 +94,197 @@