From d60dd5f281052eae088d5d9b9ffd42822e71757f Mon Sep 17 00:00:00 2001 From: Johannes <72809645+jobenjada@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:47:31 +0200 Subject: [PATCH] chore: Streamline Onboarding (#2928) --- .../components/ConnectWithFormbricks.tsx | 7 ++- .../components/InviteOrganizationMember.tsx | 2 +- .../[environmentId]/connect/invite/page.tsx | 4 +- .../[environmentId]/connect/page.tsx | 2 +- apps/web/app/(app)/(onboarding)/lib/utils.ts | 4 +- .../products/new/channel/page.tsx | 16 +++---- .../products/new/industry/page.tsx | 16 +++---- .../settings/components/ProductSettings.tsx | 8 ++-- .../products/new/settings/page.tsx | 2 +- .../survey/components/OnboardingSurvey.tsx | 48 ------------------- .../products/new/survey/page.tsx | 32 ------------- apps/web/playwright/onboarding.spec.ts | 18 +++---- apps/web/playwright/utils/helper.ts | 12 ++--- packages/ui/OptionCard/index.tsx | 4 +- 14 files changed, 50 insertions(+), 125 deletions(-) delete mode 100644 apps/web/app/(app)/(onboarding)/organizations/[organizationId]/products/new/survey/components/OnboardingSurvey.tsx delete mode 100644 apps/web/app/(app)/(onboarding)/organizations/[organizationId]/products/new/survey/page.tsx diff --git a/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/ConnectWithFormbricks.tsx b/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/ConnectWithFormbricks.tsx index 1937531229..209dfb2fc2 100644 --- a/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/ConnectWithFormbricks.tsx +++ b/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/ConnectWithFormbricks.tsx @@ -73,17 +73,20 @@ export const ConnectWithFormbricks = ({ ) : (
lost -

Waiting for your signal...

+

+ Waiting for your signal... +

)} ); diff --git a/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/InviteOrganizationMember.tsx b/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/InviteOrganizationMember.tsx index 08be8a0cd0..1b74ec252b 100644 --- a/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/InviteOrganizationMember.tsx +++ b/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/components/InviteOrganizationMember.tsx @@ -103,7 +103,7 @@ export const InviteOrganizationMember = ({ organization, environmentId }: Invite e.preventDefault(); finishOnboarding(); }}> - Skip + Not now