Stu Mason
Stu Mason

Activity

StuMason/cleanconnect
TidyLinker.com
TypeScript
Pull Request Merged

PR #54 merged: 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 details
  • QuoteAcceptedNotification - schedule and amount details
  • QuoteDeclinedNotification - softer, encouraging tone
  • ReviewPromptNotification - branded call to action
  • NewReviewReceivedNotification - consistent greeting/salutation
  • JobCancelledNotification - full booking details

New Notifications

  • BookingReminderNotification - sent to both client and cleaner 24h before
  • PayoutScheduledNotification - sent when payout is created

Stubbed for Future

  • DirectBooking/DirectBookingRequestNotification.php
  • DirectBooking/DirectBookingAcceptedNotification.php
  • DirectBooking/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