Repository navigation
Email Design - #117
Email Design#117
Conversation
❌ Deploy Preview for able-alliance failed. Why did it fail? →
|
|
Disclaimer: This comment was AI-generated and is not necessarily completely accurate. Please take code comments with a grain of salt.
|
| }); | ||
| }, | ||
|
|
||
| rideConfirmed: async ( |
There was a problem hiding this comment.
When a ride is scheduled or a driver sends a message, the ride and chat flows never call these new email methods. The scheduling flow still sends only the existing assignment notifications, so students do not receive the new confirmation, delay, or message emails. Connect each method to its event and check the recipient’s notification preference.
| <Row> | ||
| <td align="center" className="w-1/2 pr-[16px]" colSpan={1}> | ||
| <Button | ||
| className="box-border w-full rounded-[4px] bg-[#183777] px-[20px] py-[12px] text-center font-semibold text-white" |
There was a problem hiding this comment.
Email styles hardcode design values
This button hardcodes its color and sizes, and the other two templates repeat those values. That makes coordinated design changes harder and does not meet the repository owner’s checklist to use configured design values. Use the project’s design tokens where they can be applied to the email templates.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
chrisgoggins
left a comment
There was a problem hiding this comment.
Good work! I did some minor changes to clean up the overall email flow
Description
Resolves #109
Implemented designs for student notifications including ride confirmed, ride delayed, and new message from driver. Added more notifications to User schema.
Checklist