mataroa icon indicating copy to clipboard operation
mataroa copied to clipboard

add draft warning about post visibility

Open ratsclub opened this issue 1 year ago • 4 comments
trafficstars

This introduces a small textual warning regarding draft visibility.


image

ratsclub avatar Jul 17 '24 20:07 ratsclub

Thanks! This is great! I have some reservations about the design. I'll get back to you when I look better into it!

sirodoht avatar Jul 17 '24 22:07 sirodoht

One idea, instead of adding this huge warning, we add a Share link/Copy link to the button action. What do you think?

image

ratsclub avatar Jul 19 '24 16:07 ratsclub

Hmm interesting. Yeah, that could be better. But we would need JavaScript to copy it. Maybe we could have a non-JavaScript option as well.

sirodoht avatar Jul 19 '24 17:07 sirodoht

IMO, I think I prefer the first solution since share link is still not clear what is happening (and also I don't think this feature needs to depend on JavaScript).

However one thing, I think that the warning should only appear for logged in users (or even better, only for the author). For whatever who receives the link, they don't need to care about this detail.

thiagokokada avatar Aug 15 '24 10:08 thiagokokada

Merging this, but will adapt styling. Thanks!

sirodoht avatar Aug 09 '25 23:08 sirodoht