You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal for this sprint is to set up email notifications for FOCUS family accounts, using infra’s Juno email service (contact your EM for the docs). Users should receive email notifications whenever they receive comments on their posts. Notifications will be sent together in one batched email once every day. Don't worry too much about the content of the email. For now, just include all the comments a user received, in a format like so:
[Post 1 Name]
Billy family commented: .....
Bob family commented: .....
[Post 2 Name]
Alice family commented: ....
Acceptance Criteria
Create a Notification schema with relevant backend actions. This schema should contain post author id, post id, comment id, commenter id, and time created.
Listen to save events in the Comments collection. For each event, add a corresponding document to the notification collection.
Implement a Netlify function that fetches all notification documents created in the past 24 hours, and sends an email notification through Juno to all relevant users. Notification documents should be deleted once the email alert is sent. Schedule this to run every day at 5 PM. Reach out to your EM for any auth passwords you may need.
Notifications should be emailed in batches. If a user receives multiple comments on any of their posts, they should receive them all in one email.
Ensure that users who have turned off notifications in settings do not receive email alerts
The text was updated successfully, but these errors were encountered:
Description
The goal for this sprint is to set up email notifications for FOCUS family accounts, using infra’s Juno email service (contact your EM for the docs). Users should receive email notifications whenever they receive comments on their posts. Notifications will be sent together in one batched email once every day. Don't worry too much about the content of the email. For now, just include all the comments a user received, in a format like so:
Acceptance Criteria
Comments
collection. For each event, add a corresponding document to the notification collection.The text was updated successfully, but these errors were encountered: