Adding the submitting partner information#3424
Conversation
When a partner submits a referral, append their information to the email as well.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughnotifyPartnerReferralSubmitted now accepts program and partner objects (removing internal program lookup) and includes partner data in the PartnerReferralSubmitted email template; submit-referral passes program and partner through to the notifier. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SubmitAction as SubmitReferralAction
participant Notifier as notifyPartnerReferralSubmitted
participant EmailSvc as EmailService/Template
User->>SubmitAction: submit referral
SubmitAction->>Notifier: notifyPartnerReferralSubmitted({ referral, program, partner })
Notifier->>EmailSvc: render PartnerReferralSubmitted template (referral + partner)
EmailSvc->>EmailSvc: compile/send email payload
EmailSvc-->>Notifier: send result
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
When a partner submits a referral, append their information to the email as well.
Summary by CodeRabbit
New Features
Style