These changes update the copy sent out for notifications when comments are rejected to be more friendly and descriptive. It also displays the custom reason entered for the Other rejection reason now. And comments rejected for banned words do not send out a notification.
These changes will impact:
[x] commenters
[ ] moderators
[ ] admins
[ ] developers
What changes to the GraphQL/Database Schema does this PR introduce?
Adds in the customReason introduced in another PR so that it can be displayed here if available.
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 test this by making a bunch of comments and rejecting one comment for each rejection reason. Check in the notifications for the user who created those comments that you rejected. See the updated text displayed.
Where any tests migrated to React Testing Library?
What does this PR do?
These changes update the copy sent out for notifications when comments are rejected to be more friendly and descriptive. It also displays the custom reason entered for the
Other
rejection reason now. And comments rejected for banned words do not send out a notification.These changes will impact:
What changes to the GraphQL/Database Schema does this PR introduce?
Adds in the
customReason
introduced in another PR so that it can be displayed here if available.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 test this by making a bunch of comments and rejecting one comment for each rejection reason. Check in the notifications for the user who created those comments that you rejected. See the updated text displayed.
Where any tests migrated to React Testing Library?
How do we deploy this PR?