[PM-35300] fix emails do not match figma#7609
Conversation
…e message - Updated Handlebars and MJML templates for the admin reset password email to improve clarity and user instructions. - Enhanced the text version to provide step-by-step recovery instructions. - Modified the email service to reflect the organization name in the email subject line.
…-35300-emails-do-not-match-figma
… to the model for improved context and user experience.
…idance - Updated text and Handlebars templates to improve messaging around account recovery steps. - Adjusted links to direct users appropriately based on password reset status.
…overy link logic - Modified Handlebars and MJML templates to adjust the recovery link based on the two-factor reset status. - Ensured consistency in messaging across HTML and text versions of the email.
coroiu
left a comment
There was a problem hiding this comment.
Changes are fine by me, but yeah, re-request when conflicts are fixed
…-35300-fix-emails-do-not-match-figma
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR updates the admin account-recovery email templates (MJML source, compiled HTML, and plain-text) to align all three reset scenarios with Figma: the two-step-login-only headline is reworded, a conditional "Log in to Bitwarden" step is inserted when only 2FA is reset, and the "Recover your account" button deep-links to No findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7609 +/- ##
==========================================
- Coverage 59.82% 59.82% -0.01%
==========================================
Files 2119 2119
Lines 93354 93354
Branches 8282 8282
==========================================
- Hits 55849 55845 -4
- Misses 35522 35527 +5
+ Partials 1983 1982 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Apologies! Yes, I needed to make this PR because my initial PR did not cover all the emails... I had saw the linked Figma only showing 1 email to change, but didn't realize there were 2 others within the Figma via zooming out. This PR accounts for those missed email figmas. Sorry about that |
JimmyVo16
left a comment
There was a problem hiding this comment.
The code looks good.
As a sanity check, can you just make sure the link was generated correctly since it’s in a conditional?
eliykat
left a comment
There was a problem hiding this comment.
Removing my review as @JimmyVo16 has it handled
…-35300-fix-emails-do-not-match-figma
|
dereknance
left a comment
There was a problem hiding this comment.
Platform changes look good.





🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-35300
📔 Objective
Fixes rest of email changes to match figmas that I originally missed because figma was zoomed in... 😬
📸 Screenshots
Reset 2FA and MP

Reset 2FA

Reset MP
