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
fix: Support adding a non-existent email as the owner of the organization #14569
fix: Support adding a non-existent email as the owner of the organization #14569
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @hariombalhara and the rest of your teammates on Graphite |
785281e
to
9601522
Compare
9601522
to
aebad2e
Compare
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
No failed tests 🎉 |
…ing_an_non-existent_email_as_the_owner_of_the_organization
…ing_an_non-existent_email_as_the_owner_of_the_organization
1eff72c
to
719d1c4
Compare
…ing_an_non-existent_email_as_the_owner_of_the_organization
…il_as_the_owner_of_the_organization
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.
Great work so far @hariombalhara.
I would say the only blocking comment I have is around user creation. Other than that all my other comments are non-blocking.
Non-blocking
If there is no name, maybe we don't include the "Hi, {email}". Feels weird
If the user didn't exist before, can we add the email verification link in this email as well?
packages/trpc/server/routers/viewer/organizations/create.handler.ts
Outdated
Show resolved
Hide resolved
packages/trpc/server/routers/viewer/teams/inviteMember/inviteMember.handler.ts
Outdated
Show resolved
Hide resolved
…il_as_the_owner_of_the_organization
…er.ts Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
…existent_email_as_the_owner_of_the_organization' into 04-13-fix_support_adding_an_non-existent_email_as_the_owner_of_the_organization
I think you meant 'Hi, {username}'. This is an existing verification email and we send username only in there. Could be an improvement though.
I wanted to keep the approach simple. This would complicate the organization creation email more. We can certainly do it if needed later. |
…il_as_the_owner_of_the_organization
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.
Comments have been resolved or are out of scope for this PR. As always a great discussion @hariombalhara
…il_as_the_owner_of_the_organization
Nice! Does this extend to Platform as well? cc @hariombalhara (can someone tag Morgan idk his github name lol) or do we still have to make sure Platform users create an account? |
What does this PR do?
Fixes #14779
Fixes CAL-3566
Loom(https://www.loom.com/share/2da4f13d16874639ba66cf174052b7bb)
Also, now if a user can't be invited, an error is shown instead of silently ignoring the problem
Type of change
How should this be tested?
Automated Tests
Mandatory Tasks