From c951a900ad3f165349c03777cc9e1d0b81ef0a3c Mon Sep 17 00:00:00 2001 From: mahula Date: Fri, 21 Apr 2023 12:03:34 +0200 Subject: [PATCH 01/18] add action radius select component --- .../components/Select/ActionRadiusSelect.vue | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 webapp/components/Select/ActionRadiusSelect.vue diff --git a/webapp/components/Select/ActionRadiusSelect.vue b/webapp/components/Select/ActionRadiusSelect.vue new file mode 100644 index 000000000..100375a4e --- /dev/null +++ b/webapp/components/Select/ActionRadiusSelect.vue @@ -0,0 +1,34 @@ + + + From 35bd3d2a611550fde76057e4810ec0c6983454f8 Mon Sep 17 00:00:00 2001 From: mahula Date: Fri, 21 Apr 2023 12:11:06 +0200 Subject: [PATCH 02/18] use action radius select in group form --- webapp/components/Group/GroupForm.vue | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index cb407a3d9..843d256be 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -94,21 +94,10 @@ {{ $t('group.actionRadius') }} - - + - + + Date: Fri, 21 Apr 2023 12:34:41 +0200 Subject: [PATCH 03/18] linting --- webapp/components/Group/GroupForm.vue | 2 +- webapp/components/Select/ActionRadiusSelect.vue | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 843d256be..71ec49a26 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -110,7 +110,7 @@ name="warning" /> - + - @@ -20,7 +16,6 @@ export default { name: 'ActionRadiusSelect', props: ['value'], data() { - const actionRadius = '' return { actionRadiusOptions: ['regional', 'national', 'continental', 'global'], } @@ -28,7 +23,7 @@ export default { methods: { onActionRadiusChange(event) { this.$emit('change', event.target.value) - } - } + }, + }, } From a780f43d821d88d61a9ee387a76fce16164de8cd Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 25 Apr 2023 11:07:00 +0200 Subject: [PATCH 04/18] use object notation for props --- webapp/components/Select/ActionRadiusSelect.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/components/Select/ActionRadiusSelect.vue b/webapp/components/Select/ActionRadiusSelect.vue index 81fae1749..01a0990de 100644 --- a/webapp/components/Select/ActionRadiusSelect.vue +++ b/webapp/components/Select/ActionRadiusSelect.vue @@ -14,7 +14,11 @@ 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 @@ diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 2933ca018..a031baa28 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -94,197 +94,197 @@