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

Backend: Sending Emails #147

Open
18 of 21 tasks
elizabethfoster02 opened this issue Apr 1, 2024 · 0 comments
Open
18 of 21 tasks

Backend: Sending Emails #147

elizabethfoster02 opened this issue Apr 1, 2024 · 0 comments
Assignees

Comments

@elizabethfoster02
Copy link

elizabethfoster02 commented Apr 1, 2024

Purpose
When we want to be able to notify admin when a user edits a shift. Send an email if a user cancels/requests/approves a shifts. Some example phrasings for the emails are included below. Or at least look into feasibility

SMTP settings and info for outlook

TODO

  • Claim this ticket by adding your name and moving to "In Progress"
  • Get updated with the codebase
    • git checkout dev
    • git pull
    • THEN create a new branch as per usual
    • npm install (this updates your dependencies)
    • npm run dev
  • Send an email in the case of:
    • Cancelation
      • To all admin: "[Employee name] is unable to make their shift on [date/time]. The shift is now available for other employees to pick up."
      • To the employee who canceled the shift: "You have canceled your shift on [date/time]. The shift is now available for other employees to pick up."
    • Pending section
      • To all admin: "[Employee name] has requested the shift on [date/time]. Approve this shift to assign it to [employee name]."
      • To the employee who requested the shift: "You have requested the shift on [date/time]. A coordinator will approve or cancel this request."
    • Pending => Approved shift
      • To the employee whose shift was approved: "Your request for the shift on [date/time] has been approved."
    • Pending => Canceled shift
      • To the employee whose shift was rejected: "Your request for the shift on [date/time] has been rejected."
  • Create a PR for this ticket
  • Move this ticket into "Ready for Review"

Testing

  • Desktop
@elizabethfoster02 elizabethfoster02 converted this from a draft issue Apr 1, 2024
@elizabethfoster02 elizabethfoster02 changed the title Sending Emails Backend: Sending Emails Apr 7, 2024
@S-P-R S-P-R moved this from Todo to In Progress in JumboCode Casa Myrna Apr 28, 2024
@S-P-R S-P-R moved this from In Progress to Ready for Review in JumboCode Casa Myrna Apr 28, 2024
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

No branches or pull requests

3 participants