Feat/team invite flow (#8804)

* completeOnboarding drives invite flow changes

* Username prefil - force getting started when acc doesnt exist

* Change subtitle text and unique error on multiple invites

* User exists and no password set - generate signup link still

* Fix callback param

* Update packages/trpc/server/routers/viewer/teams/inviteMember.handler.ts

* Fix spacing

* Add password hints

* Fix translations

---------

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
sean-brydonandBailey Pumfleet authored and GitHub committed 2023-05-12 12:52:09 +00:00
1 parent f47c3cd538
commit c55e432bc3
5 files changed
+100 -33

No files matched your search

@@ -49,11 +49,17 @@ export const TeamInviteEmail = (
marginTop: "32px",
lineHeightStep: "24px",
}}>
<>{props.language("email_no_user_invite_subheading", { invitedBy: props.from, appName: APP_NAME })}</>
<>
{props.language("email_user_invite_subheading", {
invitedBy: props.from,
appName: APP_NAME,
teamName: props.teamName,
})}
</>
</p>
<div style={{ display: "flex", justifyContent: "center" }}>
<CallToAction
label={props.language(props.isCalcomMember ? "email_user_cta" : "email_no_user_cta")}
label={props.language(props.isCalcomMember ? "email_user_cta" : "email_not_cal_member_cta")}
href={props.joinLink}
endIconName="linkIcon"
/>