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
..
2024-01-25 12:57:12 +01:00
2023-03-18 12:28:28 +01:00
2023-04-25 13:27:25 +02:00
2023-02-15 10:23:34 +01:00
2024-02-05 17:48:54 +01:00
2023-02-15 10:23:34 +01:00
2020-03-24 21:11:11 +01:00
2023-02-15 10:23:34 +01:00
2022-09-09 10:19:24 +02:00
2020-12-02 23:36:53 +01:00
2023-11-21 10:19:12 +01:00
2024-10-30 13:09:45 +01:00
2023-02-15 10:23:34 +01:00
2024-10-30 13:09:45 +01:00
2023-11-21 10:19:12 +01:00
2023-02-15 10:23:34 +01:00
2023-06-05 12:57:15 +02:00
2023-02-15 10:23:34 +01:00
2022-09-20 13:03:00 +02:00
2023-07-06 12:26:28 +02:00
2023-02-15 11:12:19 +01:00
2021-04-25 12:22:56 +02:00