transfem-org / Sharkey

๐ŸŒŽ A Sharkish microblogging platform ๐Ÿš€
https://joinsharkey.org/
73 stars 19 forks source link

feat: "show content for all replies" button #83

Closed wont-work closed 11 months ago

wont-work commented 11 months ago

What

Adds a "Show content for all replies" button to toggle entire threads of content warnings in one go. See attached video for a demonstration.

https://github.com/transfem-org/Sharkey/assets/106974765/19a18f11-f24e-460e-a0c0-d858784dfb1e

Why

Before this, you'd need to individually expand every CW one by one, which is inconvenient for long threads, especially those federating from platforms with low character counts (e.g. upstream Mastodon)

Additional info (optional)

This PR started out as a reimplementation of Iceshrimp PR 39. It has since changed a fair bit.

Checklist