-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server): new email template #9528
base: darksky/add-more-email-notification
Are you sure you want to change the base?
feat(server): new email template #9528
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
8f1f2de
to
24c5637
Compare
import SignUp, { type SignUpProps } from './sign-up'; | ||
|
||
export const renderInviteEmail = (props: InviteProps): Promise<string> => { | ||
return render(<Invite {...props} />); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
c6db235
to
d653599
Compare
f704d82
to
a6acfba
Compare
d653599
to
cf394b2
Compare
a6acfba
to
cb96048
Compare
cf394b2
to
babe511
Compare
cb96048
to
cb293da
Compare
buttonContent: 'Accept & Join', | ||
buttonUrl, | ||
}); | ||
async sendSignUpMail(to: string, url: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can integrate mailer with event system, so we can decouple it from business services
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the sending results of some mails need to be returne to the frontend for success/failure notifications
so not all mailer dep in bussiness modules can be remove until the notification system is completed
babe511
to
4c113aa
Compare
cb293da
to
22e3138
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need snapshot tests for rendered html string
4c113aa
to
c015731
Compare
0d19b34
to
f8929e5
Compare
c015731
to
9658d8c
Compare
1fbb7cb
to
ea4facb
Compare
ea4facb
to
8fc6b93
Compare
use
yarn af server dev:mail
to preview all mail templatefix CLOUD-93