-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Description
Content warnings are a very useful feature, but they don't currently provide much customizability for the user reading toots with content warnings. Apps usually allow you to either hide all content behind content warnings, or show all content behind the warnings by default. There's no granularity here.
Personally, I would like to automatically show all content with warnings about programming, but I do want all content with political content warnings to remain hidden.
In theory, an app could provide a user with a regular expression or string to automatically show all "programming" content warning posts, but since content warnings are free text entry by the poster, this feature would not work very well. Posters could spell programming wrong, write "coding" instead, or "javascript", etc.
The feature I'm suggesting is:
- Allow an (optional) content warning category section for all new toots. This exists alongside the free text entry "Write your warning here", so a user could select a category like "programming" but still add their own specific warning, like "CSS Drama".
- Vanilla mastodon would have a fixed list of preset CW categories. Here's an incomplete potential list of the top of my head: [ "Politics", "Spoilers", "Trauma/Abuse", "Joke Punchline", "NSFW", "Programming", "Mastodon Meta", "From BirdSite", "Other" ]. Other would be the default, and would be ignored and not actually sent. It's the same as not including a category.
- Individual mastodon instances could add their own custom CW categories, and perhaps disable some of the vanilla ones. For example, a sex workers instance could remove the "NSFW" CW category because they allow NSFW content freely on their platform. Similarly, an instance that, for example, requires an "eye contact" CW warning for any picture involving eye contact can add that category.
- Posts with a category set for their content warning would have that category displayed, as well as the "Write your warning here" value. If you have a content warning of Politics with the custom text, GOP, the content warning would look like "Politics: GOP". If custom text wasn't defined, the colon could be dropped, i.e. "Politics"
- In settings, users can then toggle auto-hide or auto-show for each individual CW category, and the client will honor this setting when displaying toots.
- I searched or browsed the repo’s other issues to ensure this is not a duplicate.