Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

Hide NSFW content behind a blur filter instead of hiding it completely #353

Closed happy-river closed 3 years ago

happy-river commented 3 years ago

Change how the "Show NSFW" option for users works. Instead of hiding all NSFW content, show it but apply a blur filter to thumbnails, titles and content. When the user clicks on an element that has the blur filter, remove it. Do this in the single post view, post listings, notifications, user post and comment listings, top posts in 24 hours listing, and recent activity listing. Add the red bordered NSFW tag adjacent to NSFW content in places such as the recent activity listing where it was not present. In the single post view of a NSFW post, instead of blurring comments, hide them and add a "Show Comments" link to reveal them.

NSFW posts are still hidden in post listings from unauthenticated users.

Resolves #234.