db7d8172f7
<img width="3024" height="1500" alt="CleanShot 2026-06-26 at 18 09 47@2x" src="https://github.com/user-attachments/assets/e91f30a5-2763-42a0-9abf-d9fa8400870c" /> Adds the v2 onboarding **Invite team** page (`INVITE_TEAM`), shown right after the create-profile step for the onboarding-v2 cohort. It renders full-screen under `BlankLayout` via the shared `OnboardingV2Layout`, matching the Figma (340px column, email inputs with inline remove, dark Invite, Skip). Reuses all v1 invite-team logic via a new `useInviteTeam` hook (v1 `InviteTeam` now consumes it too; its UI is unchanged). Routing mirrors `SyncEmailsV2`/`CreateProfileV2`: new `AppPath.InviteTeamV2`, lazy route, and an `isOnboardingV2`-gated branch in `usePageChangeEffectNavigateLocation` (+ tests and a Storybook story). No backend changes. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/22229?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
import { AppPath } from 'twenty-shared/types';
|
|
|
|
export const UNTESTED_APP_PATHS = [
|
|
AppPath.Settings,
|
|
AppPath.Developers,
|
|
AppPath.WorkspaceActivationV2,
|
|
AppPath.CreateProfileV2,
|
|
AppPath.SyncEmailsV2,
|
|
AppPath.InviteTeamV2,
|
|
// Public, unauthenticated redirect route handled in useCreateAppRouter — not
|
|
// part of the onboarding/auth page-change navigation matrix.
|
|
AppPath.Dpa,
|
|
];
|