Closed singhcoder694 closed 8 months ago
@singhcoder694 is attempting to deploy a commit to the birthday Team on Vercel.
A member of the Team first needs to authorize it.
The recent update introduces an email notification feature for users once test cases have been generated. This enhancement integrates an email service, leveraging nodemailer
for backend email notifications, and includes new logic in various generator components to trigger emails upon successful generation of test cases.
File Path | Change Summary |
---|---|
.gitignore |
Added package-lock.json to ignore list. |
components/generator/.../arrayGeneratorFunc.js .../graph/graphGeneratorFunc.js .../integer/integerGeneratorFunc.js .../linkedList/linkedListGeneratorFunc.js .../palindrome/palindromeGeneratorFunc.js .../string/stringGeneratorFunc.js |
Added import of sendConfirmation , introduced Success flag and Generate function to handle email notifications on success. |
config/nodemailer.js lib/api.js pages/api/confirm.js |
Implemented nodemailer configuration, sendConfirmation function, and API endpoint for sending emails. |
Objective | Addressed | Explanation |
---|---|---|
Implement Email Notifications for Test Case Generation (#10) | β |
In the code's deep burrow, a feature stirs, With emails sent on whiskers swift as furs. Tests cases born, now users shall hear π¬ "Your data's ready!" chirps the CodeRabbit, clear.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR is missing a Jira ticket reference in the title or description. Please add a Jira ticket reference to the title or description of this PR.
π₯· Code experts: ank1traj
ank1traj has most π©βπ» activity in the files. ank1traj has most π§ knowledge in the files.
To learn more about /:\ gitStream - Visit our Docs
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
testcase-generator | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Dec 25, 2023 11:14am |
@singhcoder694 Please check the review comments. Also, can we add generated data to be downloaded by user in the email?
@ank1traj I also thought to do the same, Ok I would try to do thisπ
Thanks @singhcoder694 for your contributions.
Description
Now on generating values a confirmation mail is sent to user using his email(coming from clerk)
Fixes #10
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
https://github.com/WebSorcery/testcase-generator/assets/114601400/1526158d-014a-472b-ab38-c24a467abf61
Checklist:
Summary by CodeRabbit
New Features
Bug Fixes
package-lock.json
file is ignored to prevent conflicts in dependency tracking.Refactor
Success
flag andGenerate
function.Documentation
Style
Tests
Chores
nodemailer
.Revert