coralproject / talk

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

[CORL-3136] Fix Akismet spam/not-spam comment submissions #4604

Closed nick-funk closed 3 months ago

nick-funk commented 3 months ago

What does this PR do?

Update approve/reject spam submission to use FLAG__COMMENT_... for retrieving action count status instead of COMMENT_....

When we access the raw actionCounts record, we have to use the serialized values or else they will come back as undefined.

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?

Were any tests migrated to React Testing Library?

No

How do we deploy this PR?

Merge into develop and then release develop into main as usual.

netlify[bot] commented 3 months ago

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
Latest commit f5921c4060f4b809fc8c80814015f42d4ecc6ab2
Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/662bd4fe87e5000008043047