coralproject / talk

A better commenting experience from Vox Media
https://coralproject.net
Other
1.89k stars 355 forks source link

DSA - update Reject and moderation reasons modal #4419

Closed kabeaty closed 10 months ago

kabeaty commented 10 months ago

What does this PR do?

This updates the Reject and moderation reasons modal to match updated designs. Note that it leaves adding the required custom reason for Other to a future PR since it needs to be discussed further how to handle.

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 try to reject a comment in the stream or in the admin, and you should see the updated rejection reasons modal. Compare with designs. Try out selecting different rejection reasons, adding explanations, rejecting, going back to change reasons, etc. Make sure to test the Other option since it requires a detailed explanation to be able to reject.

Where any tests migrated to React Testing Library?

How do we deploy this PR?