209 Commits

Author SHA1 Message Date
Wolfgang Huß
2ed92c0a78
feat(webapp): post page group link improvement (#8883) 2025-09-20 10:15:04 +00:00
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
Max
1e6a74b8ce
feat(frontend): observe posts (#8293)
* After creating the post, the author of it automatically observes it to get notifications when there are interactions

* a user that comments a post, automatically observes that post to get notifications when there are more interactions on that post

* mutation that switches the state of the obeservation of a post on and off

* remove duplicate code

* fix unit tests

* add metric observed users count to posts

* change naming

* Add follow post entry to post menu

* Add FollowButton (WIP), show unfollow in menu when already followed

* Follow/unfollow post => observe

* Update slashed bell

* Add requests to observe/unobserve posts

* Add ObserveButton functionality

* Rename isObservedByMe

* Add observingUsersCount; simplify ObserveButton and menu entries

* Fix locales

* Add snapshot test for ObserveButton (WIP)

* Remove empty routes push

* Add test for ObserveButton

* Add test for ContentMenu, improve ObserveButton test

* Remove unneeded fields from PostQuery

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2025-04-04 11:54:43 +00:00
Wolfgang Huß
34ac7b97bd Make filter menu visible if categories are inactive 2023-10-30 15:57:30 +01:00
Moriz Wahl
d3a694e6e7 watch posts filters, to ensure that hasMore is reset to true 2023-06-02 18:45:02 +02:00
Moriz Wahl
5389b607db even closer to master 2023-06-02 18:27:23 +02:00
Moriz Wahl
fdf4eb6bdc get closer to master 2023-06-02 18:25:13 +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ß
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ß
52839f4b22 Move 'unsetAllPostTypeFilters' to the store 2023-06-01 19:07:07 +02:00
Wolfgang Huß
fab85aea78 Implement showing of only ended events on newsfeed 2023-05-31 18:31:27 +02:00
Wolfgang Huß
152e18e650 Add separate filter buttons for articles and events 2023-05-31 15:06:52 +02:00
Wolfgang Huß
dba07a258e Revert "Stop auto closing by mouse leave of filter menu"
This reverts commit 4050d8d01d0e6bbe9c72c3d5311d8c0692f34686.
2023-05-30 11:53:28 +02:00
Wolfgang Huß
4050d8d01d Stop auto closing by mouse leave of filter menu 2023-05-30 11:46:00 +02:00
Wolfgang Huß
afbcb1244d Fix comment typing 2023-05-30 11:44:52 +02:00
Wolfgang Huß
0acc41dc73 Implement dev switch for stop automatic closing of filter menu 2023-05-30 11:44:23 +02:00
Markus
12a4ab6b83 merged master and resolved conflict in webapp/pages/index.vue 2023-05-24 10:16:07 +02:00
Markus
95710fd587 [fix] added custom css to newsfeed layout if less than 3 posts are visible 2023-05-15 14:51:23 +02:00
Markus
02566a6e93 fixed hardcoded z-index of overlay, filter and add-btn 2023-05-02 15:49:26 +02:00
Markus
013ec20e75 Merge branch 'master' into newsfeed-layout-fixes 2023-04-27 13:48:20 +02:00
Markus
f828497c96 updated of mobile media querys for top gap of newsfeed 2023-04-27 13:43:04 +02:00
elweyn
c4699c4e2a fix(webapp): Popup filter max-width 2023-03-22 10:43:18 +01:00
Markus
335ffcda14 added margin to newsfeed grid if no donation or hastag bar is visible 2023-03-20 14:17:15 +01:00
Markus
9454b7b541 [WIP] fixing layout on newsfeed page 2023-03-17 18:21:56 +01:00
elweyn
19b81a85b1 Change padding-bottom from 5px to 20px 2023-03-15 12:17:10 +01:00
Wolfgang Huß
b1be6321e0
Merge branch 'master' into 5982-fix-donation-bar-blink 2023-03-14 14:23:54 +01:00
Markus
7b1f4cb7e5
Merge branch 'master' into 5982-fix-donation-bar-blink 2023-03-13 17:21:01 +01:00
elweyn
644febaa0f Remove border radius of filterMenu background 2023-03-13 10:38:08 +01:00
elweyn
50e5a4e8aa Change margin on small screens 2023-03-13 10:31:32 +01:00
elweyn
baa49414aa Use header-button component 2023-03-13 10:13:51 +01:00
elweyn
e7d43e5019 Fix linting 2023-03-13 07:38:48 +01:00
elweyn
ba6a05ff69 Upgrade filterButtonMenu size 2023-03-13 07:37:09 +01:00
elweyn
6b1a01f66f Change style of postsInMyGroups filter button 2023-03-13 07:36:26 +01:00
Hannes Heine
cfa53e5b84
Merge branch 'master' into feat-filter-buttons 2023-03-13 07:08:14 +01:00
elweyn
f34e419571 Fix linting. 2023-03-13 07:02:55 +01:00
Wolfgang Huß
59a6729171 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5984-fix-gap-news-feed 2023-03-10 11:22:55 +01:00
Wolfgang Huß
69ab2ec626 Fix linting 2023-03-10 11:10:29 +01:00
elweyn
89fd312220 feat(webapp): filter button style change 2023-03-09 14:35:15 +01:00
Moriz Wahl
1575ee9765 Ebertsche Knöpfe for filter by posts in my groups 2023-03-06 16:20:45 +01:00
Markus
aea21b0989 Fix missing padding above newsfeed for mobile view 2023-03-03 17:43:02 +01:00
Markus
ee6f72c09a Fix gap above news feed by adding a multi column space element 2023-03-02 11:56:16 +01:00
Markus
cecd506581 removed gap above news feed in desktop view 2023-02-27 10:45:46 +01:00
Markus
42a370ffc8 set showDonations flag to false as default to avoid blinking 2023-02-27 10:42:20 +01:00
Alexander Friedland
2c9affaef1
Merge pull request #5958 from Ocelot-Social-Community/5598-Post-Teaser-Width-in-Mobile-View
fix(webapp): post teaser width in mobile view
2023-02-09 16:57:28 +01:00
Alexander Friedland
982257b5f3
Merge pull request #5957 from Ocelot-Social-Community/5953-navbar-disappears-when-scrolling-to-top
fix(webapp): navbar disappears when scrolling to top
2023-02-09 16:04:40 +01:00