-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix: tweak invite and verify e-mail templates #8529
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
Conversation
WalkthroughWalkthroughThe recent changes in the NocoDB project focus on refining email templates used for user invitations and email verifications. The updates aim to enhance clarity, consistency, and personalization in the messages. This includes rephrasing invitation texts, ensuring consistent use of the term "e-mail," and updating closing salutations to dynamically include the admin's email address for a more personalized touch. Changes
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- packages/nocodb/src/controllers/auth/ui/emailTemplates/invite.ts (2 hunks)
- packages/nocodb/src/controllers/auth/ui/emailTemplates/verify.ts (2 hunks)
- packages/nocodb/src/services/base-users/ui/emailTemplates/invite.ts (2 hunks)
- packages/nocodb/src/services/base-users/ui/emailTemplates/verify.ts (2 hunks)
Files skipped from review due to trivial changes (1)
- packages/nocodb/src/services/base-users/ui/emailTemplates/verify.ts
Additional comments not posted (6)
packages/nocodb/src/controllers/auth/ui/emailTemplates/verify.ts (2)
135-135
: Change from "email" to "e-mail" enhances consistency in terminology.
163-163
: Updated closing message improves the tone and politeness of the communication.packages/nocodb/src/controllers/auth/ui/emailTemplates/invite.ts (2)
135-136
: Rephrased invitation message is more formal and appropriate. Ensure that placeholders<%- roles %>
and<%- baseName %>
are correctly replaced at runtime.
164-164
: Updated closing message enhances the friendliness of the email.packages/nocodb/src/services/base-users/ui/emailTemplates/invite.ts (2)
135-136
: Identical changes to the otherinvite.ts
: Rephrased invitation message is appropriate. Verify that placeholders<%- roles %>
and<%- baseName %>
are correctly replaced.
164-164
: Consistent with the otherinvite.ts
: Updated closing message improves the tone of the email.
@dstala Do you know why the <%- baseName %> placeholder in the e-mail templates doesn't work, i.e. results in an empty string in the sent e-mail? |
Change Summary
Just some small rewordings / corrections of the invitation and e-mail verification templates.
Change type
Test/ Verification
Untested.
Additional information / screenshots (optional)
Note that the
<%- baseName %>
placeholder doesn't work, i.e. results in an empty string in the sent e-mail. Unfortuantely, I dunno how to fix this.