e87a33eb3f
feat(backend): push posts ( #8609 )
...
* push posts
push posts
* unpush posts
* fix comment query
* locales
* fix locales
* fix tests
* Update webapp/locales/de.json
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* Update webapp/locales/de.json
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* Update webapp/locales/de.json
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* fix unpushedSuccessfully english message
* remove paremeters from unpushPost
* rename pushPostToTop -> pushPost, tests
* update locales & tests webapp
* fix lint
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-03 17:57:21 +02: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
Wolfgang Huß
34ac7b97bd
Make filter menu visible if categories are inactive
2023-10-30 15:57:30 +01:00
Markus
a0434143ca
[fix] fixed ui issues for filter mobile view
2023-08-18 15:28:27 +02:00
Wolfgang Huß
359101bb4c
Fix wrong labels in filter menu buttons
2023-08-02 11:36:40 +02:00
Markus
62333c3446
[design] post type filter list is now the same column width
2023-07-31 14:18:09 +02:00
Markus
de4c239f26
[design] added left padding to filter list for better layout
2023-07-31 14:17:38 +02:00
Markus
cbf93628a5
[feature] have all button for source filter option
2023-07-28 14:05:26 +02:00
Markus
c6a1c1a8c8
changed label text for event filter component
2023-07-28 13:26:51 +02:00
Wolfgang Huß
0e948fc2e3
Change filter menu save button label to 'Save topics'
2023-07-26 14:58:30 +02:00
elweyn
b089c1652d
Remove console.log entry.
2023-07-26 11:07:11 +02:00
elweyn
fa286139c4
Fix unit test structure search of OrderByFilter.
2023-07-26 11:06:47 +02:00
Markus
daaff73c73
fixed linting
2023-07-20 10:09:28 +02:00
Markus
c9f51ffca9
[refactor] filter menu further feedback implementation
2023-07-20 10:07:59 +02:00
Markus
57cf245b71
fixed linting
2023-07-19 21:53:05 +02:00
Markus
084b14608d
updated CategoriesFilter tests
2023-07-19 21:47:26 +02:00
Markus
f927c13b86
[refactor] updated layout/ui of filter menu
2023-07-19 21:47:02 +02:00
Markus
e33091b814
fix linting
2023-07-11 14:36:24 +02:00
Markus
e81254e531
[refactor] changed button layout in filter menu
2023-07-11 14:26:19 +02:00
Markus
7c56ad9728
[refactor] removed hr in categories filter component
2023-07-11 14:10:39 +02:00
Markus
e1a9b5b7f7
[refactor] added new filter menu headline and adjusted some filter labels
2023-07-11 14:07:36 +02:00
Markus
0493a2c6c0
[refactor] changed filter layout in filter menu
2023-07-11 14:06:29 +02:00
33bb92de1a
Merge branch 'master' into fix-coverage
2023-06-07 10:56:46 +02:00
Moriz Wahl
5ad7dac1fe
use filterdPostTypes getter
2023-06-02 18:11:18 +02:00
Moriz Wahl
f252c76670
recover filteredPostTypes getter
2023-06-02 18:05:37 +02:00
Moriz Wahl
2ae6c350e1
get things working
2023-06-02 17:46:00 +02:00
Moriz Wahl
73f62212f8
refactor components for store changes
2023-06-02 16:55:52 +02:00
Wolfgang Huß
52798c1174
Refactor 'TOGGLE_EVENTS_ENDED' and 'eventsEnded' in store to contain the event start date
2023-06-02 11:04:28 +02:00
Wolfgang Huß
4f078e4b24
Fix webapp tests
2023-06-02 10:08:55 +02:00
Wolfgang Huß
5863eed59a
Delete file 'filterMenuMixin.js' and move all from there to the files where it's used
2023-06-01 20:42:51 +02:00
Wolfgang Huß
419ec5384f
Move 'eventsEnded' and 'toggleEventsEnded' from file 'filterMenuMixin.js' to the files where it's used
2023-06-01 19:44:13 +02:00
Wolfgang Huß
c1d9766f39
Replace 'setOrder' by 'toggleOrder'
2023-06-01 19:31:21 +02:00
Wolfgang Huß
7687d6f28c
Move 'setUnsetPostTypeFilter' to the store
2023-06-01 19:27:13 +02:00
Wolfgang Huß
9fee1b43c8
Fix typo of 'buttonLabel'
2023-06-01 17:18:24 +02:00
Wolfgang Huß
4eeaf7a793
Update webapp/components/FilterMenu/OrderByFilter.vue
...
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2023-06-01 17:12:31 +02:00
Wolfgang Huß
d0fe3006bc
Update webapp/components/FilterMenu/OrderByFilter.vue
...
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2023-06-01 17:11:05 +02:00
Wolfgang Huß
28e94b381f
Update webapp/components/FilterMenu/OrderByFilter.vue
...
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2023-06-01 17:10:24 +02:00
Wolfgang Huß
4fbdf70880
Change order of imports in 'FilterMenuComponent.vue'
2023-06-01 17:08:05 +02:00
Wolfgang Huß
8b0248057b
Fix post type filter class name
2023-06-01 17:05:18 +02:00
773382d3ae
reverated wrong rename, reanmed proper file to .old
2023-06-01 12:03:03 +02:00
e767024df8
renamed broken and unsed components & tests to .old to avoid them beeing tested
2023-06-01 11:50:48 +02:00
Wolfgang Huß
fab85aea78
Implement showing of only ended events on newsfeed
2023-05-31 18:31:27 +02:00
Wolfgang Huß
238c0ef605
Adjustment for filter button remove 'X'
2023-05-31 15:05:02 +02:00
Wolfgang Huß
a454ce51de
Fix webapp tests
2023-05-31 12:10:00 +02:00
Wolfgang Huß
4b4c3c91ff
Implement order by start date for events
2023-05-30 17:08:23 +02:00
Wolfgang Huß
747cfb8c1d
Rename post type filters computed in mixin
2023-05-30 13:03:38 +02:00
Wolfgang Huß
badc388da9
Implement mixin for filter menu
2023-05-30 12:37:38 +02:00
Wolfgang Huß
b08bacb7e0
Add title 'Creation date' to 'OrderByFilter.vue'
2023-05-30 12:36:49 +02:00
Wolfgang Huß
3e800751ed
Beautify horizontal line above category buttons in filter menu
2023-05-30 11:47:34 +02:00
Wolfgang Huß
133e584dec
Add 'All' button to filter menu post type buttons
...
- Unset post type filter menu button by clicking a set button.
2023-05-26 19:40:14 +02:00