TidyLinker.com
TypeScript
Pull Request Opened
PR #54 opened: Add branded email copy and new notifications
Summary
- Update email copy in 6 existing notifications with TidyLinker branding
- Add BookingReminderNotification (24h before booking for both parties)
- Add SendBookingReminders command scheduled daily at 9am
- Add PayoutScheduledNotification with event listener
- Stub DirectBooking notifications (clearly marked NOT in use) for future direct booking flow
- Add comprehensive tests for all new notifications
- Document the two booking flows (quote-based vs direct)
Changes
Updated Notifications
NewQuoteReceived- branded copy with job detailsQuoteAcceptedNotification- schedule and amount detailsQuoteDeclinedNotification- softer, encouraging toneReviewPromptNotification- branded call to actionNewReviewReceivedNotification- consistent greeting/salutationJobCancelledNotification- full booking details
New Notifications
BookingReminderNotification- sent to both client and cleaner 24h beforePayoutScheduledNotification- sent when payout is created
Stubbed for Future
DirectBooking/DirectBookingRequestNotification.phpDirectBooking/DirectBookingAcceptedNotification.phpDirectBooking/DirectBookingDeclinedNotification.php- Clearly documented in
DirectBooking/README.md
Test plan
- All 10 new tests pass
- BookingReminderNotification tests
- PayoutScheduledNotification tests
- SendBookingReminders command tests
- PayoutCreated event triggers notification
+1354
additions
-32
deletions
18
files changed