Hides pre-mod notifications in the notification feed until they are approved
These changes will impact:
[X] 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?
Check that pre-mod replies are hidden:
post a comment as a user (call them user A for simplicity)
with another user (user B), who is pre-moderated, reply to A
check A's notifications that it does not show a count increment, or a new notification in the feed
approve the reply made by user B
check the notifications for user A and see the reply shows up
Check that we increment notification count if the user hasn't seen the notifications, but a reply is approved out of pre-mod before they visit notifications:
have user B reply again to user A
approve the reply written by B before user A looks at their notifications
see that the notification count increments for A and if they open the notifications feed, the reply from B is there
What does this PR do?
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?
Check that pre-mod replies are hidden:
Check that we increment notification count if the user hasn't seen the notifications, but a reply is approved out of pre-mod before they visit notifications:
Were any tests migrated to React Testing Library?
No
How do we deploy this PR?
Merge into develop and release with next release.