Scheduling infrastructure for absolutely everyone.
chore: fixes UI nits in onboarding v3 flow (#24863)
sean-brydon99330b3117f7
diff --git a/apps/web/modules/onboarding/hooks/useCreateTeam.ts b/apps/web/modules/onboarding/hooks/useCreateTeam.tsindex 85006b05fa6..005514fc51a 100644--- a/apps/web/modules/onboarding/hooks/useCreateTeam.ts+++ b/apps/web/modules/onboarding/hooks/useCreateTeam.ts@@ -35,7 +35,7 @@ export function useCreateTeam() {if (result.team) {// Not sure we need this flag check - keeping it here for safe keeping as this is called only from v3 onboarding flowconst gettingStartedPath = flags["onboarding-v3"]- ? "/onboarding/getting-started"+ ? "/onboarding/personal/settings": "/getting-started";router.push(gettingStartedPath);}diff --git a/apps/web/modules/onboarding/organization/invite/organization-invite-view.tsx b/apps/web/modules/onboarding/organization/invite/organization-invite-view.tsxindex d3262027126..11f7a590089 100644--- a/apps/web/modules/onboarding/organization/invite/organization-invite-view.tsx+++ b/apps/web/modules/onboarding/organization/invite/organization-invite-view.tsx@@ -188,14 +188,22 @@ export const OrganizationInviteView = ({ userEmail }: OrganizationInviteViewProp<Form form={form} handleSubmit={handleContinue} className="w-full"><div className="flex w-full flex-col gap-4">{/* Email and Team inputs */}- <div className="flex flex-col">- <div className="grid grid-cols-2 gap-2">- <Label className="text-emphasis text-sm font-medium">{t("email")}</Label>- <Label className="text-emphasis text-sm font-medium">{t("team")}</Label>+ <div className="flex flex-col gap-2">+ <div className="grid grid-cols-2">+ <Label+ className="text-emphasis mb-0 text-sm font-medium"+ htmlFor="invites.0.email">+ {t("email")}+ </Label>+ <Label+ className="text-emphasis mb-0 text-sm font-medium"+ htmlFor="invites.0.team">+ {t("team")}+ </Label></div>{fields.map((field, index) => (- <div key={field.id} className="flex items-start gap-0.5 pt-2 md:pt-0">+ <div key={field.id} className="flex items-start gap-0.5"><div className="grid flex-1 items-start gap-2 md:grid-cols-2 "><TextFieldlabelSrOnlydiff --git a/apps/web/modules/onboarding/personal/settings/personal-settings-view.tsx b/apps/web/modules/onboarding/personal/settings/personal-settings-view.tsxindex ae7689211c5..84b4638351d 100644--- a/apps/web/modules/onboarding/personal/settings/personal-settings-view.tsx+++ b/apps/web/modules/onboarding/personal/settings/personal-settings-view.tsx@@ -113,7 +113,6 @@ export const PersonalSettingsView = ({ userEmail, userName }: PersonalSettingsViform.setValue("name", e.target.value);}}placeholder="John Doe"- className="border-default h-7 rounded-[10px] border px-2 py-1.5 text-sm"/>{form.formState.errors.name && (<p className="text-error text-sm">{form.formState.errors.name.message}</p>@@ -128,7 +127,6 @@ export const PersonalSettingsView = ({ userEmail, userName }: PersonalSettingsVi<TimezoneSelectvalue={selectedTimeZone}onChange={({ value }) => setSelectedTimeZone(value)}- size="sm"/><p className="text-subtle text-xs font-normal leading-3">{t("current_time")}{" "}diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 027b69d1f41..076b77c4f68 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -2496,6 +2496,7 @@"additional_url_parameters": "Additional URL parameters","about_your_organization": "About your organization","about_your_organization_description": "Organizations are shared environments where you can create multiple teams with shared members, event types, apps, workflows and more.",+ "create_your_team": "Create your team","create_your_teams": "Create your teams","create_your_teams_description": "Start scheduling together by adding your team members to your organization","invite_organization_admins": "Invite organization members",@@ -3917,13 +3918,18 @@"view_previous_week": "View previous week","view_next_week": "View next week","invite_teammates": "Invite Teammates",+ "invite_team_members": "Invite team members","organization_brand": "Organization Brand","organization_details": "Organization Details","organization_teams": "Organization Teams","personal_profile": "Personal Profile","personal_settings": "Personal Settings",+ "customize_team_brand": "Customize your team brand","team_brand": "Team Brand",+ "team_brand_subtitle": "Customize your team's branding with a logo and color","team_details": "Team Details","team_invite": "Team Invite",+ "team_invite_subtitle": "Invite team members to collaborate and schedule together",+ "team_onboarding_details_subtitle": "Add your team's name and create a unique URL for your team","ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"}