feat(webapp): add filters for articles and events
Created by: Tirokk
🍰 Pullrequest
Add filters for articles and events.
Issues
- fixes #6190 (closed)
- fixes #6046 (closed)
Todo
In the newsfeed a user need more filter possibilities for:
-
All - Question what are the filter possibilities for this?
-
events are sorted by creation date? -
even ended events are shown?
-
- Question what are the filter possibilities for this?
-
Articles -
Filter possibilities as we have them now -
Use masonary grid with rectangles for category filter -
have an additional button with a remove X
-
-
Events: -
have an additional button with a remove X
-
on default don't show ended events - use
eventStart_gte
- what are ended events?
-
if there's no(!) end defined: -
right after start date? -
one hour after start date? -
one day after start date?
-
-
if there's an(!) end defined: -
right after end date?
-
-
- use
-
optional: -
can show ended events as well -
seperate issue: sort by event date, see #6190 (closed)
-
-
-
rename filter texts: -
EN: -
Post type
→Content type
-
Events
→Event
-
-
-
DE: -
Beitrags-Typ
→Inhaltstype
-
Veranstatungen
→Veranstatung
-
-
-
-
rename main filter button: - EN:
Filter posts
→Filter content
- DE:
Beiträge filtern
→Inhalt filtern
- EN:
-
fix tests -
write tests -
in general -
for file webapp/components/FilterMenu/EventsByFilter.vue
-
-
cleanup: search for Wolle
Have this from our meeting:
- Wenn Event ausgewählt ist
- Start date ab jetzt (Default)
- Search of already finished Events
- Sorting ORDER BY „Start date“ ASC