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-3070]: filter out rejected and deleted comments from notifications #4526

Merged

Conversation

kabeaty
Copy link
Contributor

@kabeaty kabeaty commented Feb 5, 2024

What does this PR do?

Filters out any comment reply notifications with comment replies that are rejected or deleted so that these will not show in the notification view.

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 reply to comments and then reject the replies. Go to the original comment author and see that the reply doesn't show in their notification tab. Approve the reply comment. Now a notification should show in their notifications tab for it.

Reply to a comment then delete the author who replied (which will also delete their comment). See that this reply notification doesn't appear in the original commenter's notification tab.

Were any tests migrated to React Testing Library?

How do we deploy this PR?

@kabeaty kabeaty requested a review from nick-funk February 5, 2024 20:39
Copy link
Contributor

@nick-funk nick-funk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@nick-funk nick-funk merged commit 4778b9f into epic/notifications Feb 6, 2024
2 checks passed
@nick-funk nick-funk deleted the feat/CORL-3070-reject-delete-no-notification branch February 6, 2024 19:31
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.

2 participants