-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to always expand posts marked with content warnings #2342
Conversation
LGTM, thanks! |
And no, you don't need to add it elsewhere. The other ones will just default to English. |
Great, thanks! |
Sorry, but CI appears to be broken right now. #2349 . I would prefer to get tests passing before merging any PR |
Makes sense - take as long as you need. It looks at first glance to be all unrelated to my PR, but if I have broken anything then please let me know and I'll fix it! |
It looks like there is a small bug with this:
It should collapse on the first try. I'll look at it. |
Fixed it and added a test to confirm the fix: 04388ff |
…olanlawson#2342) Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
Added an option to always expand posts marked with content warnings. If the option is enabled, posts with content warnings are expanded by default, but can be closed using the "show less" button as usual.
This adds a new intl key. I wasn't sure whether the correct approach was just to add the key to en_US or to add it (untranslated) to every language; I've just done the former for now, but if it does need to be added untranslated to every language please let me know and I'll do so.
Fixes #1997.