[Front] Show NSFW overlay if entity ownerObj is an NSFW user. front#5658
Ticket(s) / Related Merge Requests
- Issue front#5658
- Engine engine!1108 (merged)
Summary of Changes
Hydrate ownerObjs on export meaning that up to date NSFW tags are provided for ownerObjs.
Testing Considerations
Long pass
- Make posts of various kinds without NSFW
- Make posts of various kinds with NSFW
- Log in as admin and make the posting channel NSFW for Nudity
- Log in as another channel, and remind AND quote the content from the third
- Check from the reminding channel, and other channels that the mask is shown appropriately for all content.
Short pass
Do the above, but instead of steps 1 to 3, remind content from /nsfwuser
's channel.
Deployment Considerations
Standard deployment, feat flag is front-5658-owner-hydration
Regression Scope
Quite a wide scope because this happens on export of most entities. Could have performance implications which is why its gated behind a feature flag.
Platform Affected (web, mobile, etc)
All
Developer Testing Completed
Manual, specs where possible.
Screenshots / Screen Recording
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Ben