Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[corl-2844]: Add reject button in view conversation modal in admin #4310

Merged

Conversation

kabeaty
Copy link
Contributor

@kabeaty kabeaty commented Aug 4, 2023

What does this PR do?

These changes make it possible to reject comments using a Reject button in the conversation modal view for comments in the moderation queues in the admin. Once a comment is rejected there, the button text updates to Rejected and becomes disabled.

These changes will impact:

  • commenters
  • 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 test this PR by creating a comment and adding some replies. Find that comment in the admin in the moderation queues. Click its View conversation button. See the Reject button next to each comment in the modal that opens. Click the Reject button. It should say Rejected and be disabled after clicking. Close the modal. See that the comment is now rejected.

If you open a comment from the Rejected queue, it shows in its conversation modal thread as Rejected already upon open, with the option to reject any parent/reply comments to it, as well.

Where any tests migrated to React Testing Library?

How do we deploy this PR?

@netlify
Copy link

netlify bot commented Aug 4, 2023

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit 0825da5
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/64d0f2387089540008bca7c0

@tessalt tessalt added this pull request to the merge queue Aug 17, 2023
Merged via the queue into develop with commit f73984c Aug 17, 2023
7 checks passed
@tessalt tessalt deleted the feat/CORL-2844-add-reject-button-view-conversation-modal branch August 17, 2023 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants