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

Feat/use handlebars for mailing #828

Closed

Conversation

abdou6666
Copy link
Member

Motivation

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #827

Type of change:

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@abdou6666 abdou6666 self-assigned this Mar 13, 2025
Comment on lines 55 to 64
if (
arg &&
type === 'error' &&
typeof arg === 'object' &&
'stack' in arg
) {
super[type](arg.stack);
} else {
super[type](arg);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this to another PR

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its already in different PR #825
The reason it's appearing in this PR is i checkout from that branch should be removed we merge!


module.exports = {
async up(services: MigrationServices) {
await updateContextVarsHandleBarsSyntaxe2(MigrationAction.UP, services);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
await updateContextVarsHandleBarsSyntaxe2(MigrationAction.UP, services);
await updateContextVarsHandleBarsSyntax(MigrationAction.UP, services);

In addition we need to have support for translations

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it here #823

@abdou6666 abdou6666 force-pushed the feat/use-handlebars-for-mailing branch from 3a3366b to bd4c18e Compare March 14, 2025 13:36
@marrouchi marrouchi changed the base branch from main to feat/handlebars-context-var-token-replacement March 20, 2025 11:56
@marrouchi marrouchi changed the base branch from feat/handlebars-context-var-token-replacement to feat/enahnce-error-logs March 20, 2025 11:57
@marrouchi
Copy link
Contributor

Closed in favor of the rebased one : #836

@marrouchi marrouchi closed this Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🤔 [ISSUE] - Replaces ejs with handlebars (emails)
2 participants