feat: Add reminder email for recurrence
This feature adds a way to send notification reminders of a pending checklist. Not only that we remove the create checklist mail and instead, we send a default mail about pending checklist.
JIRA tickets: BB-6439
GitLab Issues: #42 (closed)
Discussions: Link to any public dicussions about this PR or the design/architecture. Otherwise omit this.
Dependencies: None
Screenshots: Always include screenshots if there is any change to the UI.
Sandbox URL: TBD - sandbox is being provisioned.
Merge deadline: "None" if there's no rush, "ASAP" if it's critical, or provide a specific date if there is one.
Testing instructions:
- Follow Navin's Comment to create checklist and recurrence.
- Create a recurrence that repeats in 1 day and check the celeryworker logs
docker logs -f listaflow-celeryworker-1
- The create checklist task should have been executed and "Pending Checklist" mail should be on the terminal
- Change crontab to use
crontab()
so that it runs minutely. - Make sure you have runs which has ending date at least 1 day later.
- Task should get scheduled and mail should be seen on terminal.
Author notes and concerns:
None
Reviewers
Fixes: #42 (closed) Co-authored-by: <> Private-ref: https://tasks.opencraft.com/browse/BB-6439
Edited by Farhaan Bukhsh