GTBitsOfGood / angels-among-us

Rescue one until there are none
https://staging--angels-among-us.netlify.app
MIT License
4 stars 0 forks source link

Send Email on Foster Request #112

Closed uma-anand closed 1 year ago

uma-anand commented 1 year ago

Send Email on Foster Request

Issue Number(s): #102

When a volunteer requests to foster a dog, we want to send an email to the proper Angels Among Us recipients so that their foster offer can be processed by the admins as efficiently as possible. This email will contain information about the post as well as information about the user (contact info, fostering preferences). The administrators will use the provided details in the email to determine whether the volunteer is a good fit to foster the dog.

Checklist

Critical Changes

Testing

  1. Test on Postman, after removing authentication requirements
  2. Test with faulty email, non-existing Post ID, different types of non-string inputs for Errors
  3. Remember when testing to change the email IDs so we don't send emails to the actual addresses
netlify[bot] commented 1 year ago

Deploy Preview for angels-among-us ready!

Name Link
Latest commit 8fc3ec5cc317f3062515e46596f00dfbc93bd9d4
Latest deploy log https://app.netlify.com/sites/angels-among-us/deploys/6508791c62c3680008063d14
Deploy Preview https://deploy-preview-112--angels-among-us.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 1 year ago

Coverage report for web

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements
20.04% (+0.16% πŸ”Ό)
282/1407
πŸ”΄ Branches
11.79% (+0.11% πŸ”Ό)
50/424
πŸ”΄ Functions 9.27% 37/399
πŸ”΄ Lines
13.5% (+0.24% πŸ”Ό)
162/1200
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------- | :---------------------------------------------------------- | :------- | :----------------------------------------------------------- | :------------------------------------------------------------- | | πŸ”΄ |
`...` / post.ts
|
22.06% (-2.94% πŸ”»)
| 0% |
8.33% (-0.76% πŸ”»)
|
21.54% (-2.27% πŸ”»)
|

Test suite run success

25 tests passing in 2 suites.

Report generated by πŸ§ͺjest coverage report action from 8fc3ec5cc317f3062515e46596f00dfbc93bd9d4

github-actions[bot] commented 1 year ago

Coverage report for web

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements
20.04% (+0.16% πŸ”Ό)
282/1407
πŸ”΄ Branches
11.79% (+0.11% πŸ”Ό)
50/424
πŸ”΄ Functions 9.27% 37/399
πŸ”΄ Lines
13.5% (+0.24% πŸ”Ό)
162/1200
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------- | :---------------------------------------------------------- | :------- | :----------------------------------------------------------- | :------------------------------------------------------------- | | πŸ”΄ |
`...` / post.ts
|
22.06% (-2.94% πŸ”»)
| 0% |
8.33% (-0.76% πŸ”»)
|
21.54% (-2.27% πŸ”»)
|

Test suite run success

25 tests passing in 2 suites.

Report generated by πŸ§ͺjest coverage report action from 8fc3ec5cc317f3062515e46596f00dfbc93bd9d4