73 Commits

Author SHA1 Message Date
mahula
51564e5d9b
refactor(webapp): make group form's location select available as a separate component (#6245)
* WIP make location select a separate component

* trying ...

* fix update of geolocale from component

* clean up location select code

* refactor code

* refactor code

* clean up

* linting

* add first unit tests for location select

* reuse location setting component in user settings

* get it working

* fix unit test

* Update webapp/components/Select/LocationSelect.vue

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* Update webapp/components/Select/LocationSelect.spec.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* Update webapp/components/Select/LocationSelect.spec.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
Co-authored-by: ogerly <fridolin@tutanota.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-29 16:58:36 +00:00
Moriz Wahl
a3178a91b4
refactor(webapp): store for categories (#8551)
* after authentification, query the categories if active and store them

* get categories from store

* use category store to get categories

* get categories from store

* mock store to have access to categories

* to get rid of the active categories config variable in the frontend, the Category query returns an empty array when categories are not active

* remove CATEGORIES_ACTIVE from .env

* should return string to avoid warnings in console

* replace all env calls for categories active by getter from store

* use categoriesActive getter

* ignore order of returned categories

* mixin to get the category infos from the store, to ensure, that the quey has been called

* fix misspelling

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-27 15:03:26 +02:00
mahula
73fac22148 linting according to updated linter 2024-03-10 22:49:46 +01:00
mahula
60f18c1167 remove comments 2023-04-25 17:26:36 +02:00
mahula
6298194db3 fix updating of group type and action radius changes to the form 2023-04-25 14:11:00 +02:00
mahula
94656a901b linting 2023-04-21 12:34:41 +02:00
mahula
35bd3d2a61 use action radius select in group form 2023-04-21 12:11:06 +02:00
Moriz Wahl
b8228db9f3 Merge branch 'master' into map 2023-02-03 17:41:12 +01:00
Wolfgang Huß
6590a8dd9f Move location hint under location select on group and settings form 2023-02-01 11:11:30 +01:00
Wolfgang Huß
5f8368e971 Add hint to labels of user and group position settings 2023-01-31 17:50:03 +01:00
Moriz Wahl
4fbfccb6ff fix(webapp): texts for groups 2023-01-30 14:23:56 +01:00
Wolfgang Huß
932572049b Fix not correct working change of slug in group settings 2022-10-27 12:27:51 +02:00
Moriz Wahl
3bf26de650 rename route from my-groups to groups 2022-10-26 14:18:33 +02:00
Wolfgang Huß
490c7bf2bf Refine logic of location 2022-10-18 19:12:01 +02:00
Wolfgang Huß
ab6b5ad219 Fix 'ds-chip' 'color' error 2022-10-18 18:28:52 +02:00
Wolfgang Huß
4521c71718 Fix location bugs 2022-10-18 18:14:38 +02:00
ogerly
2755ca6562 change location in group update 2022-10-18 09:54:45 +02:00
ogerly
1a273918b5 remove console statments, fix lint 2022-10-17 12:07:27 +02:00
ogerly
9baabd0737 change sameLocation and delete Location Button position 2022-10-17 12:05:35 +02:00
ogerly
fc75d4f370 rename computed disableButtomByUpdate to disableButtonByUpdate 2022-10-16 13:03:10 +02:00
ogerly
018cfc68b1 check groupForm disableButton if creat and update 2022-10-16 12:58:00 +02:00
ogerly
9528365cd4 add ds-space if update GroupForm 2022-10-07 06:58:21 +02:00
Wolfgang Huß
009558f5fc Remove unused variable 2022-10-05 16:59:46 +02:00
Wolfgang Huß
350d59bf12 Refine create and edit group form 2022-10-05 16:56:59 +02:00
ogerly
68cb597fa6 Merge branch '5397-Refine-Group-Creation-And-Group-Edit' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 5397-Refine-Group-Creation-And-Group-Edit 2022-10-04 10:11:31 +02:00
ogerly
d4b5823cf1 fix lint 2022-10-04 10:11:07 +02:00
ogerly
cbedf6f046 change from review 2022-10-04 10:09:56 +02:00
Alexander Friedland
f94fc5d211
Update webapp/components/Group/GroupForm.vue
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2022-10-04 08:35:09 +02:00
ogerly
60303b172b fix lint 2022-10-02 11:06:44 +02:00
ogerly
ff0396a650 check valid group form selects 2022-10-02 11:06:11 +02:00
ogerly
8ecd6bb0e7 resolve review from wolle 2022-09-30 11:24:00 +02:00
ogerly
90b64dc0f3 resolve review fix 2022-09-30 10:49:54 +02:00
ogerly
cf7e61a2fc add default color on ds-chip in GroupForm.vue 2022-09-29 15:49:23 +02:00
ogerly
3ebfc7c145 add constants GOAL_LENGTH_MIN 2022-09-29 14:35:23 +02:00
ogerly
584663686a delete LocationName in form 2022-09-29 14:30:23 +02:00
ogerly
e09fb1768f fix lint 2022-09-29 11:54:24 +02:00
ogerly
0a511b4ea2 form submit dissable by update 2022-09-29 11:53:51 +02:00
ogerly
992dd991c9 form error alternativ 2022-09-29 11:09:50 +02:00
ogerly
1199c5d77a fix lint 2022-09-28 15:21:40 +02:00
ogerly
f21796b5e2 delete location entry per button 2022-09-28 15:20:51 +02:00
ogerly
b965bab56b translation selects in GroupForm.vue, change css of selects 2022-09-28 14:36:35 +02:00
ogerly
fdc72c71a4 resolve conflicts 2022-09-28 10:34:20 +02:00
ogerly
8ff171395c delete unused code 2022-09-28 10:17:29 +02:00
ogerly
6364974b71 add editor component for GroupForm.vue 2022-09-28 10:15:39 +02:00
Wolfgang Huß
0d44d8ae04 Cleanup
- Reduce tooltip delay to 750ms.
2022-09-26 11:42:44 +02:00
Wolfgang Huß
7b11122bea Refine design and functionality of group list and create, edit group 2022-09-26 10:31:00 +02:00
Wolfgang Huß
41af877ab5 Refine functionality, second step 2022-09-25 13:22:07 +02:00
Wolfgang Huß
84d90ddb78 Refine design and a bit functionality, additions to first step 2022-09-24 18:13:55 +02:00
Wolfgang Huß
13ec4ee776 Refine design and a bit functionality, first step 2022-09-24 18:06:15 +02:00
ogerly
f1427b2528 fix lint 2022-09-23 10:45:38 +02:00