From 6364974b71ef407dc8ddeea5b726e02c796bfccb Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 28 Sep 2022 10:15:39 +0200 Subject: [PATCH 01/22] add editor component for GroupForm.vue --- webapp/components/Group/GroupForm.vue | 28 ++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 8a9638b1a..0923d6fc2 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -24,12 +24,16 @@ - + + + {{ `${contentLength} / ${descriptionMin}` }} + + Date: Wed, 28 Sep 2022 10:17:29 +0200 Subject: [PATCH 02/22] delete unused code --- webapp/components/Group/GroupForm.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 0923d6fc2..45fd428e1 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -48,8 +48,6 @@ :existingCategoryIds="formData.categoryIds" /> -
{{ formData }}
- Reset form Date: Wed, 28 Sep 2022 14:36:35 +0200 Subject: [PATCH 03/22] translation selects in GroupForm.vue, change css of selects --- webapp/components/Group/GroupForm.vue | 108 +++++++++++++++----------- 1 file changed, 64 insertions(+), 44 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 380e1d4b2..516e0895f 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -7,18 +7,21 @@ :schema="formSchema" @submit="submit" > + @@ -167,8 +182,17 @@ export default { categoriesActive: this.$env.CATEGORIES_ACTIVE, disabled: false, descriptionMin: 50, - groupTypeOptions: ['public', 'closed', 'hidden'], - actionRadiusOptions: ['regional', 'national', 'continental', 'global'], + groupTypeOptions: [ + 'public', + 'closed', + 'hidden' + ], + actionRadiusOptions: [ + 'regional', + 'national', + 'continental', + 'global' + ], loadingGeo: false, cities: [], formData: { @@ -317,16 +341,12 @@ export default { From f21796b5e2f681f9e6e3f679205707f6274eef0f Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 28 Sep 2022 15:20:51 +0200 Subject: [PATCH 04/22] delete location entry per button --- webapp/components/Group/GroupForm.vue | 49 ++++++++++++--------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 516e0895f..b82b3953c 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -8,11 +8,14 @@ @submit="submit" > @@ -175,17 +173,8 @@ export default { categoriesActive: this.$env.CATEGORIES_ACTIVE, disabled: false, descriptionMin: 50, - groupTypeOptions: [ - 'public', - 'closed', - 'hidden' - ], - actionRadiusOptions: [ - 'regional', - 'national', - 'continental', - 'global' - ], + groupTypeOptions: ['public', 'closed', 'hidden'], + actionRadiusOptions: ['regional', 'national', 'continental', 'global'], loadingGeo: false, cities: [], formData: { @@ -223,7 +212,6 @@ export default { } }, computed: { - contentLength() { return this.$filters.removeHtml(this.formData.description).length }, @@ -334,12 +322,9 @@ export default { From 992dd991c9f63e4e8ac742376a34fe4d114c29c2 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 29 Sep 2022 11:09:50 +0200 Subject: [PATCH 06/22] form error alternativ --- webapp/components/Group/GroupForm.vue | 313 +++++++++++++++----------- 1 file changed, 186 insertions(+), 127 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 6454d4493..4c29364ee 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -7,133 +7,183 @@ :schema="formSchema" @submit="submit" > -