Skip to content

[engine] Report for Boost violations minds#3935

Ben requested to merge feat/boost-viol-report-m3935 into master

Ticket(s) / Related Merge Requests

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.

  1. Log in as admin.
  2. Find a Boost (make sure it's for an entity you have the owners email for).
  3. Report for Boost content policy violation.
  4. On refresh your Boost should be gone.
  5. On the account that the email belonged to, you should see the Boost as rejected in the console (order is unrelated to this change).
  6. 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)

image

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

Merge request reports