Repository navigation
Conversation
…olution
Add a Placeholders subsection to the OTP email section listing which
placeholders each field supports, and explain that ${business_name}
resolves to the organization's name when a user signs in to a specific
organization, falling back to the business name otherwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying kinde-docs-preview with
|
| Latest commit: |
058c77e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cde7bb2b.kinde-docs-preview.pages.dev |
| Branch Preview URL: | https://docs-otp-email-placeholders.kinde-docs-preview.pages.dev |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
No actionable comments were generated in the recent review. WalkthroughThe email content guide adds an OTP placeholder reference. It describes ChangesEmail placeholder documentation
Estimated code review effort: 1 (Trivial) | ~4 minutes Change: Other Suggested reviewers: Merge Risk:
|
… content
The OTP email content field also replaces ${expiration_duration} with the
code's validity period, so it isn't sent as typed like other placeholders.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The repository lacks independent implementation or fixtures validating field-specific placeholder allowlists, literal handling of unsupported placeholders, and the empty-organization-name fallback, so these production contracts require product-owner confirmation.
No open issues 🎉
What changed in this PR
Expands the OTP email customization guide to explain supported placeholders and clarify when ${business_name} uses an organization name instead of the business name.
Changes:
- Adds a field-by-field placeholder table, expiration-duration guidance, and handling of unsupported placeholders.
- Documents organization-name resolution, fallback behavior, and using plain text for a fixed business name.
- Links the editing steps to the new subsection and updates the page’s revision date and keywords.
| File | Description |
|---|---|
src/content/docs/design/content-customization/email-content.mdx |
Adds OTP placeholder reference and organization-name guidance; updates navigation and metadata. |
Review effort: Balanced
dtoxvanilla1991
left a comment
There was a problem hiding this comment.
Needs changes. The remaining questions about placeholder allowlists, literal handling of unsupported placeholders, and organization-name fallback are already raised in the Copilot review and lack confirmation from an authoritative source. I found no distinct issue to add.
|
Following up on the Copilot review and @dtoxvanilla1991's comment, which asked for confirmation of three behaviours. I checked each one against the current OTP email code in the product, and all three match what the page says. 1. Placeholders in each field
The placeholder hints in the dashboard editor for Content list only 2. Other placeholder text is sent as typed 3. How No content changes are needed. Requesting re-review from the reviewers who flagged this. |
Description (required)
Adds a Placeholders subsection to the OTP email section of Customize email content.
A customer was confused when
${business_name}in their OTP email showed their organization's name instead of their business name. That's intended, but the page didn't explain it. It only said "Use the placeholders to personalize and define where the code appears."Changes:
${business_name}resolves: the organization's name when the user signs in to a specific organization, otherwise the business name (also used if the organization's name is empty). It's the same in every field and matches the hosted sign-in pages.${business_name}.updateddate is bumped and an "email placeholders" keyword is added.Checked locally with
astro dev: the table, aside and links render correctly.Related issues & labels (optional)
🤖 Generated with Claude Code
Summary by CodeRabbit
${code}and${business_name}placeholders, including how the business name is selected and when it falls back to a default.${business_name}can be replaced with literal text.