These changes update to send through the rejection reason when an illegal content report decision is made and the reported comment is therefore rejected.
These changes will impact:
[x] commenters
[x] moderators
[ ] admins
[ ] developers
What changes to the GraphQL/Database Schema does this PR introduce?
none
Does this PR introduce any new environment variables or feature flags?
no
If any indexes were added, were they added to INDEXES.md?
n/a
How do I test this PR?
You can create a DSA report. Then go into the admin and make an illegal content decision with legal grounds and detailed explanation. Find the comment moderation action for this rejection and see that it includes the correct code for illegal content, as well as the legal grounds and detailed explanation.
Where any tests migrated to React Testing Library?
What does this PR do?
These changes update to send through the rejection reason when an illegal content report decision is made and the reported comment is therefore rejected.
These changes will impact:
What changes to the GraphQL/Database Schema does this PR introduce?
none
Does this PR introduce any new environment variables or feature flags?
no
If any indexes were added, were they added to
INDEXES.md
?n/a
How do I test this PR?
You can create a DSA report. Then go into the admin and make an illegal content decision with legal grounds and detailed explanation. Find the comment moderation action for this rejection and see that it includes the correct code for illegal content, as well as the legal grounds and detailed explanation.
Where any tests migrated to React Testing Library?
How do we deploy this PR?