feat: "show content for all replies" button
Created by: ShittyKopper
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
-
Read the contribution guide -
Test working in a local environment -
(If needed) Add story of storybook -
(If needed) Update CHANGELOG.md -
(If possible) Add tests