-
Notifications
You must be signed in to change notification settings - Fork 1
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
[EASI-3944] Notifications - On Discussion Replied Notification #990
[EASI-3944] Notifications - On Discussion Replied Notification #990
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @OddTomBrooks, this looks like you are on the right track!
I added some more notes as you continue to finalize the implementation.
The other thing not called out is just updating postman as well.
…reator ID to meta
# Conflicts: # pkg/graph/resolvers/activity.resolvers.go # pkg/graph/resolvers/plan_discussion.go
….com:CMSgov/mint-app into EASI-3944/on_discussion_replied_notification
Review is in progress still. @OddTomBrooks, can you target the feature branch here please? This shouldn't merge to main until the frontend is built out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @OddTomBrooks, this is almost there!
I functionally tested the change with postman. I confirmed that a notification is created as expected, and that the email respects the user preference to only send an email when it is activated.
Thank you for the thorough review. All of your requests are in and ready for re-review. A re-review request has also been sent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes @OddTomBrooks, this looks good to go.
d94a42c
into
EASI-4023/fe_on_discussion_reply_notification
* wip: draft of sending notifications on discussion reply * wip: implementing PR feedback * wip: implement various PR feedback * wip: corrected actor ID to be reply creator ID and added discussion creator ID to meta * fix: corrected notification recipient from actor to discussion creator * feat: testing preview for discussion reply notification * chore: updated postman collection * fix: corrected activity meta base struct type * chore: added comment to helper function * chore: deleted unused generated resolver * fix: revereted incorrectly changed user ID assignment * removed irrelevant comment * chore: added more assertions to unit test
* [EASI-3944] Notifications - On Discussion Replied Notification (#990) * wip: draft of sending notifications on discussion reply * wip: implementing PR feedback * wip: implement various PR feedback * wip: corrected actor ID to be reply creator ID and added discussion creator ID to meta * fix: corrected notification recipient from actor to discussion creator * feat: testing preview for discussion reply notification * chore: updated postman collection * fix: corrected activity meta base struct type * chore: added comment to helper function * chore: deleted unused generated resolver * fix: revereted incorrectly changed user ID assignment * removed irrelevant comment * chore: added more assertions to unit test * Add new reply type guard * add more conditional renders based on type guard * Add the new discussion reply gql fragment * implementing new discussion reply into the UI * Add a few more queries to the getNotification query * Notification content to show on discussions * add model name to util * move notification settings to its own test * add e2e test --------- Co-authored-by: Tom Brooks <[email protected]>
EASI-3944
Changes and Description
How to test this change
PR Author Review Checklist
PR Reviewer Guidelines