stacker.news/fragments
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
..
comments.js Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
invites.js hide cowboy hat setting 2023-05-01 16:52:02 -05:00
items.js hide zap bolt for forward users (#445) 2023-08-28 09:40:29 -05:00
notifications.js Subscribe to a user (#443) 2023-08-28 20:27:56 -05:00
price.js Add proxy with cache for coinbase API requests (#226) 2023-01-27 17:20:33 -06:00
rewards.js show sources and history of rewards 2023-08-15 12:41:51 -05:00
subs.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
users.js Subscribe to a user (#443) 2023-08-28 20:27:56 -05:00
wallet.js Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00