[PM-21740 / PM-27878] Update join organization email templates#6941
[PM-21740 / PM-27878] Update join organization email templates#6941
Conversation
… new users, including families and free users.
…ate related methods in OrganizationService for improved user invitation tracking.
…plates for existing and new users, incorporating inviting user information and enhancing the SendInvitesRequest structure.
…d to remove unnecessary properties, streamlining the organization invite email structure and focusing on essential information for user invitations.
|
Great job! No new security vulnerabilities introduced in this pull request |
…ogic by removing the OrganizationCategory enum and consolidating plan type checks. Introduce a new method for formatting expiration dates to enhance code clarity and maintainability.
…es for organization invites, allowing support for TeamsStarter, TeamsStarter2023, and Custom plans in the invitation logic.
…g logic for various plan types, including Enterprise, Teams, Families, Free, and Custom plans, based on user existence and feature flags.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6941 +/- ##
==========================================
+ Coverage 56.35% 56.46% +0.11%
==========================================
Files 1990 1996 +6
Lines 87832 88039 +207
Branches 7835 7845 +10
==========================================
+ Hits 49494 49715 +221
+ Misses 36503 36487 -16
- Partials 1835 1837 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…out consistency across various user types, including adjustments to padding, font weights, and vertical alignment for a more polished appearance.
…stency and layout across various user types, including adjustments to padding, font families, and visibility of icon rows for a more polished appearance.
…emplates # Conflicts: # src/Core/Constants.cs
…le MJML components
| <mj-column width="85%" vertical-align="middle" css-class="mj-bw-ac-icon-row-text-column"> | ||
| ${headAnchorElement} | ||
| <mj-text css-class="mj-bw-ac-icon-row-text" padding="0px 0px 0px 0px" ${BODY_TEXT_STYLES}> | ||
| <span class="mj-bw-ac-icon-row-bullet" style="display: none;">• </span>${this.getAttribute("text")} |
There was a problem hiding this comment.
It looks like mj-bw-ac-icon-row-bullet and style="display: none;" have the same setting. Doesn’t that mean they’ll override each other?
There was a problem hiding this comment.
display: none; is the default for Desktop, mj-bw-ac-icon-row-bullet overrides it for mobile
…bility of bullet points by changing display properties and adding inline text spans.
kdenney
left a comment
There was a problem hiding this comment.
Billing change looks good.
…emplates # Conflicts: # src/Core/MailTemplates/Mjml/emails/AdminConsole/components/mj-bw-ac-icon-row.js
|




🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-28396
https://bitwarden.atlassian.net/browse/PM-27878
📔 Objective
Update organization invite email templates to use MJML-based designs.
📸 Screenshots
Screenshots for each organization plan type along with a zip file with html file + images
Enterprise/Teams - Existing User
enterprise-existing.zip
Enterprise/Teams - New User
enterprise-new.zip
Families - Existing User
family-existing.zip
Families - New User
family-new.zip


Free - Existing User
free-existing.zip


Free - New User
free-new.zip
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes