Closed lukevella closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app | 🔄 Building (Inspect) | Visit Preview | 💬 Add feedback | Sep 7, 2024 10:07am |
landing | 🔄 Building (Inspect) | Visit Preview | 💬 Add feedback | Sep 7, 2024 10:07am |
The changes involve updates to the string interpolation syntax in email templates, specifically altering variable placeholders from single curly braces to double curly braces in the LoginEmail
and NewParticipantConfirmationEmail
components. Additionally, the NewPollEmail
component has had an HTML entity removed from its output. These modifications aim to ensure proper rendering of localized strings and adjust visual elements in the email templates.
File Path | Change Summary |
---|---|
packages/emails/src/templates/login.tsx |
Updated variable placeholders from {domain} to {{domain}} and {supportEmail} to {{supportEmail}} for consistency in i18n syntax. |
packages/emails/src/templates/new-participant-confirmation.tsx |
Changed variable placeholder from {domain} to {{domain}} for improved syntax consistency in i18n. |
packages/emails/src/templates/new-poll.tsx |
Removed the HTML entity → from the rendered output, affecting the visual representation of a button. |
sequenceDiagram
participant User
participant EmailService
participant TemplateEngine
User->>EmailService: Request email
EmailService->>TemplateEngine: Render email template
TemplateEngine->>EmailService: Return rendered email
EmailService->>User: Send email
🐇
In the meadow, changes bloom,
Curly braces find their room.
With every email sent anew,
The templates sing, "Hooray for you!"
A button's arrow waved goodbye,
As rabbits hop and emails fly!
🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes