chiark / gitweb /
Post menu: separate 'sensitive' from 'spoiler text'.
authorSimon Tatham <anakin@pobox.com>
Sat, 13 Jan 2024 13:11:55 +0000 (13:11 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 13 Jan 2024 13:15:23 +0000 (13:15 +0000)
commitd3ad8f7f36cebb3f68fb614f5051121f002db4f3
tree790ab255aff8d6b4f1fbe6fda2fefb7145ea8858
parent436e640689d36de413e8301da1535dc68a5a8ab0
Post menu: separate 'sensitive' from 'spoiler text'.

Alas, it _is_ possible to tag a post as sensitive but not provide any
spoiler text. I don't think I should make it actually impossible
through the UI of this client, so here's a change to permit it.

But I'm discouraging it as much as possible, by focusing into the
content-warning editor as soon as you mark a post as sensitive. That
way, if you really want an absence of warning, you have to
deliberately refuse to type one and press Return.
src/posting.rs