mkljczk / pl-fe

Web-based Mastodon-compatible social media client
https://pl.mkljczk.pl/
GNU Affero General Public License v3.0
7 stars 2 forks source link

Content Warning composition visibility #53

Open tassoman opened 1 week ago

tassoman commented 1 week ago

As user, I want to have understanding if my composition is going to be obfuscated or not, so that I can protect sensitive posts.

Description

immagine

Actually, warning field stills always on top, people could misunderstand which field to fill. CW button is useless. There's no state changing if warning message is filled up.

There are two solutions proposed

  1. CW button works as usual, enabling warning field and awareness of a CW post
  2. CW button get deleted, then CW awareness is delegated to warning field (if not empty = CW on)

I prefer classic 1st solution having explicit button control.

Other things

As Administrator I'd like to switch a UI/UX configuration global default mode for posting. Default posting have CW on / default CW is off.

mkljczk commented 1 week ago

This button applies to the sensitive content warning for media attachments. Changed it so it only appears when there are any attachments

tassoman commented 1 week ago

Actually, looks like the button ⚠️ disappeared at all. 🤔 There's room for a warning button in each preview attachment component.

  1. ❌ button should be there upper right
  2. 🔍 lens button could go on upper left
  3. ALT button should be clickable then do what's happening on mouse over (alt form display). Icon should be an eye with X 👁️ ❌
  4. ⚠️ button should appear bottom right to set it sensitive

When ⚠️ is clicked should do a feedback, yellow border or blur. Same behaviour that happens when it's shown to people for real.

immagine

mkljczk commented 3 days ago

now it should appear

tassoman commented 3 days ago

⚠️ action button appears while there are attachments, sets all sensitive. Attachments doesn't have that prop themself, only status have.

So, sensitive: true should be activated when warning field is not empty and while ⚠️ button is activated, like XOR

While in edit Status modal, I can't understand sensitive attachments are enabled. Warning icon should have "active" prop, but it's disabled.

immagine