[engine] Report for Boost violations minds#3935
Ticket(s) / Related Merge Requests
- Issue card: minds#3935
- Front MR: front!2260 (closed)
- Helm MR: helm-charts!136 (closed)
Summary of Changes
Adds a report option to Boosts to report for Boost content policy violation - on report upheld or on admin report directly, will remove the Boost from rotation and send an email to the user informing them.
Testing Considerations
! When testing please do not kill all of the Boosts - they took a good chunk of time to set up !
If you want to test many Boosts - make some Boosts of your own, accept then, and run in an engine pod's engine dir:
source /vault/secrets/env && php cli.php Boost rank
If you cannot get in, make a bunch of Boosts, and DM me and I can do this for you to get them in rotation.
- Log in as admin.
- Find a Boost (make sure it's for an entity you have the owners email for).
- Report for Boost content policy violation.
- On refresh your Boost should be gone.
- On the account that the email belonged to, you should see the Boost as rejected in the console (order is unrelated to this change).
- In your email inbox you should have an email
Make sure you cannot see the option to do this on non-Boosts.
No strikes should be received.
Deployment Considerations
Standard deployment, needs to upgrade runners.
Regression Scope
Report and email on report
Platform Affected (web, mobile, etc)
Web
Developer Testing Completed
Unit (phpspec), manual
Screenshots / Screen Recording
minds#3935 (comment 1366758334)
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