-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
Email template for Productivity Report #8532
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
@@ -34,7 +34,7 @@ | |||
"main": "./dist/lib/server-impl.js", | |||
"scripts": { | |||
"start": "TZ=UTC node ./dist/server.js", | |||
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/", | |||
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/* dist/", |
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.
what else did we copy before?
@@ -28,6 +28,11 @@ export interface IEmailEnvelope { | |||
subject: string; | |||
html: string; | |||
text: string; | |||
attachments?: { |
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.
what's the rationale for this? what did we do before?
@@ -522,32 +527,48 @@ export class EmailService { | |||
} | |||
|
|||
async sendProductivityReportEmail( | |||
userName: 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.
it will be a breaking change for my enterprise PR so we need to cordinate
path: string; | ||
cid: string; | ||
} { | ||
const topPath = path.resolve(__dirname, '../../mailtemplates'); |
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 need to check if everything works with base paths in sandbox
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.
this is the same as templates, but yes, we can check
About the changes