Skip to content

Refactor auth email template variables - #45783

Merged
dnywh merged 11 commits into
dnywh/auth-879-reset-email-template-defaultsfrom
chore/refactor-auth-email-template-variables
May 12, 2026
Merged

dnywh merged 11 commits into
dnywh/auth-879-reset-email-template-defaultsfrom
chore/refactor-auth-email-template-variables

Conversation

@joshenlim

Copy link
Copy Markdown
Member

Context

Reworks the template variables section of an email template a little

  • Add a section header with docs button
    image
  • Refactor AuthTemplatesValidation to remove unnecessary description parsing logic in TemplateEditor
  • Update tooltip content to match docs
    • e.g SiteURL: Add inline link for configuration
      image
    • e.g Token: Mention that its swappable with ConfirmationURL if both parameters are available for use in the template (Counter example is the reauthentication template which there's only Token variable available)
      image
      image

@joshenlim
joshenlim requested a review from a team as a code owner May 11, 2026 09:07
@vercel

vercel Bot commented May 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview, Comment May 12, 2026 5:08am
studio-staging Ready Ready Preview, Comment May 12, 2026 5:08am
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored May 12, 2026 5:08am
design-system Skipped Skipped May 12, 2026 5:08am
docs Skipped Skipped May 12, 2026 5:08am
ui-library Skipped Skipped May 12, 2026 5:08am
zone-www-dot-com Skipped Skipped May 12, 2026 5:08am

Request Review

@coderabbitai

coderabbitai Bot commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 8b49e82c-6b6b-4990-b66f-0c4c315de239

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/refactor-auth-email-template-variables

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@supabase

supabase Bot commented May 11, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@joshenlim joshenlim changed the title Refactor auth template email variables Refactor auth email template variables May 11, 2026
@github-actions

github-actions Bot commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  205 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  211 tests across 23 suites
duration  6 minutes, 53 seconds
commit  fa02c8f

Flaky tests

Features › realtime-inspector.spec.ts › Realtime Inspector › Broadcast Messages › broadcast modal validates JSON payload

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected


return (
<AuthLayout title="Email">
<AuthLayout title="Emails">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just making the sidebar route match the naming on the page. It currently says "Email" when the page is called "Emails"

@dnywh
dnywh merged commit d7e5fba into dnywh/auth-879-reset-email-template-defaults May 12, 2026
13 checks passed
@dnywh
dnywh deleted the chore/refactor-auth-email-template-variables branch May 12, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants