coralproject / talk

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

feat/rejection-reason-models #4382

Closed marcushaddon closed 1 year ago

marcushaddon commented 1 year ago

What does this PR do?

This PR brings in the backend models related to rejection reasons, so that any other work that needs to reference them may do so.

These changes will impact:

What changes to the GraphQL/Database Schema does this PR introduce?

New types RejectionReason, REJECTION_REASON_CODE, CommentRejectionReasonInput were created. The model for CommentModerationAction was updated to include an optional field for reason.

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?

npm test and npm run watch.

Where any tests migrated to React Testing Library?

No.

How do we deploy this PR?

No special considerations needed.