Skip to content

fix(app): align welcomeEmail props with EmailService#729

Merged
HugoRCD merged 1 commit into
mainfrom
fix/welcome-email-props
Apr 20, 2026
Merged

fix(app): align welcomeEmail props with EmailService#729
HugoRCD merged 1 commit into
mainfrom
fix/welcome-email-props

Conversation

@HugoRCD
Copy link
Copy Markdown
Owner

@HugoRCD HugoRCD commented Apr 20, 2026

Summary

The welcome email template declared name: required but EmailService.generateWelcomeTemplate has always sent username + redirectUrl, which produced a [Vue warn]: Missing required prop: \"name\" every time a user signed up.

  • Renamed the prop from name to username and added redirectUrl.
  • Wired redirectUrl into the CTA button (it was hardcoded to https://app.shelve.cloud, ignoring whatever the caller passed in).

Pre-existing bug, no behavior change beyond removing the warning and honoring redirectUrl.

Test plan

  • Sign up a new user and watch dev server logs: no [Vue warn]: Missing required prop from WelcomeEmail.
  • CTA in the rendered email goes to the configured app URL.

The template declared a required name prop but the service has always
sent username + redirectUrl, producing a Vue warning every time a
welcome email was rendered. Renamed the prop to username and added
redirectUrl, then used redirectUrl on the CTA button (it was hardcoded
to https://app.shelve.cloud, ignoring the value the caller passed in).
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 20, 2026

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

Project Deployment Actions Updated (UTC)
shelve-app Ready Ready Preview, Comment, Open in v0 Apr 20, 2026 10:25am
shelve-lp Ready Ready Preview, Comment Apr 20, 2026 10:25am
shelve-vault Ready Ready Preview, Comment Apr 20, 2026 10:25am

@github-actions github-actions Bot added the bug Something isn't working label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Thank you for following the naming conventions! 🙏

@HugoRCD HugoRCD changed the title fix(email): align welcomeEmail props with EmailService fix(app): align welcomeEmail props with EmailService Apr 20, 2026
@HugoRCD HugoRCD merged commit 996330c into main Apr 20, 2026
14 of 15 checks passed
@HugoRCD HugoRCD deleted the fix/welcome-email-props branch April 20, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant