Skip to content
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

Merged
merged 7 commits into from
Oct 25, 2024

Conversation

Tymek
Copy link
Member

@Tymek Tymek commented Oct 24, 2024

About the changes

image

Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 9:38am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 9:38am

Copy link
Contributor

github-actions bot commented Oct 24, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

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/",
Copy link
Contributor

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?: {
Copy link
Contributor

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,
Copy link
Contributor

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');
Copy link
Contributor

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

Copy link
Member Author

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

@Tymek Tymek marked this pull request as ready for review October 25, 2024 09:38
@Tymek Tymek merged commit 7c37de3 into main Oct 25, 2024
11 checks passed
@Tymek Tymek deleted the 1-3014-port-template-from-brevo-to-unleash branch October 25, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants