stacker.news/fragments
mzivil 6355d7eabc
Add nsfw setting to territories (#788)
* add nsfw column to sub

* add nsfw boolean to territorySchema

* save nsfw value in upsertSub mutation

* return nsfw value from Sub query for correct value in edit territory form

* add nsfw checkbox to territory form

* add nsfw badge to territory header

* add nsfwMode to user

* show nsfw badge next to item territory

* exclude nsfw sub from items query

* show nsfw mode checkbox on settings page

* fix nsfw badge formatting

* separate user from current, signed in user

* update relationClause to join with sub table

* refactor to simplify hide nsfw sql

* filter nsfw items when viewing user items

* hide nsfw posts for logged out users

* filter nsfw subs based on user preference

* show nsfw sub name if logged out user is viewing the page

* show current sub at the top of the list instead of bottom

* always join item with sub to check nsfw

* check for sub presence before showing nsfw badge on item

* skip manually adding sub to select if sub is null

* fix relationClause to join with root item

* move moderation and nsfw into accordion

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-02-09 20:35:32 -06:00
..
blockHeight.js Add block height to price carousel (#484) 2023-09-12 10:56:02 -05:00
chainFee.js Add chain fees to price carousel (#658) 2023-12-20 16:06:22 -06:00
comments.js Allow territory founders to pin items (#767) 2024-01-30 11:04:56 -06:00
invites.js better organize user graphql types 2023-11-09 19:05:35 -06:00
items.js Add nsfw setting to territories (#788) 2024-02-09 20:35:32 -06:00
notifications.js Territory post notifications (#745) 2024-01-11 11:27:54 -06:00
price.js Add proxy with cache for coinbase API requests (#226) 2023-01-27 17:20:33 -06:00
rewards.js allow viewing reward ranges 2023-08-29 19:13:21 -05:00
subs.js Add nsfw setting to territories (#788) 2024-02-09 20:35:32 -06:00
users.js Add nsfw setting to territories (#788) 2024-02-09 20:35:32 -06:00
wallet.js autowithdraw to lightning address 2024-01-11 13:10:07 -06:00