14 Commits

Author SHA1 Message Date
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
Moriz Wahl
4ce5bdd6fa get most components working 2023-02-15 10:23:34 +01:00
Moriz Wahl
88b5fb9b46 have i18n as option for search groups, fix test 2022-10-23 13:02:04 +02:00
Moriz Wahl
938f5ccdf9 fix all tests 2022-07-25 23:20:05 +02:00
Wolfgang Huß
9ce1e089fa Fix lint 2021-01-21 16:38:55 +01:00
Wolfgang Huß
101b50486c Cleanup comments 2021-01-21 13:03:32 +01:00
Wolfgang Huß
830eb1010c Refactored SearchResults.spec.js to new tab component 2021-01-21 11:36:39 +01:00
Wolfgang Huß
b076fa57ec Improve component for user profile tab and use on search page, refinement needed 2020-09-30 11:01:34 +02:00
Wolfgang Huß
20c52b16e7 Temporary fix tests for SearchResult.vue
- Now the buttons are disabled instead of remove from the DOM.
2020-09-25 13:46:56 +02:00
Moriz Wahl
a30ae12d65 specs added for SearchResults component.
General use of v-if instead of v-show. Why render a not displayed component?
Helper added to fake posts.
2020-05-12 18:30:26 +02:00
ogerly
404b926a1f lint: clean 2020-04-22 19:03:45 +02:00
ogerly
cccb6cec83 test: user + pagination ok, rest WIP 2020-04-22 15:06:55 +02:00
ogerly
4a60911c9a fix: lint and test for SearchableInput ok 2020-04-22 09:58:53 +02:00
mattwr18
79c1cc02c1 test: add SearchResults test/rename classes 2020-04-01 19:20:00 +02:00