Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • core core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 235
    • Issues 235
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hubzilla
  • corecore
  • Issues
  • #1521
Closed
Open
Created Feb 15, 2021 by Adnan Shameem@adnan360

Content Warning equivalent feature should be on Hubzilla

Mastodon has a Content Warning (CW) feature. I've seen it being suggested by others when users want to post anything controversial. It's said to help in keeping the fediverse a healthy place.

The idea behind it is simple. When you add CW to a post, the whole post is not shown by default. You get a short summary of what you're about to say controversial (or possibly annoying?) about, and get a "Show More" button. If anyone's interested to listen to you just seeing that summary, they can click the button and see the rest of the post.

Here's how it works on Mastodon, just for reference:

cw-01

cw-02

People have used this feature creatively for posting spoilers, surprises, jokes etc.

Similar thing should be available on Hubzilla.

I tried summary-details HTML tags on a post, in a hope if it works. But it gets stripped and shown as plain text. However, I don't know how this is going to be implemented (bbcode/html/markdown) but summary-details tags seem like a good option to use under the hood. It's implemented by browsers, so shouldn't need JS and should be optimized for performance.

EDIT: Minor word changes

Edited Feb 15, 2021 by Adnan Shameem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking