Group explicit overlay #2402
Summary
Closes #2402 Depends on engine!458 (merged)
Added in overlay for mature groups.
Steps to test
Quick test:
Test logged in and logged out that the overlay shows appropriately for these two groups.
NSFW
- https://feat-group-mature-filter-2402.minds.io/groups/profile/1072258408465305612/feed
- https://feat-group-mature-filter-2402.minds.io/nemofin/
Non nsfw
- https://feat-group-mature-filter-2402.minds.io/groups/profile/1072258496726044686/feed
- https://feat-group-mature-filter-2402.minds.io/minds
Thorough test:
- Make a new user (User A)
- With User A, make 2 groups. Call one
nsfw
and onenon-nsfw
. - Log out, and in as the Minds admin account.
- Mark the
nsfw
group as NSFW using the dropdown (remember to refresh if you don't see the option). - Refresh, it should show the overlay. - note down the URL
- Go to User A's channel, mark it as NSFW for Pornography / Nudity - note down the channel URL.
- Refresh the channel, you should see the explicit overlay.
- Switch it back, and refresh; you should not see the explicit overlay.
- Turn it back on and log out
- Check the channel, it should show overlay and should say that it is a channel.
- Check the group, it should also show overlay and should say that it is a group.
Estimated Regression Scope
This change affects the mature overlay in groups and on channels. In the worst circumstance, it could error out and cause issues showing the channel or group. It's also possible it could error out more subtly and show at inappropriate times (of-course I've definitely aimed for this NOT to happen).
Edited by Ben