SatsAllDay 0d4a225442
Subscribe to a user (#443)
* First pass of user subscriptions

* add new db model to track subscriptions
* update user typedef and api resolver for subscription state
* add subscribe action to user profile page
* add mutation to subscribe to a user

* Update notifications queries, hasNewNotes queries for FollowActivity note type

* Only show items that have been created since subscribing to the user

* Send push notifications to user subscribers for posts and comments

* Rename item dropdown to action dropdown and re-use for item info and user actions

* Don't allow self-follows

* Add index on followee for faster lookups

* Don't show subscribe action if not logged in

* small style enhance

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-08-28 20:27:56 -05:00
..
2023-07-24 13:53:53 -05:00
2023-08-28 20:27:56 -05:00
2023-07-24 13:53:53 -05:00
2023-08-13 14:12:18 -05:00
2023-08-25 18:21:51 -05:00
2023-07-24 13:53:53 -05:00
2023-08-15 12:41:51 -05:00
2023-08-25 18:21:51 -05:00
2023-07-25 13:32:48 -05:00
2023-08-04 20:45:12 -05:00
2023-08-25 18:21:51 -05:00
2023-08-25 18:21:51 -05:00
2023-08-04 19:21:51 -05:00
2023-08-28 14:31:28 -05:00
2023-07-24 13:53:53 -05:00
2023-08-16 14:39:01 -05:00
2023-07-24 13:53:53 -05:00
2022-08-18 13:15:24 -05:00
2023-08-12 04:18:32 +02:00
2021-05-06 16:15:22 -05:00
2023-08-28 20:27:56 -05:00
2023-08-11 14:12:18 -05:00
2023-08-16 17:53:51 -05:00
2023-08-16 17:53:51 -05:00
2022-01-27 13:18:48 -06:00
2023-08-13 14:12:18 -05:00
2023-08-17 13:40:21 -05:00
2023-07-25 09:14:45 -05:00
2023-08-17 13:40:21 -05:00
2023-08-17 13:40:21 -05:00
2021-10-15 13:05:34 -05:00
2023-08-11 00:35:43 +02:00
2023-07-24 13:53:53 -05:00
2023-08-07 19:50:01 -05:00
2023-08-28 20:27:56 -05:00
2023-07-24 13:53:53 -05:00
2023-07-24 13:53:53 -05:00
2023-07-24 13:53:53 -05:00
2023-08-11 17:05:21 -05:00
2023-07-24 19:50:55 -05:00
2023-08-25 13:42:55 -05:00
2023-07-24 13:53:53 -05:00
2023-05-06 16:51:17 -05:00
2023-08-04 19:21:51 -05:00
2023-08-08 16:47:27 -05:00
2023-08-25 18:21:51 -05:00
2023-08-25 18:43:50 -05:00
2023-08-25 18:21:51 -05:00
2023-08-28 20:27:56 -05:00
2023-07-24 13:53:53 -05:00
2023-08-23 15:30:38 -05:00
2023-08-25 18:21:51 -05:00
2023-08-25 18:21:51 -05:00
2023-07-25 09:14:45 -05:00
2023-08-04 19:21:51 -05:00
2023-08-28 20:27:56 -05:00
2023-07-24 13:53:53 -05:00
2023-08-11 14:12:18 -05:00