stacker.news/lib
SatsAllDay 992fc54160
Subscription management page (#1000)
* first pass of a subscription management page under settings

* add tabs to settings ui

* NymActionDropdown

* update Apollo InMemoryCache to merge paginated list of my subscribed users

* various updates

* switch from UsersNullable to Users

* bake the nym action dropdwon into the user component

* add back fields to the user query

* `meSubscriptionPosts`, `meSubscriptionComments`, `meMute`

* Refetch my subscribed users when a user subscription is changed

* update user list to hide stats in the subscribed list users

* update my sub'd users fragment to remove unnecessary user fields

* memoize subscribe user context provider value to avoid re-renders

* use inner join instead of left join

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* throw error when unauthenticated

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-04-03 19:38:47 -05:00
..
apollo.js Subscription management page (#1000) 2024-04-03 19:38:47 -05:00
badge.js check both `navigator.permissions.query` and `Notification.permission` for permissions (#655) 2023-11-25 11:32:41 -06:00
clicks.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
constants.js april million sat madness 2024-04-01 08:56:13 -05:00
currency.js reuse validation on server 2023-02-08 13:39:53 -06:00
cursor.js use keyset pagination for notifications (#899) 2024-03-06 13:53:13 -06:00
fancy-names.json Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
form.js refactor delete notification (#731) 2024-01-03 16:24:46 -06:00
format.js handle other possible base64-like string encodings 2024-02-18 15:08:55 -06:00
item.js improved comment linking 2024-01-17 19:03:49 -06:00
lnurl.js gracefully handle errors when fetching lnurlp wellknown info (#960) 2024-03-24 13:25:14 -05:00
macaroon-id.js LND autowithdraw (#806) 2024-02-13 13:17:56 -06:00
macaroon-id.proto LND autowithdraw (#806) 2024-02-13 13:17:56 -06:00
macaroon.js handle other possible base64-like string encodings 2024-02-18 15:08:55 -06:00
madness.js april million sat madness 2024-04-01 08:56:13 -05:00
md.js remove debug loggin for rehype plugin 2023-10-23 18:16:06 -05:00
new-comments.js subtle highlight of new comments 2023-08-06 14:18:40 -05:00
nostr.js Nostr crossposting all item types (#779) 2024-02-21 19:18:36 -06:00
package.json Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
rainbow.js undo zap/downzap and improve downzap ux 2023-12-19 19:55:19 -06:00
rand.js use rand lightning animation when not logged in 2021-07-16 11:47:18 -05:00
remark-mention.js fix mdast find and replace imports 2023-07-24 20:03:56 -05:00
remark-sub.js fix markdown inline code and headings 2023-10-23 17:14:37 -05:00
rss.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
territory.js fix #951 also retroactively 2024-03-20 20:56:40 -05:00
time.js Monthly rewards (#890) 2024-03-01 10:28:55 -06:00
timedate-scraper.js Attempt to get publication year when auto-titling links (#520) 2023-10-20 19:23:50 -05:00
url.js Add tests for internal linking (#808) 2024-02-17 15:53:36 -06:00
url.spec.js Add tests for internal linking (#808) 2024-02-17 15:53:36 -06:00
validate.js Fix zapUndos not nullable in schema 2024-03-25 20:34:28 +01:00
webPush.js Add missing unitSingular, unitPlural 2024-03-26 00:53:49 +01:00