The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Remove the install apps onboarding step and rely on pre-installed apps (#27374)
Etienne972453bcf7e7
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphqlindex cc68cb374d3..cefacccefcb 100644--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql@@ -974,7 +974,6 @@ enum OnboardingStatus {WORKSPACE_ACTIVATIONPROFILE_CREATIONSYNC_EMAIL- APPS_INSTALLATIONINVITE_TEAMBOOK_CALLCOMPLETED@@ -4284,7 +4283,6 @@ type Mutation {deleteOneIndex(input: DeleteOneIndexInput!): Index!skipSyncEmailOnboardingStep(isAutoSkipped: Boolean! = false): OnboardingStepSuccess!completeBookCallOnboardingStep(hasBookedCall: Boolean! = false, isAutoSkipped: Boolean! = false): OnboardingStepSuccess!- triggerInstallAppsOnboardingStep(universalIdentifiers: [String!]!, isAutoSkipped: Boolean! = false): OnboardingStepSuccess!goBackToPreviousOnboardingStep: OnboardingStepNavigation!checkoutSession(recurringInterval: SubscriptionInterval!, plan: BillingPlanKey! = PRO, requirePaymentMethod: Boolean! = true, successUrlPath: String): BillingSession!createSubscriptionPaymentIntent(recurringInterval: SubscriptionInterval!, plan: BillingPlanKey! = PRO, requirePaymentMethod: Boolean! = true, successUrlPath: String, idempotencyKey: String!): BillingPaymentIntent!diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.tsindex 89678f1401f..4e756e4d0b1 100644--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts@@ -683,7 +683,7 @@ export interface User {/** Onboarding status */-export type OnboardingStatus = 'PLAN_REQUIRED' | 'WORKSPACE_ACTIVATION' | 'PROFILE_CREATION' | 'SYNC_EMAIL' | 'APPS_INSTALLATION' | 'INVITE_TEAM' | 'BOOK_CALL' | 'COMPLETED'+export type OnboardingStatus = 'PLAN_REQUIRED' | 'WORKSPACE_ACTIVATION' | 'PROFILE_CREATION' | 'SYNC_EMAIL' | 'INVITE_TEAM' | 'BOOK_CALL' | 'COMPLETED'export interface ApplicationRegistration {id: Scalars['UUID']@@ -3637,7 +3637,6 @@ export interface Mutation {deleteOneIndex: IndexskipSyncEmailOnboardingStep: OnboardingStepSuccesscompleteBookCallOnboardingStep: OnboardingStepSuccess- triggerInstallAppsOnboardingStep: OnboardingStepSuccessgoBackToPreviousOnboardingStep: OnboardingStepNavigationcheckoutSession: BillingSessioncreateSubscriptionPaymentIntent: BillingPaymentIntent@@ -7660,7 +7659,6 @@ export interface MutationGenqlSelection{deleteOneIndex?: (IndexGenqlSelection & { __args: {input: DeleteOneIndexInput} })skipSyncEmailOnboardingStep?: (OnboardingStepSuccessGenqlSelection & { __args: {isAutoSkipped: Scalars['Boolean']} })completeBookCallOnboardingStep?: (OnboardingStepSuccessGenqlSelection & { __args: {hasBookedCall: Scalars['Boolean'], isAutoSkipped: Scalars['Boolean']} })- triggerInstallAppsOnboardingStep?: (OnboardingStepSuccessGenqlSelection & { __args: {universalIdentifiers: Scalars['String'][], isAutoSkipped: Scalars['Boolean']} })goBackToPreviousOnboardingStep?: OnboardingStepNavigationGenqlSelectioncheckoutSession?: (BillingSessionGenqlSelection & { __args: {recurringInterval: SubscriptionInterval, plan: BillingPlanKey, requirePaymentMethod: Scalars['Boolean'], successUrlPath?: (Scalars['String'] | null)} })createSubscriptionPaymentIntent?: (BillingPaymentIntentGenqlSelection & { __args: {recurringInterval: SubscriptionInterval, plan: BillingPlanKey, requirePaymentMethod: Scalars['Boolean'], successUrlPath?: (Scalars['String'] | null), idempotencyKey: Scalars['String']} })@@ -11178,7 +11176,6 @@ export const enumOnboardingStatus = {WORKSPACE_ACTIVATION: 'WORKSPACE_ACTIVATION' as const,PROFILE_CREATION: 'PROFILE_CREATION' as const,SYNC_EMAIL: 'SYNC_EMAIL' as const,- APPS_INSTALLATION: 'APPS_INSTALLATION' as const,INVITE_TEAM: 'INVITE_TEAM' as const,BOOK_CALL: 'BOOK_CALL' as const,COMPLETED: 'COMPLETED' as constdiff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.tsindex 86eb51edb67..e21ab32eea4 100644--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts@@ -9709,19 +9709,6 @@ export default {]}],- "triggerInstallAppsOnboardingStep": [- 206,- {- "universalIdentifiers": [- 1,- "[String!]!"- ],- "isAutoSkipped": [- 8,- "Boolean!"- ]- }- ],"goBackToPreviousOnboardingStep": [205],diff --git a/packages/twenty-e2e-testing/tests/authentication/onboarding.spec.ts b/packages/twenty-e2e-testing/tests/authentication/onboarding.spec.tsindex a162a51b86c..90daa0735c4 100644--- a/packages/twenty-e2e-testing/tests/authentication/onboarding.spec.ts+++ b/packages/twenty-e2e-testing/tests/authentication/onboarding.spec.ts@@ -40,16 +40,13 @@ test('New workspace signup goes through every onboarding stage', async ({});const syncEmailsStep = page.getByTestId('onboarding-sync-emails-step');- const installAppsStep = page.getByTestId('onboarding-install-apps-step');const createProfileStep = page.getByTestId('onboarding-create-profile-step');const inviteTeamStep = page.getByTestId('onboarding-invite-team-step');- // Both stages auto-skip when the instance has no connected-account provider- // and no vetted marketplace app, which is how the e2e server is configured.+ // The sync-email stage auto-skips when the instance has no connected-account+ // provider, which is how the e2e server is configured.await test.step('Sync-email stage (when shown)', async () => {- await expect(- syncEmailsStep.or(installAppsStep).or(createProfileStep),- ).toBeVisible({+ await expect(syncEmailsStep.or(createProfileStep)).toBeVisible({timeout: 90000,});@@ -58,7 +55,7 @@ test('New workspace signup goes through every onboarding stage', async ({}await loginPage.clickSkipOnboardingStep();- await expect(installAppsStep.or(createProfileStep)).toBeVisible();+ await expect(createProfileStep).toBeVisible();await test.step('Goes back to the skipped sync-email stage', async () => {await page.getByRole('button', { name: 'Go back' }).click();@@ -70,16 +67,10 @@ test('New workspace signup goes through every onboarding stage', async ({});await loginPage.clickSkipOnboardingStep();- await expect(installAppsStep.or(createProfileStep)).toBeVisible();+ await expect(createProfileStep).toBeVisible();});});- await test.step('Install-apps stage (when shown)', async () => {- if (await installAppsStep.isVisible()) {- await loginPage.clickSkipOnboardingStep();- }- });-await test.step('Create-profile stage', async () => {await expect(createProfileStep).toBeVisible();await loginPage.typeFirstName('Ada');diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.tsindex 5a8fc7e4271..16a5659d186 100644--- a/packages/twenty-front/src/generated-metadata/graphql.ts+++ b/packages/twenty-front/src/generated-metadata/graphql.ts@@ -3287,7 +3287,6 @@ export type Mutation = {trackAnalytics: Analytics;transferApplicationRegistrationOwnership: ApplicationRegistration;triggerInstallApplicationJob: TriggerInstallApplicationJobResult;- triggerInstallAppsOnboardingStep: OnboardingStepSuccess;triggerUninstallApplicationJob: TriggerUninstallApplicationJobResult;uninstallApplication: Scalars['Boolean']['output'];updateApiKey?: Maybe<ApiKey>;@@ -4352,12 +4351,6 @@ export type MutationTriggerInstallApplicationJobArgs = {};-export type MutationTriggerInstallAppsOnboardingStepArgs = {- isAutoSkipped?: Scalars['Boolean']['input'];- universalIdentifiers: Array<Scalars['String']['input']>;-};--export type MutationTriggerUninstallApplicationJobArgs = {input: TriggerUninstallApplicationJobInput;};@@ -4930,7 +4923,6 @@ export enum ObjectSharingReach {/** Onboarding status */export enum OnboardingStatus {- APPS_INSTALLATION = 'APPS_INSTALLATION',BOOK_CALL = 'BOOK_CALL',COMPLETED = 'COMPLETED',INVITE_TEAM = 'INVITE_TEAM',@@ -8939,9 +8931,7 @@ export type FindInstallApplicationJobStatusQueryVariables = Exact<{export type FindInstallApplicationJobStatusQuery = { __typename?: 'Query', findInstallApplicationJobStatus?: { __typename?: 'JobStatus', jobId: string, state: JobState, failedReason?: string | null } | null };-export type FindManyMarketplaceAppsQueryVariables = Exact<{- universalIdentifiers?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;-}>;+export type FindManyMarketplaceAppsQueryVariables = Exact<{ [key: string]: never; }>;export type FindManyMarketplaceAppsQuery = { __typename?: 'Query', findManyMarketplaceApps: Array<{ __typename?: 'MarketplaceApp', id: string, name: string, description: string, author: string, category: string, logoUrl?: string | null, sourcePackage?: string | null, isVetted: boolean }> };@@ -9146,14 +9136,6 @@ export type StartWorkspaceSetupChatMutationVariables = Exact<{export type StartWorkspaceSetupChatMutation = { __typename?: 'Mutation', startWorkspaceSetupChat: { __typename?: 'StartWorkspaceSetupChatResult', outcome: WorkspaceSetupChatOutcome, thread?: { __typename?: 'AgentChatThread', id: string, title?: string | null, totalCacheReadTokens: number, totalInputTokens: number, totalOutputTokens: number, contextWindowTokens?: number | null, conversationSize: number, totalInputCredits: number, totalOutputCredits: number, deletedAt?: string | null, createdAt: string, updatedAt: string } | null } };-export type TriggerInstallAppsOnboardingStepMutationVariables = Exact<{- universalIdentifiers: Array<Scalars['String']['input']> | Scalars['String']['input'];- isAutoSkipped: Scalars['Boolean']['input'];-}>;---export type TriggerInstallAppsOnboardingStepMutation = { __typename?: 'Mutation', triggerInstallAppsOnboardingStep: { __typename?: 'OnboardingStepSuccess', success: boolean } };-export type GetInviteSuggestionsQueryVariables = Exact<{ [key: string]: never; }>;@@ -10818,7 +10800,7 @@ export const SyncMarketplaceCatalogDocument = {"kind":"Document","definitions":[export const TriggerInstallApplicationJobDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TriggerInstallApplicationJob"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TriggerInstallApplicationJobInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triggerInstallApplicationJob"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}}]}}]}}]} as unknown as DocumentNode<TriggerInstallApplicationJobMutation, TriggerInstallApplicationJobMutationVariables>;export const UpgradeApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpgradeApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"appRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"targetVersion"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upgradeApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"appRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"appRegistrationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"targetVersion"},"value":{"kind":"Variable","name":{"kind":"Name","value":"targetVersion"}}}]}]}}]} as unknown as DocumentNode<UpgradeApplicationMutation, UpgradeApplicationMutationVariables>;export const FindInstallApplicationJobStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindInstallApplicationJobStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findInstallApplicationJobStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"failedReason"}}]}}]}}]} as unknown as DocumentNode<FindInstallApplicationJobStatusQuery, FindInstallApplicationJobStatusQueryVariables>;-export const FindManyMarketplaceAppsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyMarketplaceApps"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifiers"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyMarketplaceApps"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifiers"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifiers"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MarketplaceAppFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceApp"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}}]}}]} as unknown as DocumentNode<FindManyMarketplaceAppsQuery, FindManyMarketplaceAppsQueryVariables>;+export const FindManyMarketplaceAppsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyMarketplaceApps"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyMarketplaceApps"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MarketplaceAppFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceApp"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}}]}}]} as unknown as DocumentNode<FindManyMarketplaceAppsQuery, FindManyMarketplaceAppsQueryVariables>;export const FindMarketplaceAppDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMarketplaceAppDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findMarketplaceAppDetail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MarketplaceAppDetailFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceAppDetail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"aboutDescription"}},{"kind":"Field","name":{"kind":"Name","value":"pricingDescription"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailSupport"}},{"kind":"Field","name":{"kind":"Name","value":"issueReportUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImages"}},{"kind":"Field","name":{"kind":"Name","value":"installCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"requestedCapabilities"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlagUniversalIdentifiers"}},{"kind":"Field","name":{"kind":"Name","value":"objectPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"fieldUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}}]}}]}}]}}]} as unknown as DocumentNode<FindMarketplaceAppDetailQuery, FindMarketplaceAppDetailQueryVariables>;export const FindMarketplaceAppManifestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMarketplaceAppManifest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findMarketplaceAppDetail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"manifest"}}]}}]}}]} as unknown as DocumentNode<FindMarketplaceAppManifestQuery, FindMarketplaceAppManifestQueryVariables>;export const FindMinimalMetadataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMinimalMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"minimalMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}}]}},{"kind":"Field","name":{"kind":"Name","value":"views"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"collectionHashes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collectionName"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}}]}}]}}]}}]} as unknown as DocumentNode<FindMinimalMetadataQuery, FindMinimalMetadataQueryVariables>;@@ -10847,7 +10829,6 @@ export const EnrichWorkspaceCompanyDocument = {"kind":"Document","definitions":[export const GoBackToPreviousOnboardingStepDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"GoBackToPreviousOnboardingStep"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"goBackToPreviousOnboardingStep"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}}]}}]}}]} as unknown as DocumentNode<GoBackToPreviousOnboardingStepMutation, GoBackToPreviousOnboardingStepMutationVariables>;export const SkipSyncEmailOnboardingStepDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SkipSyncEmailOnboardingStep"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isAutoSkipped"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"skipSyncEmailOnboardingStep"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"isAutoSkipped"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isAutoSkipped"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<SkipSyncEmailOnboardingStepMutation, SkipSyncEmailOnboardingStepMutationVariables>;export const StartWorkspaceSetupChatDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"StartWorkspaceSetupChat"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"companyContext"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"personContext"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"startWorkspaceSetupChat"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"companyContext"},"value":{"kind":"Variable","name":{"kind":"Name","value":"companyContext"}}},{"kind":"Argument","name":{"kind":"Name","value":"personContext"},"value":{"kind":"Variable","name":{"kind":"Name","value":"personContext"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"outcome"}},{"kind":"Field","name":{"kind":"Name","value":"thread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"totalCacheReadTokens"}},{"kind":"Field","name":{"kind":"Name","value":"totalInputTokens"}},{"kind":"Field","name":{"kind":"Name","value":"totalOutputTokens"}},{"kind":"Field","name":{"kind":"Name","value":"contextWindowTokens"}},{"kind":"Field","name":{"kind":"Name","value":"conversationSize"}},{"kind":"Field","name":{"kind":"Name","value":"totalInputCredits"}},{"kind":"Field","name":{"kind":"Name","value":"totalOutputCredits"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]}}]} as unknown as DocumentNode<StartWorkspaceSetupChatMutation, StartWorkspaceSetupChatMutationVariables>;-export const TriggerInstallAppsOnboardingStepDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TriggerInstallAppsOnboardingStep"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifiers"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isAutoSkipped"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triggerInstallAppsOnboardingStep"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifiers"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifiers"}}},{"kind":"Argument","name":{"kind":"Name","value":"isAutoSkipped"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isAutoSkipped"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<TriggerInstallAppsOnboardingStepMutation, TriggerInstallAppsOnboardingStepMutationVariables>;export const GetInviteSuggestionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetInviteSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getInviteSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]} as unknown as DocumentNode<GetInviteSuggestionsQuery, GetInviteSuggestionsQueryVariables>;export const ResetPageLayoutTabToDefaultDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ResetPageLayoutTabToDefault"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resetPageLayoutTabToDefault"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutTabFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutWidgetFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidget"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"gridPosition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"position"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetGridPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetVerticalListPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"index"}},{"kind":"Field","name":{"kind":"Name","value":"heightBehavior"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetCanvasPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"configuration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BarChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"groupMode"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LineChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"isStacked"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PieChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"groupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"groupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"dateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"orderBy"}},{"kind":"Field","name":{"kind":"Name","value":"manualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"showCenterMetric"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"hideEmptyCategory"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AggregateChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}},{"kind":"Field","name":{"kind":"Name","value":"ratioAggregateConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"optionValue"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IframeConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StandaloneRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"body"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"blocknote"}},{"kind":"Field","name":{"kind":"Name","value":"markdown"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CalendarConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailThreadConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingSummaryConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingTranscriptConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatThreadsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignBodyConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignDetailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldDisplayMode"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"nestedRelationFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"newFieldDefaultVisibility"}},{"kind":"Field","name":{"kind":"Name","value":"shouldAllowUserToSeeHiddenFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormFieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FilesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TasksConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TimelineConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RecordTableConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"recordLimit"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowRunConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowVersionConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FrontComponentConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"headerCommandMenuItemUniversalIdentifiers"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutTabId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutTabFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutTab"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"widgets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutWidgetFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ResetPageLayoutTabToDefaultMutation, ResetPageLayoutTabToDefaultMutationVariables>;export const ResetPageLayoutToDefaultDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ResetPageLayoutToDefault"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resetPageLayoutToDefault"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutWidgetFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidget"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"gridPosition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"position"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetGridPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetVerticalListPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"index"}},{"kind":"Field","name":{"kind":"Name","value":"heightBehavior"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetCanvasPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"configuration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BarChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"groupMode"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LineChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"isStacked"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PieChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"groupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"groupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"dateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"orderBy"}},{"kind":"Field","name":{"kind":"Name","value":"manualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"showCenterMetric"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"hideEmptyCategory"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AggregateChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}},{"kind":"Field","name":{"kind":"Name","value":"ratioAggregateConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"optionValue"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IframeConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StandaloneRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"body"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"blocknote"}},{"kind":"Field","name":{"kind":"Name","value":"markdown"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CalendarConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailThreadConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingSummaryConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingTranscriptConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatThreadsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignBodyConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignDetailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldDisplayMode"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"nestedRelationFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"newFieldDefaultVisibility"}},{"kind":"Field","name":{"kind":"Name","value":"shouldAllowUserToSeeHiddenFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormFieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FilesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TasksConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TimelineConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RecordTableConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"recordLimit"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowRunConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowVersionConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FrontComponentConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"headerCommandMenuItemUniversalIdentifiers"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutTabId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutTabFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutTab"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"widgets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutWidgetFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayout"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"isFirstTabPinned"}},{"kind":"Field","name":{"kind":"Name","value":"defaultTabToFocusOnMobileAndSidePanelId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutTabFragment"}}]}}]}}]} as unknown as DocumentNode<ResetPageLayoutToDefaultMutation, ResetPageLayoutToDefaultMutationVariables>;diff --git a/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.ts b/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.tsindex e153b7e3a8d..c19884cf1f2 100644--- a/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.ts+++ b/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.ts@@ -142,7 +142,6 @@ const testCases: {{ loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.Verify, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -153,7 +152,6 @@ const testCases: {{ loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.SignInUp, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -164,7 +162,6 @@ const testCases: {{ loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: '/workspace-activation' },{ loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: '/create/profile' },{ loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: '/sync/emails' },- { loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: '/invite-team' },{ loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.Invite, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -175,7 +172,6 @@ const testCases: {{ loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: '/workspace-activation' },{ loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: '/create/profile' },{ loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: '/sync/emails' },- { loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: '/invite-team' },{ loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.ResetPassword, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -188,7 +184,6 @@ const testCases: {{ loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.VerifyEmail, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -199,7 +194,6 @@ const testCases: {{ loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: undefined },{ loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.WorkspaceActivation, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -210,7 +204,6 @@ const testCases: {{ loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: undefined },{ loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.CreateProfile, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -221,29 +214,16 @@ const testCases: {{ loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: undefined },- { loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.SyncEmails, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PLAN_REQUIRED, res: AppPath.PlanRequired },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: true, onboardingStatus: OnboardingStatus.COMPLETED, res: getSettingsPath(SettingsPath.Billing) },- { loc: AppPath.InstallApps, isLogged: false, isWorkspaceSuspended: false, onboardingStatus: undefined, res: AppPath.SignInUp },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: undefined },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },- { loc: AppPath.InstallApps, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },-{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PLAN_REQUIRED, res: AppPath.PlanRequired },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: true, onboardingStatus: OnboardingStatus.COMPLETED, res: getSettingsPath(SettingsPath.Billing) },{ loc: AppPath.InviteTeam, isLogged: false, isWorkspaceSuspended: false, onboardingStatus: undefined, res: AppPath.SignInUp },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: undefined },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.InviteTeam, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: AppPath.PlanRequired },@@ -254,7 +234,6 @@ const testCases: {{ loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: undefined },{ loc: AppPath.BookCall, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -265,7 +244,6 @@ const testCases: {{ loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.PlanRequired, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -276,7 +254,6 @@ const testCases: {{ loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.PlanRequiredSuccess, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -287,7 +264,6 @@ const testCases: {{ loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.Index, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: defaultHomePagePath },@@ -298,7 +274,6 @@ const testCases: {{ loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.TasksPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -309,7 +284,6 @@ const testCases: {{ loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.AiChat, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -319,7 +293,6 @@ const testCases: {{ loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.AiChatInbox, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -329,7 +302,6 @@ const testCases: {{ loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.Home, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -340,7 +312,6 @@ const testCases: {{ loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.OpportunitiesPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -351,7 +322,6 @@ const testCases: {{ loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.RecordIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -365,7 +335,6 @@ const testCases: {{ loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.RecordShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -376,7 +345,6 @@ const testCases: {{ loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.WorkflowCoreShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -386,7 +354,6 @@ const testCases: {{ loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.AgentIndexPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -396,7 +363,6 @@ const testCases: {{ loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.AgentShowPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -406,7 +372,6 @@ const testCases: {{ loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.PageLayoutPage, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -421,7 +386,6 @@ const testCases: {{ loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.SettingsCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -432,7 +396,6 @@ const testCases: {{ loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.DevelopersCatchAll, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -443,7 +406,6 @@ const testCases: {{ loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.Authorize, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -454,7 +416,6 @@ const testCases: {{ loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.NotFoundWildcard, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },@@ -465,7 +426,6 @@ const testCases: {{ loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.WORKSPACE_ACTIVATION, res: AppPath.WorkspaceActivation },{ loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.PROFILE_CREATION, res: AppPath.CreateProfile },{ loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.SYNC_EMAIL, res: AppPath.SyncEmails },- { loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.APPS_INSTALLATION, res: AppPath.InstallApps },{ loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.INVITE_TEAM, res: AppPath.InviteTeam },{ loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.BOOK_CALL, res: AppPath.BookCall },{ loc: AppPath.NotFound, isLogged: true, isWorkspaceSuspended: false, onboardingStatus: OnboardingStatus.COMPLETED, res: undefined },diff --git a/packages/twenty-front/src/hooks/usePageChangeEffectNavigateLocation.ts b/packages/twenty-front/src/hooks/usePageChangeEffectNavigateLocation.tsindex bc46097d52c..20d455fae6c 100644--- a/packages/twenty-front/src/hooks/usePageChangeEffectNavigateLocation.ts+++ b/packages/twenty-front/src/hooks/usePageChangeEffectNavigateLocation.ts@@ -149,13 +149,6 @@ export const usePageChangeEffectNavigateLocation = () => {return AppPath.SyncEmails;}- if (- onboardingStatus === OnboardingStatus.APPS_INSTALLATION &&- !isMatchingLocation(location, AppPath.InstallApps)- ) {- return AppPath.InstallApps;- }-if (onboardingStatus === OnboardingStatus.INVITE_TEAM &&!isMatchingLocation(location, AppPath.InviteTeam)diff --git a/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx b/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsxindex 6fd865224dc..1d3216109e4 100644--- a/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx+++ b/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx@@ -340,22 +340,6 @@ export const PageChangeEffect = () => {});break;}- case isMatchingLocation(location, AppPath.InstallApps): {- resetFocusStackToFocusItem({- focusStackItem: {- focusId: PageFocusId.InstallApps,- componentInstance: {- componentType: FocusComponentType.PAGE,- componentInstanceId: PageFocusId.InstallApps,- },- globalHotkeysConfig: {- enableGlobalHotkeysWithModifiers: false,- enableGlobalHotkeysConflictingWithKeyboard: false,- },- },- });- break;- }case isMatchingLocation(location, AppPath.InviteTeam): {resetFocusStackToFocusItem({focusStackItem: {diff --git a/packages/twenty-front/src/modules/app/hooks/useCreateWorkspaceAppRouter.tsx b/packages/twenty-front/src/modules/app/hooks/useCreateWorkspaceAppRouter.tsxindex 88bb9a3e331..a718b12b7a2 100644--- a/packages/twenty-front/src/modules/app/hooks/useCreateWorkspaceAppRouter.tsx+++ b/packages/twenty-front/src/modules/app/hooks/useCreateWorkspaceAppRouter.tsx@@ -58,12 +58,6 @@ const SyncEmails = lazyWithPreload(() =>})),);-const InstallApps = lazyWithPreload(() =>- import('~/pages/onboarding/InstallApps').then((module) => ({- default: module.InstallApps,- })),-);-const InviteTeam = lazyWithPreload(() =>import('~/pages/onboarding/InviteTeam').then((module) => ({default: module.InviteTeam,@@ -92,7 +86,6 @@ const preloadOnboardingPages = () => {WorkspaceActivation.preload();CreateProfile.preload();SyncEmails.preload();- InstallApps.preload();InviteTeam.preload();BookCall.preload();ChooseYourPlan.preload();@@ -220,14 +213,6 @@ const createWorkspaceAppRouter = ({</LazyRoute>),},- {- path: AppPath.InstallApps,- element: (- <LazyRoute fallback={<OnboardingStepPageLoader />}>- <InstallApps />- </LazyRoute>- ),- },{path: AppPath.InviteTeam,element: (diff --git a/packages/twenty-front/src/modules/auth/constants/OnboardingPaths.ts b/packages/twenty-front/src/modules/auth/constants/OnboardingPaths.tsindex 03e9b47d5a2..36752e22a5d 100644--- a/packages/twenty-front/src/modules/auth/constants/OnboardingPaths.ts+++ b/packages/twenty-front/src/modules/auth/constants/OnboardingPaths.ts@@ -4,7 +4,6 @@ export const ONBOARDING_PATHS = [AppPath.WorkspaceActivation,AppPath.CreateProfile,AppPath.SyncEmails,- AppPath.InstallApps,AppPath.InviteTeam,AppPath.PlanRequired,AppPath.PlanRequiredSuccess,diff --git a/packages/twenty-front/src/modules/auth/constants/OnboardingTransitionPaths.ts b/packages/twenty-front/src/modules/auth/constants/OnboardingTransitionPaths.tsindex 5c399c74e19..abffb0c2fb5 100644--- a/packages/twenty-front/src/modules/auth/constants/OnboardingTransitionPaths.ts+++ b/packages/twenty-front/src/modules/auth/constants/OnboardingTransitionPaths.ts@@ -8,7 +8,6 @@ export const ONBOARDING_TRANSITION_PATHS = [AppPath.WorkspaceActivation,AppPath.CreateProfile,AppPath.SyncEmails,- AppPath.InstallApps,AppPath.InviteTeam,AppPath.PlanRequired,AppPath.PlanRequiredSuccess,diff --git a/packages/twenty-front/src/modules/client-config/types/OnboardingConfig.ts b/packages/twenty-front/src/modules/client-config/types/OnboardingConfig.tsindex 6a247075df6..ec24e00f9b4 100644--- a/packages/twenty-front/src/modules/client-config/types/OnboardingConfig.ts+++ b/packages/twenty-front/src/modules/client-config/types/OnboardingConfig.ts@@ -1,7 +1,6 @@export type OnboardingConfig = {importContactsCreditsReward: number;inviteTeamCreditsRewardPerUser: number;- installAppsCreditsReward: number;createProfileCreditsReward: number;upgradeCreditsReward: number;inviteTeamMaxInvites: number;diff --git a/packages/twenty-front/src/modules/marketplace/graphql/queries/findManyMarketplaceApps.ts b/packages/twenty-front/src/modules/marketplace/graphql/queries/findManyMarketplaceApps.tsindex 83ab9217a0c..3ca3e0131e4 100644--- a/packages/twenty-front/src/modules/marketplace/graphql/queries/findManyMarketplaceApps.ts+++ b/packages/twenty-front/src/modules/marketplace/graphql/queries/findManyMarketplaceApps.ts@@ -4,8 +4,8 @@ import { MARKETPLACE_APP_FRAGMENT } from '@/marketplace/graphql/fragments/marketexport const FIND_MANY_MARKETPLACE_APPS = gql`${MARKETPLACE_APP_FRAGMENT}- query FindManyMarketplaceApps($universalIdentifiers: [String!]) {- findManyMarketplaceApps(universalIdentifiers: $universalIdentifiers) {+ query FindManyMarketplaceApps {+ findManyMarketplaceApps {...MarketplaceAppFields}}diff --git a/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts b/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.tsindex 66bce260700..6e6efb72d46 100644--- a/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts+++ b/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts@@ -1,12 +1,8 @@import { useQuery } from '@apollo/client/react';import { FindManyMarketplaceAppsDocument } from '~/generated-metadata/graphql';-export const useMarketplaceApps = ({- universalIdentifiers,-}: { universalIdentifiers?: string[] } = {}) => {- const { data, loading, error } = useQuery(FindManyMarketplaceAppsDocument, {- variables: { universalIdentifiers },- });+export const useMarketplaceApps = () => {+ const { data, loading, error } = useQuery(FindManyMarketplaceAppsDocument);return {data: data?.findManyMarketplaceApps ?? [],diff --git a/packages/twenty-front/src/modules/onboarding/components/OnboardingConstructionSite/__tests__/getOnboardingConstructionSiteStage.test.ts b/packages/twenty-front/src/modules/onboarding/components/OnboardingConstructionSite/__tests__/getOnboardingConstructionSiteStage.test.tsindex 2c7bb0ab091..1d29c942a17 100644--- a/packages/twenty-front/src/modules/onboarding/components/OnboardingConstructionSite/__tests__/getOnboardingConstructionSiteStage.test.ts+++ b/packages/twenty-front/src/modules/onboarding/components/OnboardingConstructionSite/__tests__/getOnboardingConstructionSiteStage.test.ts@@ -15,7 +15,6 @@ describe('getOnboardingConstructionSiteStage', () => {it('should move the construction forward with each step', () => {const stageIndexes = [OnboardingStatus.SYNC_EMAIL,- OnboardingStatus.APPS_INSTALLATION,OnboardingStatus.PROFILE_CREATION,OnboardingStatus.INVITE_TEAM,OnboardingStatus.BOOK_CALL,@@ -27,7 +26,7 @@ describe('getOnboardingConstructionSiteStage', () => {}).stageIndex,);- expect(stageIndexes).toEqual([0, 1, 2, 3, 4]);+ expect(stageIndexes).toEqual([0, 1, 2, 3]);});it('should keep the site on its first stage before the first step that shows it', () => {diff --git a/packages/twenty-front/src/modules/onboarding/components/__tests__/OnboardingStepLayout.test.tsx b/packages/twenty-front/src/modules/onboarding/components/__tests__/OnboardingStepLayout.test.tsxindex 6f8e87fb74f..1110363ee0c 100644--- a/packages/twenty-front/src/modules/onboarding/components/__tests__/OnboardingStepLayout.test.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/__tests__/OnboardingStepLayout.test.tsx@@ -42,7 +42,6 @@ i18n.activate(SOURCE_LOCALE);const onboardingConfig: OnboardingConfig = {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 3,- installAppsCreditsReward: 1,createProfileCreditsReward: 0.5,upgradeCreditsReward: 5,inviteTeamMaxInvites: 3,@@ -97,7 +96,7 @@ describe('OnboardingStepLayout', () => {const freeCreditsLabel = await screen.findByText('free credits');- expect(freeCreditsLabel.parentElement).toHaveTextContent('1.5/3');+ expect(freeCreditsLabel.parentElement).toHaveTextContent('1.5/2');});it('should hide the free credits pill when credits rewards are not configured', () => {diff --git a/packages/twenty-front/src/modules/onboarding/components/free-credits/OnboardingFreeCreditsPopoverContent.tsx b/packages/twenty-front/src/modules/onboarding/components/free-credits/OnboardingFreeCreditsPopoverContent.tsxindex 767f6106509..c02da73c509 100644--- a/packages/twenty-front/src/modules/onboarding/components/free-credits/OnboardingFreeCreditsPopoverContent.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/free-credits/OnboardingFreeCreditsPopoverContent.tsx@@ -8,7 +8,6 @@ import { plural } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { isNonEmptyArray } from 'twenty-shared/utils';import {- IconApps,IconAt,IconCoins,type IconComponent,@@ -76,7 +75,6 @@ export const OnboardingFreeCreditsPopoverContent = ({{ Icon: IconComponent; label: string }> = {importContacts: { Icon: IconAt, label: t`Import contacts` },- installApps: { Icon: IconApps, label: t`Install apps` },createProfile: { Icon: IconUserCircle, label: t`Create profile` },inviteTeam: { Icon: IconUserPlus, label: t`Invite your team` },upgradeTrial: { Icon: IconCreditCard, label: t`Upgrade your trial` },diff --git a/packages/twenty-front/src/modules/onboarding/components/free-credits/__stories__/OnboardingHeaderFreeCredits.stories.tsx b/packages/twenty-front/src/modules/onboarding/components/free-credits/__stories__/OnboardingHeaderFreeCredits.stories.tsxindex 0517e14d5a9..a673f8c1cc9 100644--- a/packages/twenty-front/src/modules/onboarding/components/free-credits/__stories__/OnboardingHeaderFreeCredits.stories.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/free-credits/__stories__/OnboardingHeaderFreeCredits.stories.tsx@@ -40,7 +40,6 @@ const seedOnboardingFreeCredits = ({jotaiStore.set(onboardingConfigState.atom, {importContactsCreditsReward: 1,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 0.5,createProfileCreditsReward: 0.5,upgradeCreditsReward: 2,inviteTeamMaxInvites: 10,@@ -119,20 +118,24 @@ export const FirstStep: Story = {export const EarnedSoFar: Story = {beforeEach: () => {seedOnboardingFreeCredits({- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,- onboardingFreeCredits: { importContacts: 1, seenCredits: 1 },+ onboardingStatus: OnboardingStatus.INVITE_TEAM,+ onboardingFreeCredits: {+ importContacts: 1,+ createProfile: 0.5,+ seenCredits: 1.5,+ },});},play: async ({ canvasElement }) => {const freeCreditsLabel =- await within(canvasElement).findByText('free credit');+ await within(canvasElement).findByText('free credits');await waitFor(() =>- expect(freeCreditsLabel.parentElement).toHaveTextContent('1/1'),+ expect(freeCreditsLabel.parentElement).toHaveTextContent('1.5/1.5'),);await findVisibleTooltip(canvasElement,- 'Start with apps and earn 0.5 free credits',+ 'Earn 0.5 free credits per teammate who joins',);},};@@ -140,8 +143,12 @@ export const EarnedSoFar: Story = {export const EarnedSoFarOnPhone: Story = {beforeEach: () => {seedOnboardingFreeCredits({- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,- onboardingFreeCredits: { importContacts: 1, seenCredits: 1 },+ onboardingStatus: OnboardingStatus.INVITE_TEAM,+ onboardingFreeCredits: {+ importContacts: 1,+ createProfile: 0.5,+ seenCredits: 1.5,+ },});return overrideMediaQueryMatches({ [MOBILE_MEDIA_QUERY]: true });@@ -155,7 +162,7 @@ export const EarnedSoFarOnPhone: Story = {const pill = await within(canvasElement).findByRole('button', {name: /free credit/,});- const freeCreditsLabel = within(pill).getByText('free credit');+ const freeCreditsLabel = within(pill).getByText('free credits');await expect(freeCreditsLabel.getBoundingClientRect().width,@@ -174,10 +181,10 @@ export const NewlyEarned: Story = {},play: async ({ canvasElement }) => {const freeCreditsLabel =- await within(canvasElement).findByText('free credits');+ await within(canvasElement).findByText('free credit');await waitFor(() =>- expect(freeCreditsLabel.parentElement).toHaveTextContent('0/1.5'),+ expect(freeCreditsLabel.parentElement).toHaveTextContent('0/1'),);jotaiStore.set(@@ -190,7 +197,7 @@ export const NewlyEarned: Story = {await within(canvasElement).findByText('+1');await waitFor(() =>- expect(freeCreditsLabel.parentElement).toHaveTextContent('1/1.5'),+ expect(freeCreditsLabel.parentElement).toHaveTextContent('1/1'),);await waitFor(() =>expect(within(canvasElement).queryByText('+1')).not.toBeInTheDocument(),@@ -253,8 +260,7 @@ export const Breakdown: Story = {onboardingStatus: OnboardingStatus.COMPLETED,onboardingFreeCredits: {importContacts: 1,- installApps: 0.5,- inviteTeam: 1,+ inviteTeam: 1.5,seenCredits: 2.5,},numberFormat: NumberFormat.DOTS_AND_COMMA,@@ -272,6 +278,6 @@ export const Breakdown: Story = {await expect(popover.getByText('Create profile')).toBeVisible();await expect(popover.getByText('0/0,5')).toBeVisible();await expect(popover.getByText('Invite your team')).toBeVisible();- await expect(popover.getByText('1/5')).toBeVisible();+ await expect(popover.getByText('1,5/5')).toBeVisible();},};diff --git a/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsProgressEmptyValue.ts b/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsProgressEmptyValue.tsindex a476e4cb56d..9d6062ecebd 100644--- a/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsProgressEmptyValue.ts+++ b/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsProgressEmptyValue.ts@@ -4,7 +4,6 @@ export const ONBOARDING_CREDITS_PROGRESS_EMPTY_VALUE: OnboardingCreditsProgress{rewardCreditsByStep: {importContacts: 0,- installApps: 0,createProfile: 0,inviteTeam: 0,upgradeTrial: 0,diff --git a/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsSteps.ts b/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsSteps.tsindex b57fe463122..60f4a0856f8 100644--- a/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsSteps.ts+++ b/packages/twenty-front/src/modules/onboarding/constants/OnboardingCreditsSteps.ts@@ -1,6 +1,5 @@export const ONBOARDING_CREDITS_STEPS = ['importContacts',- 'installApps','createProfile','inviteTeam','upgradeTrial',diff --git a/packages/twenty-front/src/modules/onboarding/constants/OnboardingFreeCreditsDefaultValue.ts b/packages/twenty-front/src/modules/onboarding/constants/OnboardingFreeCreditsDefaultValue.tsindex fdcaf547a4d..d528e3e51de 100644--- a/packages/twenty-front/src/modules/onboarding/constants/OnboardingFreeCreditsDefaultValue.ts+++ b/packages/twenty-front/src/modules/onboarding/constants/OnboardingFreeCreditsDefaultValue.ts@@ -2,7 +2,6 @@ import { type OnboardingFreeCredits } from '@/onboarding/types/OnboardingFreeCreexport const ONBOARDING_FREE_CREDITS_DEFAULT_VALUE: OnboardingFreeCredits = {importContacts: 0,- installApps: 0,createProfile: 0,inviteTeam: 0,upgradeTrial: 0,diff --git a/packages/twenty-front/src/modules/onboarding/constants/OnboardingInstallableApps.ts b/packages/twenty-front/src/modules/onboarding/constants/OnboardingInstallableApps.tsdeleted file mode 100644index 0a6222d3528..00000000000--- a/packages/twenty-front/src/modules/onboarding/constants/OnboardingInstallableApps.ts+++ /dev/null@@ -1,20 +0,0 @@-import { msg } from '@lingui/core/macro';-import { type OnboardingInstallableApp } from '@/onboarding/types/OnboardingInstallableApp';--export const ONBOARDING_INSTALLABLE_APPS: OnboardingInstallableApp[] = [- {- universalIdentifier: '8da4b8b5-5edf-4880-b51f-ab6e679ec617',- label: msg`Call recorder`,- description: msg`Records and transcribes your meetings`,- },- {- universalIdentifier: '4a1178c1-3535-4a47-b592-231d3216b36f',- label: msg`People Data Labs`,- description: msg`Enriches your people and companies`,- },- {- universalIdentifier: '66a504cc-0a75-410e-a43f-cdeae1db1522',- label: msg`Last contact`,- description: msg`Shows when you last talked to each contact`,- },-];diff --git a/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusByCreditsStep.ts b/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusByCreditsStep.tsindex 36914baadb3..06e2654cbd8 100644--- a/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusByCreditsStep.ts+++ b/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusByCreditsStep.ts@@ -6,7 +6,6 @@ export const ONBOARDING_STATUS_BY_CREDITS_STEP: Record<OnboardingStatus> = {importContacts: OnboardingStatus.SYNC_EMAIL,- installApps: OnboardingStatus.APPS_INSTALLATION,createProfile: OnboardingStatus.PROFILE_CREATION,inviteTeam: OnboardingStatus.INVITE_TEAM,upgradeTrial: OnboardingStatus.PLAN_REQUIRED,diff --git a/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusOrder.ts b/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusOrder.tsindex 657b26aaeab..91e456ad32b 100644--- a/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusOrder.ts+++ b/packages/twenty-front/src/modules/onboarding/constants/OnboardingStatusOrder.ts@@ -3,7 +3,6 @@ import { OnboardingStatus } from '~/generated-metadata/graphql';export const ONBOARDING_STATUS_ORDER = [OnboardingStatus.WORKSPACE_ACTIVATION,OnboardingStatus.SYNC_EMAIL,- OnboardingStatus.APPS_INSTALLATION,OnboardingStatus.PROFILE_CREATION,OnboardingStatus.INVITE_TEAM,OnboardingStatus.BOOK_CALL,diff --git a/packages/twenty-front/src/modules/onboarding/effect-components/InstallAppsAutoSkipEffect.tsx b/packages/twenty-front/src/modules/onboarding/effect-components/InstallAppsAutoSkipEffect.tsxdeleted file mode 100644index 056895edb3a..00000000000--- a/packages/twenty-front/src/modules/onboarding/effect-components/InstallAppsAutoSkipEffect.tsx+++ /dev/null@@ -1,38 +0,0 @@-import { useTriggerInstallAppsOnboardingStep } from '@/onboarding/hooks/useTriggerInstallAppsOnboardingStep';-import { useEffect, useRef } from 'react';--type InstallAppsAutoSkipEffectProps = {- onError: () => void;-};--export const InstallAppsAutoSkipEffect = ({- onError,-}: InstallAppsAutoSkipEffectProps) => {- const triggerInstallAppsOnboardingStep =- useTriggerInstallAppsOnboardingStep();-- // oxlint-disable-next-line twenty/no-state-useref- const hasSkippedRef = useRef(false);-- useEffect(() => {- if (hasSkippedRef.current) {- return;- }- hasSkippedRef.current = true;-- const skip = async () => {- try {- await triggerInstallAppsOnboardingStep({- universalIdentifiers: [],- isAutoSkipped: true,- });- } catch {- onError();- }- };-- void skip();- }, [triggerInstallAppsOnboardingStep, onError]);-- return null;-};diff --git a/packages/twenty-front/src/modules/onboarding/graphql/mutations/triggerInstallAppsOnboardingStep.ts b/packages/twenty-front/src/modules/onboarding/graphql/mutations/triggerInstallAppsOnboardingStep.tsdeleted file mode 100644index 789b8b1388c..00000000000--- a/packages/twenty-front/src/modules/onboarding/graphql/mutations/triggerInstallAppsOnboardingStep.ts+++ /dev/null@@ -1,15 +0,0 @@-import { gql } from '@apollo/client';--export const TRIGGER_INSTALL_APPS_ONBOARDING_STEP = gql`- mutation TriggerInstallAppsOnboardingStep(- $universalIdentifiers: [String!]!- $isAutoSkipped: Boolean!- ) {- triggerInstallAppsOnboardingStep(- universalIdentifiers: $universalIdentifiers- isAutoSkipped: $isAutoSkipped- ) {- success- }- }-`;diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useGoBackToPreviousOnboardingStep.test.tsx b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useGoBackToPreviousOnboardingStep.test.tsxindex b507a2f6890..843e076c306 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useGoBackToPreviousOnboardingStep.test.tsx+++ b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useGoBackToPreviousOnboardingStep.test.tsx@@ -61,15 +61,15 @@ describe('useGoBackToPreviousOnboardingStep', () => {localStorage.clear();jotaiStore.set(currentUserState.atom, {...mockedUserData,- onboardingStatus: OnboardingStatus.PROFILE_CREATION,- previousOnboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ onboardingStatus: OnboardingStatus.INVITE_TEAM,+ previousOnboardingStatus: OnboardingStatus.PROFILE_CREATION,});});it('should apply the statuses returned by the server and flip the motion direction', async () => {const { result } = renderGoBackHook([buildGoBackMock({- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ onboardingStatus: OnboardingStatus.PROFILE_CREATION,previousOnboardingStatus: OnboardingStatus.SYNC_EMAIL,}),]);@@ -81,7 +81,7 @@ describe('useGoBackToPreviousOnboardingStep', () => {const currentUser = jotaiStore.get(currentUserState.atom);expect(currentUser?.onboardingStatus).toBe(- OnboardingStatus.APPS_INSTALLATION,+ OnboardingStatus.PROFILE_CREATION,);expect(currentUser?.previousOnboardingStatus).toBe(OnboardingStatus.SYNC_EMAIL,@@ -121,11 +121,11 @@ describe('useGoBackToPreviousOnboardingStep', () => {});expect(jotaiStore.get(currentUserState.atom)?.onboardingStatus).toBe(- OnboardingStatus.PROFILE_CREATION,+ OnboardingStatus.INVITE_TEAM,);expect(jotaiStore.get(currentUserState.atom)?.previousOnboardingStatus,- ).toBe(OnboardingStatus.APPS_INSTALLATION);+ ).toBe(OnboardingStatus.PROFILE_CREATION);expect(jotaiStore.get(onboardingNavigationDirectionState.atom)).toBe('forward',);@@ -168,7 +168,7 @@ describe('useGoBackToPreviousOnboardingStep', () => {jotaiStore.get(currentUserState.atom)?.previousOnboardingStatus,).toBeNull();expect(jotaiStore.get(currentUserState.atom)?.onboardingStatus).toBe(- OnboardingStatus.PROFILE_CREATION,+ OnboardingStatus.INVITE_TEAM,);expect(mockEnqueueToast).not.toHaveBeenCalled();});diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInstallOnboardingApps.test.ts b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInstallOnboardingApps.test.tsdeleted file mode 100644index 650ccdb231b..00000000000--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInstallOnboardingApps.test.ts+++ /dev/null@@ -1,190 +0,0 @@-import { act, renderHook } from '@testing-library/react';-import { Provider as JotaiProvider } from 'jotai';-import { createElement } from 'react';--import { currentUserState } from '@/auth/states/currentUserState';-import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';-import { onboardingConfigState } from '@/client-config/states/onboardingConfigState';-import { type OnboardingConfig } from '@/client-config/types/OnboardingConfig';-import { useInstallOnboardingApps } from '@/onboarding/hooks/useInstallOnboardingApps';-import { onboardingFreeCreditsFamilyState } from '@/onboarding/states/onboardingFreeCreditsFamilyState';-import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';-import {- jotaiStore,- resetJotaiStore,-} from '@/ui/utilities/state/jotai/jotaiStore';-import {- mockCurrentWorkspace,- mockedUserData,-} from '~/testing/mock-data/users';--const mockTriggerInstallAppsOnboardingStep = jest.fn();--jest.mock('@/onboarding/hooks/useTriggerInstallAppsOnboardingStep', () => ({- useTriggerInstallAppsOnboardingStep: () =>- mockTriggerInstallAppsOnboardingStep,-}));--const AVAILABLE_APPS = ['app-1', 'app-2'];--const onboardingConfig: OnboardingConfig = {- importContactsCreditsReward: 2,- inviteTeamCreditsRewardPerUser: 3,- installAppsCreditsReward: 1,- createProfileCreditsReward: 0.5,- upgradeCreditsReward: 5,- inviteTeamMaxInvites: 3,-};--const Wrapper = ({ children }: { children: React.ReactNode }) =>- createElement(JotaiProvider, { store: jotaiStore }, children);--const renderInstallHook = () => {- const { result } = renderHook(- () => ({- onboardingFreeCredits: useAtomFamilyStateValue(- onboardingFreeCreditsFamilyState,- mockCurrentWorkspace.id,- ),- installOnboardingApps: useInstallOnboardingApps(AVAILABLE_APPS),- }),- { wrapper: Wrapper },- );-- return result;-};--describe('useInstallOnboardingApps', () => {- beforeEach(() => {- localStorage.clear();- resetJotaiStore();- jotaiStore.set(currentWorkspaceState.atom, mockCurrentWorkspace);- jotaiStore.set(onboardingConfigState.atom, onboardingConfig);- jotaiStore.set(currentUserState.atom, {- ...mockedUserData,- isWorkspaceCreator: true,- });- mockTriggerInstallAppsOnboardingStep.mockReset();- });-- it('should install and credit every available app by default', async () => {- mockTriggerInstallAppsOnboardingStep.mockResolvedValue(undefined);-- const result = renderInstallHook();-- await act(async () => {- await result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- expect(mockTriggerInstallAppsOnboardingStep).toHaveBeenCalledWith({- universalIdentifiers: ['app-1', 'app-2'],- isAutoSkipped: false,- });- expect(result.current.onboardingFreeCredits.installApps).toBe(1);- });-- it('should leave out the apps turned off', async () => {- mockTriggerInstallAppsOnboardingStep.mockResolvedValue(undefined);-- const result = renderInstallHook();-- act(() => {- result.current.installOnboardingApps.toggleApp('app-1');- });-- await act(async () => {- await result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- expect(mockTriggerInstallAppsOnboardingStep).toHaveBeenCalledWith({- universalIdentifiers: ['app-2'],- isAutoSkipped: false,- });- });-- it('should credit the apps as soon as their install starts', () => {- mockTriggerInstallAppsOnboardingStep.mockReturnValue(new Promise(() => {}));-- const result = renderInstallHook();-- act(() => {- void result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- expect(result.current.onboardingFreeCredits.installApps).toBe(1);- });-- it('should not credit a skip', async () => {- mockTriggerInstallAppsOnboardingStep.mockResolvedValue(undefined);-- const result = renderInstallHook();-- await act(async () => {- await result.current.installOnboardingApps.skip();- });-- expect(result.current.onboardingFreeCredits.installApps).toBe(0);- });-- it('should reset the completing state and the credits when the step fails', async () => {- mockTriggerInstallAppsOnboardingStep.mockRejectedValue(- new Error('network error'),- );-- const result = renderInstallHook();-- await act(async () => {- await result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- expect(result.current.installOnboardingApps.isCompleting).toBe(false);- expect(result.current.onboardingFreeCredits.installApps).toBe(0);- });-- it('should allow retrying after a failed attempt', async () => {- mockTriggerInstallAppsOnboardingStep- .mockRejectedValueOnce(new Error('network error'))- .mockResolvedValueOnce(undefined);-- const result = renderInstallHook();-- await act(async () => {- await result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- await act(async () => {- await result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- expect(mockTriggerInstallAppsOnboardingStep).toHaveBeenCalledTimes(2);- expect(result.current.onboardingFreeCredits.installApps).toBe(1);- });-- it('should ignore a second submission while one is already in flight', async () => {- let resolveTrigger: () => void = () => {};-- mockTriggerInstallAppsOnboardingStep.mockReturnValue(- new Promise<void>((resolve) => {- resolveTrigger = resolve;- }),- );-- const result = renderInstallHook();-- act(() => {- void result.current.installOnboardingApps.installSelectedAppsAndContinue();- });-- expect(result.current.installOnboardingApps.isCompleting).toBe(true);-- act(() => {- void result.current.installOnboardingApps.skip();- });-- expect(mockTriggerInstallAppsOnboardingStep).toHaveBeenCalledTimes(1);-- await act(async () => {- resolveTrigger();- });- });-});diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInviteTeam.test.ts b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInviteTeam.test.tsindex 1a43254ab1b..eadc4fe9d74 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInviteTeam.test.ts+++ b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useInviteTeam.test.ts@@ -207,7 +207,6 @@ describe('useInviteTeam', () => {jotaiStore.set(onboardingConfigState.atom, {importContactsCreditsReward: 1,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 0.5,createProfileCreditsReward: 0.5,upgradeCreditsReward: 2,inviteTeamMaxInvites: 2,diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useMarkOnboardingFreeCreditsAsSeen.test.ts b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useMarkOnboardingFreeCreditsAsSeen.test.tsindex bff1847bf2a..964543f5087 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useMarkOnboardingFreeCreditsAsSeen.test.ts+++ b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useMarkOnboardingFreeCreditsAsSeen.test.ts@@ -48,7 +48,6 @@ describe('useMarkOnboardingFreeCreditsAsSeen', () => {jotaiStore.set(onboardingConfigState.atom, {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 1,createProfileCreditsReward: 0.5,upgradeCreditsReward: 0.5,inviteTeamMaxInvites: 4,@@ -73,14 +72,14 @@ describe('useMarkOnboardingFreeCreditsAsSeen', () => {expect(result.current.progress.seenCredits).toBe(0);act(() => {- setOnboardingStatus(OnboardingStatus.APPS_INSTALLATION);+ setOnboardingStatus(OnboardingStatus.PROFILE_CREATION);});expect(result.current.progress.newlyEarnedCredits).toBe(2);});it('should mark the counted credits as seen', () => {- setOnboardingStatus(OnboardingStatus.APPS_INSTALLATION);+ setOnboardingStatus(OnboardingStatus.PROFILE_CREATION);jotaiStore.set(onboardingFreeCreditsFamilyState.atomFamily(mockCurrentWorkspace.id),{ ...ONBOARDING_FREE_CREDITS_DEFAULT_VALUE, importContacts: 2 },diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetNextOnboardingStatus.test.ts b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetNextOnboardingStatus.test.tsindex 7e7d83c4b4e..d6bd563a18d 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetNextOnboardingStatus.test.ts+++ b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetNextOnboardingStatus.test.ts@@ -152,36 +152,12 @@ describe('useSetNextOnboardingStatus', () => {expect(shouldOpenAiChatAfterOnboarding).toBe(false);});- it('should install apps after syncing emails', () => {+ it('should create profile after syncing emails', () => {const {nextOnboardingStatus,isWelcomeAnimationVisible,shouldOpenAiChatAfterOnboarding,} = renderHooks(OnboardingStatus.SYNC_EMAIL);- expect(nextOnboardingStatus).toEqual(OnboardingStatus.APPS_INSTALLATION);- expect(isWelcomeAnimationVisible).toBe(false);- expect(shouldOpenAiChatAfterOnboarding).toBe(false);- });-- it('should create profile after syncing emails when more than 1 workspaceMember exist', () => {- const {- nextOnboardingStatus,- isWelcomeAnimationVisible,- shouldOpenAiChatAfterOnboarding,- } = renderHooks(OnboardingStatus.SYNC_EMAIL, {- withOneWorkspaceMember: false,- });- expect(nextOnboardingStatus).toEqual(OnboardingStatus.PROFILE_CREATION);- expect(isWelcomeAnimationVisible).toBe(false);- expect(shouldOpenAiChatAfterOnboarding).toBe(false);- });-- it('should create profile after installing apps', () => {- const {- nextOnboardingStatus,- isWelcomeAnimationVisible,- shouldOpenAiChatAfterOnboarding,- } = renderHooks(OnboardingStatus.APPS_INSTALLATION);expect(nextOnboardingStatus).toEqual(OnboardingStatus.PROFILE_CREATION);expect(isWelcomeAnimationVisible).toBe(false);expect(shouldOpenAiChatAfterOnboarding).toBe(false);diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingStepFreeCredits.test.ts b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingStepFreeCredits.test.tsindex 0e3f42b2127..8c69f877df3 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingStepFreeCredits.test.ts+++ b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingStepFreeCredits.test.ts@@ -43,7 +43,6 @@ describe('useSetOnboardingStepFreeCredits', () => {jotaiStore.set(onboardingConfigState.atom, {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 1,createProfileCreditsReward: 0.5,upgradeCreditsReward: 4,inviteTeamMaxInvites: 4,@@ -68,13 +67,13 @@ describe('useSetOnboardingStepFreeCredits', () => {const result = renderSetStepFreeCreditsHook();act(() => {- result.current.setOnboardingStepFreeCredits('installApps', 1);+ result.current.setOnboardingStepFreeCredits('inviteTeam', 1);});expect(result.current.onboardingFreeCredits).toEqual({...ONBOARDING_FREE_CREDITS_DEFAULT_VALUE,importContacts: 2,- installApps: 1,+ inviteTeam: 1,seenCredits: 2,});});@@ -85,7 +84,7 @@ describe('useSetOnboardingStepFreeCredits', () => {{...ONBOARDING_FREE_CREDITS_DEFAULT_VALUE,importContacts: 2,- installApps: 1,+ inviteTeam: 1,seenCredits: 2,},);@@ -101,7 +100,7 @@ describe('useSetOnboardingStepFreeCredits', () => {expect(result.current.onboardingFreeCredits).toEqual({...ONBOARDING_FREE_CREDITS_DEFAULT_VALUE,importContacts: 2,- installApps: 1,+ inviteTeam: 1,upgradeTrial: 4,seenCredits: 6,});@@ -160,12 +159,12 @@ describe('useSetOnboardingStepFreeCredits', () => {const result = renderSetStepFreeCreditsHook();act(() => {- result.current.setOnboardingStepFreeCredits('installApps', 1);+ result.current.setOnboardingStepFreeCredits('inviteTeam', 1);});expect(result.current.onboardingFreeCredits).toEqual({...ONBOARDING_FREE_CREDITS_DEFAULT_VALUE,- installApps: 1,+ inviteTeam: 1,});expect(jotaiStore.get(@@ -180,7 +179,7 @@ describe('useSetOnboardingStepFreeCredits', () => {const result = renderSetStepFreeCreditsHook();act(() => {- result.current.setOnboardingStepFreeCredits('installApps', 1);+ result.current.setOnboardingStepFreeCredits('inviteTeam', 1);});expect(@@ -202,7 +201,7 @@ describe('useSetOnboardingStepFreeCredits', () => {{...ONBOARDING_FREE_CREDITS_DEFAULT_VALUE,importContacts: 2,- installApps: 1,+ inviteTeam: 1,seenCredits: 3,},);@@ -210,7 +209,7 @@ describe('useSetOnboardingStepFreeCredits', () => {const result = renderSetStepFreeCreditsHook();act(() => {- result.current.setOnboardingStepFreeCredits('installApps', 0);+ result.current.setOnboardingStepFreeCredits('inviteTeam', 0);});expect(result.current.onboardingFreeCredits).toEqual({@@ -221,11 +220,6 @@ describe('useSetOnboardingStepFreeCredits', () => {});it('should announce a new gain after credits counted but never stored were seen', () => {- jotaiStore.set(currentUserState.atom, {- ...mockedUserData,- isWorkspaceCreator: true,- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,- });jotaiStore.set(onboardingFreeCreditsFamilyState.atomFamily(mockCurrentWorkspace.id),{@@ -238,7 +232,7 @@ describe('useSetOnboardingStepFreeCredits', () => {const result = renderSetStepFreeCreditsHook();act(() => {- result.current.setOnboardingStepFreeCredits('installApps', 1);+ result.current.setOnboardingStepFreeCredits('inviteTeam', 1);});expect(diff --git a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingUpgradeTrialFreeCredits.test.ts b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingUpgradeTrialFreeCredits.test.tsindex 9fca07c0d12..e19b7adb4df 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingUpgradeTrialFreeCredits.test.ts+++ b/packages/twenty-front/src/modules/onboarding/hooks/__tests__/useSetOnboardingUpgradeTrialFreeCredits.test.ts@@ -57,7 +57,6 @@ describe('useSetOnboardingUpgradeTrialFreeCredits', () => {jotaiStore.set(onboardingConfigState.atom, {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 1,createProfileCreditsReward: 0.5,upgradeCreditsReward: 4,inviteTeamMaxInvites: 4,diff --git a/packages/twenty-front/src/modules/onboarding/hooks/useInstallOnboardingApps.ts b/packages/twenty-front/src/modules/onboarding/hooks/useInstallOnboardingApps.tsdeleted file mode 100644index 3483f250989..00000000000--- a/packages/twenty-front/src/modules/onboarding/hooks/useInstallOnboardingApps.ts+++ /dev/null@@ -1,69 +0,0 @@-import { useSetOnboardingStepFreeCredits } from '@/onboarding/hooks/useSetOnboardingStepFreeCredits';-import { useTriggerInstallAppsOnboardingStep } from '@/onboarding/hooks/useTriggerInstallAppsOnboardingStep';-import { onboardingCreditsProgressSelector } from '@/onboarding/states/selectors/onboardingCreditsProgressSelector';-import { useStore } from 'jotai';-import { useState } from 'react';-import { isNonEmptyArray } from 'twenty-shared/utils';--export const useInstallOnboardingApps = (- availableUniversalIdentifiers: string[],-) => {- const store = useStore();- const setOnboardingStepFreeCredits = useSetOnboardingStepFreeCredits();- const triggerInstallAppsOnboardingStep =- useTriggerInstallAppsOnboardingStep();-- const [deselectedUniversalIdentifiers, setDeselectedUniversalIdentifiers] =- useState<string[]>([]);- const [isCompleting, setIsCompleting] = useState(false);-- const selectedUniversalIdentifiers = availableUniversalIdentifiers.filter(- (universalIdentifier) =>- !deselectedUniversalIdentifiers.includes(universalIdentifier),- );-- const toggleApp = (universalIdentifier: string) => {- setDeselectedUniversalIdentifiers((currentDeselected) =>- currentDeselected.includes(universalIdentifier)- ? currentDeselected.filter(- (identifier) => identifier !== universalIdentifier,- )- : [...currentDeselected, universalIdentifier],- );- };-- const triggerStep = async (universalIdentifiers: string[]) => {- if (isCompleting) {- return;- }- setIsCompleting(true);-- const installAppsCreditsReward = store.get(- onboardingCreditsProgressSelector.atom,- ).rewardCreditsByStep.installApps;-- setOnboardingStepFreeCredits(- 'installApps',- isNonEmptyArray(universalIdentifiers) ? installAppsCreditsReward : 0,- );-- try {- await triggerInstallAppsOnboardingStep({- universalIdentifiers,- isAutoSkipped: false,- });- } catch {- setOnboardingStepFreeCredits('installApps', 0);- setIsCompleting(false);- }- };-- return {- selectedUniversalIdentifiers,- isCompleting,- toggleApp,- installSelectedAppsAndContinue: () =>- triggerStep(selectedUniversalIdentifiers),- skip: () => triggerStep([]),- };-};diff --git a/packages/twenty-front/src/modules/onboarding/hooks/useOnboardingFreeCreditsTooltipContent.ts b/packages/twenty-front/src/modules/onboarding/hooks/useOnboardingFreeCreditsTooltipContent.tsindex a64194d9848..de111a825f8 100644--- a/packages/twenty-front/src/modules/onboarding/hooks/useOnboardingFreeCreditsTooltipContent.ts+++ b/packages/twenty-front/src/modules/onboarding/hooks/useOnboardingFreeCreditsTooltipContent.ts@@ -50,10 +50,6 @@ export const useOnboardingFreeCreditsTooltipContent = ({onboardingConfig.importContactsCreditsReward,numberFormat,);- const formattedInstallAppsCreditsReward = formatOnboardingCredits(- onboardingConfig.installAppsCreditsReward,- numberFormat,- );const formattedInviteTeamCreditsRewardPerUser = formatOnboardingCredits(onboardingConfig.inviteTeamCreditsRewardPerUser,numberFormat,@@ -81,13 +77,6 @@ export const useOnboardingFreeCreditsTooltipContent = ({other: `${formattedImportContactsAiActions} AI actions, ${formattedImportContactsEnrichments} enrichments or ${formattedImportContactsCallRecordingHours} hours of call recording.`,}),},- installApps: {- title: plural(onboardingConfig.installAppsCreditsReward, {- one: `Start with apps and earn ${formattedInstallAppsCreditsReward} free credit`,- other: `Start with apps and earn ${formattedInstallAppsCreditsReward} free credits`,- }),- description: t`Apps like enrichment and call recording run on credits.`,- },createProfile: null,inviteTeam: {title: plural(onboardingConfig.inviteTeamCreditsRewardPerUser, {diff --git a/packages/twenty-front/src/modules/onboarding/hooks/useTriggerInstallAppsOnboardingStep.ts b/packages/twenty-front/src/modules/onboarding/hooks/useTriggerInstallAppsOnboardingStep.tsdeleted file mode 100644index e525c1d247c..00000000000--- a/packages/twenty-front/src/modules/onboarding/hooks/useTriggerInstallAppsOnboardingStep.ts+++ /dev/null@@ -1,33 +0,0 @@-import { useSetNextOnboardingStatus } from '@/onboarding/hooks/useSetNextOnboardingStatus';-import { getInstallAppsStepHistoryEffect } from '@/onboarding/utils/getInstallAppsStepHistoryEffect';-import { useMutation } from '@apollo/client/react';-import { useCallback } from 'react';-import { TriggerInstallAppsOnboardingStepDocument } from '~/generated-metadata/graphql';--export const useTriggerInstallAppsOnboardingStep = () => {- const setNextOnboardingStatus = useSetNextOnboardingStatus();- const [triggerInstallAppsOnboardingStep] = useMutation(- TriggerInstallAppsOnboardingStepDocument,- );-- return useCallback(- async ({- universalIdentifiers,- isAutoSkipped,- }: {- universalIdentifiers: string[];- isAutoSkipped: boolean;- }) => {- await triggerInstallAppsOnboardingStep({- variables: { universalIdentifiers, isAutoSkipped },- });- setNextOnboardingStatus({- stepHistoryEffect: getInstallAppsStepHistoryEffect({- universalIdentifiers,- isAutoSkipped,- }),- });- },- [triggerInstallAppsOnboardingStep, setNextOnboardingStatus],- );-};diff --git a/packages/twenty-front/src/modules/onboarding/states/selectors/__tests__/onboardingCreditsProgressSelector.test.ts b/packages/twenty-front/src/modules/onboarding/states/selectors/__tests__/onboardingCreditsProgressSelector.test.tsindex d840583db24..b5c4da1265c 100644--- a/packages/twenty-front/src/modules/onboarding/states/selectors/__tests__/onboardingCreditsProgressSelector.test.ts+++ b/packages/twenty-front/src/modules/onboarding/states/selectors/__tests__/onboardingCreditsProgressSelector.test.ts@@ -54,7 +54,6 @@ const buildStore = () => {store.set(onboardingConfigState.atom, {importContactsCreditsReward: 1,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 0.5,createProfileCreditsReward: 0.5,upgradeCreditsReward: 2,inviteTeamMaxInvites: 5,diff --git a/packages/twenty-front/src/modules/onboarding/types/OnboardingInstallableApp.ts b/packages/twenty-front/src/modules/onboarding/types/OnboardingInstallableApp.tsdeleted file mode 100644index 4b12f83087d..00000000000--- a/packages/twenty-front/src/modules/onboarding/types/OnboardingInstallableApp.ts+++ /dev/null@@ -1,7 +0,0 @@-import { type MessageDescriptor } from '@lingui/core';--export type OnboardingInstallableApp = {- universalIdentifier: string;- label: MessageDescriptor;- description: MessageDescriptor;-};diff --git a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getHasJustCompletedOnboarding.test.ts b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getHasJustCompletedOnboarding.test.tsindex 6832b28c772..5e14e528e48 100644--- a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getHasJustCompletedOnboarding.test.ts+++ b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getHasJustCompletedOnboarding.test.ts@@ -24,7 +24,7 @@ describe('getHasJustCompletedOnboarding', () => {expect(getHasJustCompletedOnboarding({previousOnboardingStatus: OnboardingStatus.SYNC_EMAIL,- nextOnboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ nextOnboardingStatus: OnboardingStatus.PROFILE_CREATION,}),).toBe(false);});diff --git a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInstallAppsStepHistoryEffect.test.ts b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInstallAppsStepHistoryEffect.test.tsdeleted file mode 100644index 8c5974b0a00..00000000000--- a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInstallAppsStepHistoryEffect.test.ts+++ /dev/null@@ -1,39 +0,0 @@-import { getInstallAppsStepHistoryEffect } from '@/onboarding/utils/getInstallAppsStepHistoryEffect';--describe('getInstallAppsStepHistoryEffect', () => {- it('should record the step as reversible when the user continued without picking an app', () => {- expect(- getInstallAppsStepHistoryEffect({- universalIdentifiers: [],- isAutoSkipped: false,- }),- ).toBe('recordAsReversible');- });-- it('should leave the history unchanged when the step was auto-skipped', () => {- expect(- getInstallAppsStepHistoryEffect({- universalIdentifiers: [],- isAutoSkipped: true,- }),- ).toBe('leaveUnchanged');- });-- it('should clear the history when apps were picked', () => {- expect(- getInstallAppsStepHistoryEffect({- universalIdentifiers: ['call-recorder'],- isAutoSkipped: false,- }),- ).toBe('clearAfterIrreversibleStep');- });-- it('should clear the history when apps were picked even if the step is flagged as auto-skipped', () => {- expect(- getInstallAppsStepHistoryEffect({- universalIdentifiers: ['call-recorder'],- isAutoSkipped: true,- }),- ).toBe('clearAfterIrreversibleStep');- });-});diff --git a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInviteTeamCreditsReward.test.ts b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInviteTeamCreditsReward.test.tsindex 4c932337f6e..e6f735c0ec0 100644--- a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInviteTeamCreditsReward.test.ts+++ b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getInviteTeamCreditsReward.test.ts@@ -4,7 +4,6 @@ import { getInviteTeamCreditsReward } from '@/onboarding/utils/getInviteTeamCredconst onboardingConfig: OnboardingConfig = {importContactsCreditsReward: 1,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 0.5,createProfileCreditsReward: 0.5,upgradeCreditsReward: 2,inviteTeamMaxInvites: 3,diff --git a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getNextPreviousOnboardingStatus.test.ts b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getNextPreviousOnboardingStatus.test.tsindex 807b1276698..e3f0ba648e1 100644--- a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getNextPreviousOnboardingStatus.test.ts+++ b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getNextPreviousOnboardingStatus.test.ts@@ -26,7 +26,7 @@ describe('getNextPreviousOnboardingStatus', () => {expect(getNextPreviousOnboardingStatus({stepHistoryEffect: 'leaveUnchanged',- currentOnboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ currentOnboardingStatus: OnboardingStatus.PROFILE_CREATION,currentPreviousOnboardingStatus: OnboardingStatus.SYNC_EMAIL,}),).toBe(OnboardingStatus.SYNC_EMAIL);diff --git a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getOnboardingCreditsProgress.test.ts b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getOnboardingCreditsProgress.test.tsindex 1270f969b52..b85601a3ddb 100644--- a/packages/twenty-front/src/modules/onboarding/utils/__tests__/getOnboardingCreditsProgress.test.ts+++ b/packages/twenty-front/src/modules/onboarding/utils/__tests__/getOnboardingCreditsProgress.test.ts@@ -8,7 +8,6 @@ import { OnboardingStatus } from '~/generated-metadata/graphql';const onboardingConfig: OnboardingConfig = {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 0.5,- installAppsCreditsReward: 1,createProfileCreditsReward: 0.5,upgradeCreditsReward: 0.5,inviteTeamMaxInvites: 4,@@ -51,7 +50,7 @@ const PROFILE_CREDITS_CASES: {},{title: 'not count the profile names before the profile step',- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ onboardingStatus: OnboardingStatus.SYNC_EMAIL,isWorkspaceCreator: true,profileName: { firstName: 'Tim', lastName: 'Apple' },createProfile: 0,@@ -80,7 +79,6 @@ describe('getOnboardingCreditsProgress', () => {).toEqual({rewardCreditsByStep: {importContacts: 2,- installApps: 1,createProfile: 0.5,inviteTeam: 2,upgradeTrial: 0.5,@@ -102,7 +100,6 @@ describe('getOnboardingCreditsProgress', () => {const progress = getOnboardingCreditsProgress({onboardingFreeCredits: buildOnboardingFreeCredits({importContacts: 2,- installApps: 1,createProfile: 0.5,inviteTeam: 1,upgradeTrial: 0.5,@@ -116,15 +113,14 @@ describe('getOnboardingCreditsProgress', () => {inviteTeamValidEmailsCount: 0,});- expect(progress.earnedCredits).toBe(5);+ expect(progress.earnedCredits).toBe(4);});it('should announce the counted credits not seen yet', () => {const progress = getOnboardingCreditsProgress({onboardingFreeCredits: buildOnboardingFreeCredits({importContacts: 2,- installApps: 1,- seenCredits: 2,+ seenCredits: 1,}),onboardingConfig,onboardingStatus: OnboardingStatus.PROFILE_CREATION,@@ -134,7 +130,7 @@ describe('getOnboardingCreditsProgress', () => {inviteTeamValidEmailsCount: 0,});- expect(progress.earnedCredits).toBe(3);+ expect(progress.earnedCredits).toBe(2);expect(progress.newlyEarnedCredits).toBe(1);expect(progress.isFirstCreditsGain).toBe(false);});@@ -143,7 +139,7 @@ describe('getOnboardingCreditsProgress', () => {const progress = getOnboardingCreditsProgress({onboardingFreeCredits: buildOnboardingFreeCredits({ importContacts: 2 }),onboardingConfig,- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ onboardingStatus: OnboardingStatus.PROFILE_CREATION,isWorkspaceCreator: true,isPlanRequired: false,profileName: null,@@ -152,8 +148,8 @@ describe('getOnboardingCreditsProgress', () => {expect(progress.earnedCredits).toBe(2);expect(progress.goalCredits).toBe(2);- expect(progress.currentStep).toBe('installApps');- expect(progress.currentStepCredits).toBe(1);+ expect(progress.currentStep).toBe('createProfile');+ expect(progress.currentStepCredits).toBe(0.5);});it('should not count the email reward while the mailbox step is at hand', () => {@@ -172,7 +168,6 @@ describe('getOnboardingCreditsProgress', () => {).toEqual({rewardCreditsByStep: {importContacts: 2,- installApps: 1,createProfile: 0.5,inviteTeam: 2,upgradeTrial: 0.5,@@ -202,7 +197,7 @@ describe('getOnboardingCreditsProgress', () => {});expect(progress.earnedCredits).toBe(0);- expect(progress.goalCredits).toBe(3);+ expect(progress.goalCredits).toBe(2);expect(progress.currentStep).toBe('createProfile');});@@ -218,7 +213,7 @@ describe('getOnboardingCreditsProgress', () => {});expect(progress.earnedCredits).toBe(0.5);- expect(progress.goalCredits).toBe(3.5);+ expect(progress.goalCredits).toBe(2.5);expect(progress.currentStep).toBe('inviteTeam');expect(progress.currentStepCredits).toBe(2);});@@ -239,7 +234,7 @@ describe('getOnboardingCreditsProgress', () => {});expect(progress.earnedCredits).toBe(3.5);- expect(progress.goalCredits).toBe(4.5);+ expect(progress.goalCredits).toBe(3.5);});it('should point at the upgrade reward on the plan step', () => {@@ -253,7 +248,7 @@ describe('getOnboardingCreditsProgress', () => {inviteTeamValidEmailsCount: 0,});- expect(progress.goalCredits).toBe(4);+ expect(progress.goalCredits).toBe(3);expect(progress.currentStep).toBe('upgradeTrial');expect(progress.currentStepCredits).toBe(0.5);});@@ -321,14 +316,13 @@ describe('getOnboardingCreditsProgress', () => {inviteTeamValidEmailsCount: 0,});- expect(progress.goalCredits).toBe(3.5);+ expect(progress.goalCredits).toBe(2.5);});it('should keep the earned upgrade reward in the goal once the workspace has a plan', () => {const progress = getOnboardingCreditsProgress({onboardingFreeCredits: buildOnboardingFreeCredits({importContacts: 2,- installApps: 1,createProfile: 0.5,upgradeTrial: 0.5,}),@@ -340,8 +334,8 @@ describe('getOnboardingCreditsProgress', () => {inviteTeamValidEmailsCount: 0,});- expect(progress.earnedCredits).toBe(4);- expect(progress.goalCredits).toBe(4);+ expect(progress.earnedCredits).toBe(3);+ expect(progress.goalCredits).toBe(3);});it('should recap what each step done earned out of its reward', () => {@@ -361,7 +355,6 @@ describe('getOnboardingCreditsProgress', () => {expect(progress.earnedCreditsByStep).toEqual([{ step: 'importContacts', credits: 2, rewardCredits: 2 },- { step: 'installApps', credits: 0, rewardCredits: 1 },{ step: 'createProfile', credits: 0.5, rewardCredits: 0.5 },{ step: 'inviteTeam', credits: 0.5, rewardCredits: 2 },{ step: 'upgradeTrial', credits: 0, rewardCredits: 0.5 },@@ -372,7 +365,7 @@ describe('getOnboardingCreditsProgress', () => {const progress = getOnboardingCreditsProgress({onboardingFreeCredits: buildOnboardingFreeCredits({ importContacts: 2 }),onboardingConfig,- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,+ onboardingStatus: OnboardingStatus.PROFILE_CREATION,isWorkspaceCreator: true,isPlanRequired: false,profileName: null,@@ -400,22 +393,6 @@ describe('getOnboardingCreditsProgress', () => {expect(progress.currentStepCredits).toBe(0);});- it('should count the apps credits while the install runs on the apps step', () => {- const progress = getOnboardingCreditsProgress({- onboardingFreeCredits: buildOnboardingFreeCredits({ installApps: 1 }),- onboardingConfig,- onboardingStatus: OnboardingStatus.APPS_INSTALLATION,- isWorkspaceCreator: true,- isPlanRequired: false,- profileName: null,- inviteTeamValidEmailsCount: 0,- });-- expect(progress.earnedCredits).toBe(1);- expect(progress.currentStep).toBeNull();- expect(progress.currentStepCredits).toBe(0);- });-it.each(PROFILE_CREDITS_CASES)('should $title',({ onboardingStatus, isWorkspaceCreator, profileName, createProfile }) => {diff --git a/packages/twenty-front/src/modules/onboarding/utils/getInstallAppsStepHistoryEffect.ts b/packages/twenty-front/src/modules/onboarding/utils/getInstallAppsStepHistoryEffect.tsdeleted file mode 100644index 5c3209036e0..00000000000--- a/packages/twenty-front/src/modules/onboarding/utils/getInstallAppsStepHistoryEffect.ts+++ /dev/null@@ -1,15 +0,0 @@-import { type OnboardingStepHistoryEffect } from '@/onboarding/types/OnboardingStepHistoryEffect';--export const getInstallAppsStepHistoryEffect = ({- universalIdentifiers,- isAutoSkipped,-}: {- universalIdentifiers: string[];- isAutoSkipped: boolean;-}): OnboardingStepHistoryEffect => {- if (universalIdentifiers.length > 0) {- return 'clearAfterIrreversibleStep';- }-- return isAutoSkipped ? 'leaveUnchanged' : 'recordAsReversible';-};diff --git a/packages/twenty-front/src/modules/onboarding/utils/getNextOnboardingStatus.ts b/packages/twenty-front/src/modules/onboarding/utils/getNextOnboardingStatus.tsindex 4fa4bbead02..55d288d43de 100644--- a/packages/twenty-front/src/modules/onboarding/utils/getNextOnboardingStatus.ts+++ b/packages/twenty-front/src/modules/onboarding/utils/getNextOnboardingStatus.ts@@ -35,13 +35,6 @@ export const getNextOnboardingStatus = ({}if (currentUser?.onboardingStatus === OnboardingStatus.SYNC_EMAIL) {- if (currentWorkspace?.workspaceMembersCount === 1) {- return OnboardingStatus.APPS_INSTALLATION;- }- return OnboardingStatus.PROFILE_CREATION;- }-- if (currentUser?.onboardingStatus === OnboardingStatus.APPS_INSTALLATION) {return OnboardingStatus.PROFILE_CREATION;}diff --git a/packages/twenty-front/src/modules/onboarding/utils/getOnboardingCreditsProgress.ts b/packages/twenty-front/src/modules/onboarding/utils/getOnboardingCreditsProgress.tsindex 214de3b5123..8cd8a64330e 100644--- a/packages/twenty-front/src/modules/onboarding/utils/getOnboardingCreditsProgress.ts+++ b/packages/twenty-front/src/modules/onboarding/utils/getOnboardingCreditsProgress.ts@@ -36,9 +36,6 @@ export const getOnboardingCreditsProgress = ({importContacts: isWorkspaceCreator? onboardingConfig.importContactsCreditsReward: 0,- installApps: isWorkspaceCreator- ? onboardingConfig.installAppsCreditsReward- : 0,createProfile: isWorkspaceCreator? onboardingConfig.createProfileCreditsReward: 0,@@ -79,10 +76,6 @@ export const getOnboardingCreditsProgress = ({return 0;}- if (step === 'installApps') {- return onboardingFreeCredits.installApps;- }-if (step === 'createProfile' && hasProfileName) {return rewardCreditsByStep.createProfile;}diff --git a/packages/twenty-front/src/modules/types/PageFocusId.ts b/packages/twenty-front/src/modules/types/PageFocusId.tsindex 04e460dce23..3956eb97383 100644--- a/packages/twenty-front/src/modules/types/PageFocusId.ts+++ b/packages/twenty-front/src/modules/types/PageFocusId.ts@@ -5,7 +5,6 @@ export enum PageFocusId {CreateProfile = 'create-profile',InviteTeam = 'invite-team',SyncEmail = 'sync-email',- InstallApps = 'install-apps',PlanRequired = 'plan-required',RecordShowPage = 'record-show-page',RecordIndex = 'record-index',diff --git a/packages/twenty-front/src/pages/onboarding/InstallApps.tsx b/packages/twenty-front/src/pages/onboarding/InstallApps.tsxdeleted file mode 100644index 9001c68e9d1..00000000000--- a/packages/twenty-front/src/pages/onboarding/InstallApps.tsx+++ /dev/null@@ -1,52 +0,0 @@-import { useMarketplaceApps } from '@/marketplace/hooks/useMarketplaceApps';-import { ONBOARDING_INSTALLABLE_APPS } from '@/onboarding/constants/OnboardingInstallableApps';-import { InstallAppsAutoSkipEffect } from '@/onboarding/effect-components/InstallAppsAutoSkipEffect';-import { useCallback, useState } from 'react';-import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';-import { InstallAppsContent } from '~/pages/onboarding/InstallAppsContent';--const ONBOARDING_INSTALLABLE_APP_UNIVERSAL_IDENTIFIERS =- ONBOARDING_INSTALLABLE_APPS.map((app) => app.universalIdentifier);--export const InstallApps = () => {- const {- data: marketplaceApps,- isLoading,- error,- } = useMarketplaceApps({- universalIdentifiers: ONBOARDING_INSTALLABLE_APP_UNIVERSAL_IDENTIFIERS,- });- const [hasAutoSkipFailed, setHasAutoSkipFailed] = useState(false);-- const availableApps = ONBOARDING_INSTALLABLE_APPS.flatMap((app) => {- const marketplaceApp = marketplaceApps.find(- (marketplaceApp) =>- marketplaceApp.id === app.universalIdentifier &&- marketplaceApp.isVetted,- );-- return isDefined(marketplaceApp)- ? [{ ...app, logoUrl: marketplaceApp.logoUrl ?? null }]- : [];- });-- const handleAutoSkipError = useCallback(() => {- setHasAutoSkipFailed(true);- }, []);-- if (isLoading) {- return null;- }-- const hasLoadedAvailabilitySuccessfully = !isDefined(error);- const shouldAutoSkip =- hasLoadedAvailabilitySuccessfully &&- !isNonEmptyArray(availableApps) &&- !hasAutoSkipFailed;-- if (shouldAutoSkip) {- return <InstallAppsAutoSkipEffect onError={handleAutoSkipError} />;- }-- return <InstallAppsContent apps={availableApps} />;-};diff --git a/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsx b/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsxdeleted file mode 100644index f00264ad5d2..00000000000--- a/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsx+++ /dev/null@@ -1,246 +0,0 @@-import { OnboardingRewardMainButton } from '@/onboarding/components/OnboardingRewardMainButton';-import { OnboardingSkipButton } from '@/onboarding/components/OnboardingSkipButton';-import { OnboardingStepAnimatedItem } from '@/onboarding/components/OnboardingStepAnimatedItem';-import { StyledOnboardingStepHeading } from '@/onboarding/components/StyledOnboardingStepHeading';-import { StyledOnboardingStepPage } from '@/onboarding/components/StyledOnboardingStepPage';-import { StyledOnboardingStepSubtitle } from '@/onboarding/components/StyledOnboardingStepSubtitle';-import { StyledOnboardingStepTitle } from '@/onboarding/components/StyledOnboardingStepTitle';-import { ONBOARDING_CONTENT_BLOCK_WIDTH } from '@/onboarding/constants/OnboardingContentBlockWidth';-import { useInstallOnboardingApps } from '@/onboarding/hooks/useInstallOnboardingApps';-import { useOnboardingStepEnterHotkey } from '@/onboarding/hooks/useOnboardingStepEnterHotkey';-import { onboardingCreditsProgressSelector } from '@/onboarding/states/selectors/onboardingCreditsProgressSelector';-import { type OnboardingInstallableApp } from '@/onboarding/types/OnboardingInstallableApp';-import { PageFocusId } from '@/types/PageFocusId';-import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { styled } from '@linaria/react';-import { plural } from '@lingui/core/macro';-import { useLingui } from '@lingui/react/macro';-import { isNonEmptyArray } from 'twenty-shared/utils';-import { IconCheck } from 'twenty-ui/icon';-import { Avatar } from 'twenty-ui/primitives/data-display';-import { themeCssVariables, useTheme } from 'twenty-ui/theme';-import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';--const StyledTiles = styled.div`- display: grid;- gap: ${themeCssVariables.spacing[3]};- grid-template-columns: repeat(3, minmax(0, 1fr));- max-width: 100%;- width: ${ONBOARDING_CONTENT_BLOCK_WIDTH}px;-`;--const StyledTile = styled.button`- align-items: flex-start;- background-color: ${themeCssVariables.background.primary};- border: 1px solid ${themeCssVariables.border.color.medium};- border-radius: ${themeCssVariables.border.radius.md};- box-sizing: border-box;- cursor: pointer;- display: flex;- flex-direction: column;- font-family: inherit;- min-height: 156px;- padding: ${themeCssVariables.spacing[3]};- position: relative;- text-align: left;- transition: border-color 0.15s ease;-- &:hover {- border-color: ${themeCssVariables.border.color.strong};- }-- &:disabled {- cursor: default;- }-`;--const StyledTileContent = styled.span`- display: flex;- flex-direction: column;- gap: 10px;- transition: opacity 0.15s ease;-- [aria-pressed='false'] > & {- opacity: 0.5;- }-- [aria-pressed='false']:hover > & {- opacity: 0.8;- }-`;--const StyledTileCheck = styled.span`- align-items: center;- background-color: ${themeCssVariables.background.primary};- border: 1px solid ${themeCssVariables.border.color.strong};- border-radius: 50%;- box-sizing: border-box;- color: ${themeCssVariables.font.color.inverted};- corner-shape: round;- display: flex;- height: 18px;- justify-content: center;- position: absolute;- right: ${themeCssVariables.spacing[2]};- top: ${themeCssVariables.spacing[2]};- width: 18px;-- [aria-pressed='true'] > & {- background-color: ${themeCssVariables.background.primaryInverted};- border-color: ${themeCssVariables.background.primaryInverted};- }-`;--const StyledAppLabel = styled.span`- color: ${themeCssVariables.font.color.primary};- font-size: ${themeCssVariables.font.size.md};- font-weight: ${themeCssVariables.font.weight.medium};- line-height: 1.4;-`;--const StyledAppDescription = styled.span`- color: ${themeCssVariables.font.color.tertiary};- font-size: ${themeCssVariables.font.size.sm};- line-height: 1.4;-`;--const StyledFooter = styled.div`- align-items: flex-end;- display: flex;- flex-direction: column;- gap: ${themeCssVariables.spacing[3]};- max-width: 100%;- width: ${ONBOARDING_CONTENT_BLOCK_WIDTH}px;-`;--const StyledInstallButton = styled.div`- width: 100%;-`;--type InstallAppsContentProps = {- apps: (OnboardingInstallableApp & { logoUrl: string | null })[];-};--export const InstallAppsContent = ({ apps }: InstallAppsContentProps) => {- const { t } = useLingui();- const theme = useTheme();- const {- selectedUniversalIdentifiers,- isCompleting,- toggleApp,- installSelectedAppsAndContinue,- skip,- } = useInstallOnboardingApps(apps.map((app) => app.universalIdentifier));- const onboardingCreditsProgress = useAtomStateValue(- onboardingCreditsProgressSelector,- );- const creditsReward =- onboardingCreditsProgress.rewardCreditsByStep.installApps;-- useOnboardingStepEnterHotkey({- focusId: PageFocusId.InstallApps,- onEnter: () => {- void installSelectedAppsAndContinue();- },- });-- const hasApps = isNonEmptyArray(apps);- const hasSelectedApps = isNonEmptyArray(selectedUniversalIdentifiers);- const selectedAppsCount = selectedUniversalIdentifiers.length;-- const getInstallLabel = () => {- if (!hasSelectedApps) {- return t`Continue without apps`;- }-- if (selectedAppsCount === apps.length) {- return plural(selectedAppsCount, {- one: 'Install # app',- other: 'Install all # apps',- });- }-- return plural(selectedAppsCount, {- one: 'Install # app',- other: 'Install # apps',- });- };-- return (- <StyledOnboardingStepPage data-testid="onboarding-install-apps-step">- <StyledOnboardingStepHeading>- <OnboardingStepAnimatedItem index={0}>- <StyledOnboardingStepTitle>{t`Start with the essentials`}</StyledOnboardingStepTitle>- </OnboardingStepAnimatedItem>- <OnboardingStepAnimatedItem index={1}>- <StyledOnboardingStepSubtitle>- {hasApps- ? plural(apps.length, {- one: 'One app, installed in one click.',- other: '# apps, installed in one click.',- })- : t`No apps are available to install right now`}- </StyledOnboardingStepSubtitle>- </OnboardingStepAnimatedItem>- </StyledOnboardingStepHeading>-- {hasApps && (- <OnboardingStepAnimatedItem index={2}>- <StyledTiles>- {apps.map((app) => {- const labelText = t(app.label);- const isSelected = selectedUniversalIdentifiers.includes(- app.universalIdentifier,- );-- return (- <StyledTile- key={app.universalIdentifier}- type="button"- aria-pressed={isSelected}- disabled={isCompleting}- onClick={() => toggleApp(app.universalIdentifier)}- >- <StyledTileContent>- <Avatar- src={getAbsoluteImageUrl(app.logoUrl)}- name={labelText}- colorSeed={app.universalIdentifier}- size="xl"- shape="rounded-square"- />- <StyledAppLabel>{labelText}</StyledAppLabel>- <StyledAppDescription>- {t(app.description)}- </StyledAppDescription>- </StyledTileContent>- <StyledTileCheck aria-hidden>- {isSelected && (- <IconCheck size={theme.icon.size.sm} stroke={3} />- )}- </StyledTileCheck>- </StyledTile>- );- })}- </StyledTiles>- </OnboardingStepAnimatedItem>- )}-- <OnboardingStepAnimatedItem index={3}>- <StyledFooter>- {hasApps && (- <StyledInstallButton>- <OnboardingRewardMainButton- label={getInstallLabel()}- creditsReward={hasSelectedApps ? creditsReward : 0}- disabled={isCompleting}- onClick={installSelectedAppsAndContinue}- />- </StyledInstallButton>- )}- <OnboardingSkipButton onClick={skip} disabled={isCompleting} />- </StyledFooter>- </OnboardingStepAnimatedItem>- </StyledOnboardingStepPage>- );-};diff --git a/packages/twenty-front/src/pages/onboarding/__stories__/InstallApps.stories.tsx b/packages/twenty-front/src/pages/onboarding/__stories__/InstallApps.stories.tsxdeleted file mode 100644index 03e28a57d5b..00000000000--- a/packages/twenty-front/src/pages/onboarding/__stories__/InstallApps.stories.tsx+++ /dev/null@@ -1,177 +0,0 @@-import { getOperationName } from '~/utils/getOperationName';-import { type Meta, type StoryObj } from '@storybook/react-vite';-import { HttpResponse, graphql } from 'msw';-import { expect, within } from 'storybook/test';-import { AppPath } from 'twenty-shared/types';--import { FIND_MANY_MARKETPLACE_APPS } from '@/marketplace/graphql/queries/findManyMarketplaceApps';-import { OnboardingStatus } from '~/generated-metadata/graphql';-import { GET_CURRENT_USER } from '~/modules/users/graphql/queries/getCurrentUser';-import { InstallApps } from '~/pages/onboarding/InstallApps';-import {- PageDecorator,- type PageDecoratorArgs,-} from '~/testing/decorators/PageDecorator';-import { graphqlMocks } from '~/testing/graphqlMocks';-import { mockedApolloClient } from '~/testing/mockedApolloClient';-import { mockedOnboardingUserData } from '~/testing/mock-data/users';--const CALL_RECORDER_UNIVERSAL_IDENTIFIER =- '8da4b8b5-5edf-4880-b51f-ab6e679ec617';-const PEOPLE_DATA_LABS_UNIVERSAL_IDENTIFIER =- '4a1178c1-3535-4a47-b592-231d3216b36f';-const LAST_CONTACT_UNIVERSAL_IDENTIFIER =- '66a504cc-0a75-410e-a43f-cdeae1db1522';--const buildMarketplaceApp = (id: string, name: string, isVetted = true) => ({- __typename: 'MarketplaceApp',- id,- name,- description: name,- author: 'Twenty',- category: 'productivity',- logo: null,- sourcePackage: name,- isVetted,-});--const currentUserHandler = graphql.query(- getOperationName(GET_CURRENT_USER) ?? '',- () => {- return HttpResponse.json({- data: {- currentUser: mockedOnboardingUserData(- OnboardingStatus.APPS_INSTALLATION,- ),- },- });- },-);--const buildHandlers = (- marketplaceApps: ReturnType<typeof buildMarketplaceApp>[],-) => [- currentUserHandler,- graphql.query(getOperationName(FIND_MANY_MARKETPLACE_APPS) ?? '', () => {- return HttpResponse.json({- data: { findManyMarketplaceApps: marketplaceApps },- });- }),- graphqlMocks.handlers,-];--const meta: Meta<PageDecoratorArgs> = {- title: 'Pages/Onboarding/InstallApps',- component: InstallApps,- decorators: [PageDecorator],- args: { routePath: AppPath.InstallApps },- beforeEach: async () => {- await mockedApolloClient.clearStore();- },- parameters: {- msw: {- handlers: buildHandlers([- buildMarketplaceApp(- CALL_RECORDER_UNIVERSAL_IDENTIFIER,- 'Call recorder',- ),- buildMarketplaceApp(- PEOPLE_DATA_LABS_UNIVERSAL_IDENTIFIER,- 'People Data Labs',- ),- buildMarketplaceApp(LAST_CONTACT_UNIVERSAL_IDENTIFIER, 'Last contact'),- ]),- },- },-};--export default meta;--export type Story = StoryObj<typeof InstallApps>;--export const Default: Story = {- play: async ({ canvasElement }) => {- const canvas = within(canvasElement.ownerDocument.body);- await canvas.findByText('Start with the essentials');- await canvas.findByText('Call recorder');- await canvas.findByText('People Data Labs');- await canvas.findByText('Last contact');- },-};--export const OnlyAvailableApps: Story = {- parameters: {- msw: {- handlers: buildHandlers([- buildMarketplaceApp(- CALL_RECORDER_UNIVERSAL_IDENTIFIER,- 'Call recorder',- ),- ]),- },- },- play: async ({ canvasElement }) => {- const canvas = within(canvasElement.ownerDocument.body);- await canvas.findByText('Call recorder');- expect(canvas.queryByText('People Data Labs')).toBeNull();- expect(canvas.queryByText('Last contact')).toBeNull();- },-};--export const OnlyVettedApps: Story = {- parameters: {- msw: {- handlers: buildHandlers([- buildMarketplaceApp(- CALL_RECORDER_UNIVERSAL_IDENTIFIER,- 'Call recorder',- ),- buildMarketplaceApp(- PEOPLE_DATA_LABS_UNIVERSAL_IDENTIFIER,- 'People Data Labs',- false,- ),- buildMarketplaceApp(- LAST_CONTACT_UNIVERSAL_IDENTIFIER,- 'Last contact',- false,- ),- ]),- },- },- play: async ({ canvasElement }) => {- const canvas = within(canvasElement.ownerDocument.body);- await canvas.findByText('Call recorder');- expect(canvas.queryByText('People Data Labs')).toBeNull();- expect(canvas.queryByText('Last contact')).toBeNull();- },-};--export const MarketplaceUnavailable: Story = {- parameters: {- msw: {- handlers: [- currentUserHandler,- graphql.query(- getOperationName(FIND_MANY_MARKETPLACE_APPS) ?? '',- () => {- return HttpResponse.json({- errors: [{ message: 'Marketplace unavailable' }],- });- },- ),- graphqlMocks.handlers,- ],- },- },- play: async ({ canvasElement }) => {- const canvas = within(canvasElement.ownerDocument.body);- await canvas.findByText('No apps are available to install right now');- expect(- canvas.queryByRole('button', {- name: /^(Install|Continue without apps)/,- }),- ).toBeNull();- await canvas.findByText('Skip');- },-};diff --git a/packages/twenty-front/src/testing/mock-data/config.ts b/packages/twenty-front/src/testing/mock-data/config.tsindex f7f0379a0e2..01d66e7f115 100644--- a/packages/twenty-front/src/testing/mock-data/config.ts+++ b/packages/twenty-front/src/testing/mock-data/config.ts@@ -49,7 +49,6 @@ export const mockedClientConfig: ClientConfig = {onboarding: {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 3,- installAppsCreditsReward: 0.5,createProfileCreditsReward: 0.5,upgradeCreditsReward: 2,inviteTeamMaxInvites: 10,diff --git a/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts b/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.tsindex 14f6183fe4e..609ca2e3795 100644--- a/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts@@ -307,7 +307,6 @@ export class SignInUpService {user,workspace: params.workspace,shouldShowConnectAccountStep: true,- shouldShowInstallAppsStep: false,});await this.userWorkspaceService.addUserToWorkspaceIfUserNotInWorkspace(@@ -340,12 +339,10 @@ export class SignInUpService {user,workspace,shouldShowConnectAccountStep,- shouldShowInstallAppsStep,}: {user: Pick<UserEntity, 'id' | 'firstName' | 'lastName'>;workspace: WorkspaceEntity;shouldShowConnectAccountStep: boolean;- shouldShowInstallAppsStep: boolean;},queryRunner?: QueryRunner,) {@@ -368,17 +365,6 @@ export class SignInUpService {},queryRunner,);-- if (shouldShowInstallAppsStep) {- await this.onboardingService.setOnboardingInstallAppsPending(- {- userId: user.id,- workspaceId: workspace.id,- value: true,- },- queryRunner,- );- }}private async saveNewUser(@@ -763,7 +749,6 @@ export class SignInUpService {user,workspace,shouldShowConnectAccountStep: true,- shouldShowInstallAppsStep: true,},queryRunner,);diff --git a/packages/twenty-server/src/engine/core-modules/client-config/client-config.controller.spec.ts b/packages/twenty-server/src/engine/core-modules/client-config/client-config.controller.spec.tsindex 6bd26c593b5..c001460a478 100644--- a/packages/twenty-server/src/engine/core-modules/client-config/client-config.controller.spec.ts+++ b/packages/twenty-server/src/engine/core-modules/client-config/client-config.controller.spec.ts@@ -92,7 +92,6 @@ describe('ClientConfigController', () => {onboarding: {importContactsCreditsReward: 2,inviteTeamCreditsRewardPerUser: 3,- installAppsCreditsReward: 1,createProfileCreditsReward: 0.5,upgradeCreditsReward: 0.5,inviteTeamMaxInvites: 10,diff --git a/packages/twenty-server/src/engine/core-modules/client-config/client-config.entity.ts b/packages/twenty-server/src/engine/core-modules/client-config/client-config.entity.tsindex 47c32cc7d29..683c5da1f48 100644--- a/packages/twenty-server/src/engine/core-modules/client-config/client-config.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/client-config/client-config.entity.ts@@ -284,8 +284,6 @@ export class OnboardingConfig {inviteTeamCreditsRewardPerUser: number;- installAppsCreditsReward: number;-createProfileCreditsReward: number;upgradeCreditsReward: number;diff --git a/packages/twenty-server/src/engine/core-modules/client-config/services/client-config.service.ts b/packages/twenty-server/src/engine/core-modules/client-config/services/client-config.service.tsindex da9220da477..0483991f326 100644--- a/packages/twenty-server/src/engine/core-modules/client-config/services/client-config.service.ts+++ b/packages/twenty-server/src/engine/core-modules/client-config/services/client-config.service.ts@@ -242,11 +242,6 @@ export class ClientConfigService {'ONBOARDING_INVITE_TEAM_CREDITS_REWARD_PER_USER',),),- installAppsCreditsReward: toDisplayCredits(- this.twentyConfigService.get(- 'ONBOARDING_INSTALL_APPS_CREDITS_REWARD',- ),- ),createProfileCreditsReward: toDisplayCredits(this.twentyConfigService.get('BILLING_FREE_WORKFLOW_CREDITS_FOR_TRIAL_PERIOD_WITHOUT_CREDIT_CARD',diff --git a/packages/twenty-server/src/engine/core-modules/message-queue/jobs.module.ts b/packages/twenty-server/src/engine/core-modules/message-queue/jobs.module.tsindex 7590ac78240..d0a902c2f86 100644--- a/packages/twenty-server/src/engine/core-modules/message-queue/jobs.module.ts+++ b/packages/twenty-server/src/engine/core-modules/message-queue/jobs.module.ts@@ -19,15 +19,12 @@ import { ApplicationInstallModule } from 'src/engine/core-modules/application/apimport { TriggerInstallApplicationJob } from 'src/engine/core-modules/application/application-install/jobs/trigger-install-application.job';import { TriggerUninstallApplicationJob } from 'src/engine/core-modules/application/application-install/jobs/trigger-uninstall-application.job';import { ApplicationManifestModule } from 'src/engine/core-modules/application/application-manifest/application-manifest.module';-import { ApplicationRegistrationLookupModule } from 'src/engine/core-modules/application/application-registration/application-registration-lookup/application-registration-lookup.module';import { ApplicationRegistrationModule } from 'src/engine/core-modules/application/application-registration/application-registration.module';import { ApplicationUpgradeModule } from 'src/engine/core-modules/application/application-upgrade/application-upgrade.module';import { UpgradeApplicationsJob } from 'src/engine/core-modules/application/jobs/upgrade-applications.job';import { UpgradeWorkspaceApplicationJob } from 'src/engine/core-modules/application/jobs/upgrade-workspace-application.job';import { InstallPreInstalledAppsJob } from 'src/engine/core-modules/application/pre-installed-apps/jobs/install-pre-installed-apps.job';import { PreInstalledAppsModule } from 'src/engine/core-modules/application/pre-installed-apps/pre-installed-apps.module';-import { InstallOnboardingAppsJob } from 'src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job';-import { OnboardingModule } from 'src/engine/core-modules/onboarding/onboarding.module';import { PendingWakeUpModule } from 'src/engine/core-modules/pending-wake-up/pending-wake-up.module';import { EmailSenderJob } from 'src/engine/core-modules/email/email-sender.job';import { EmailModule } from 'src/engine/core-modules/email/email.module';@@ -119,11 +116,9 @@ import { WorkflowModule } from 'src/modules/workflow/workflow.module';EmailingModule,ApplicationInstallModule,ApplicationManifestModule,- ApplicationRegistrationLookupModule,ApplicationRegistrationModule,ApplicationUpgradeModule,PreInstalledAppsModule,- OnboardingModule,PendingWakeUpModule,BillingReminderModule,ApplicationRecurringChargeModule,@@ -150,7 +145,6 @@ import { WorkflowModule } from 'src/modules/workflow/workflow.module';GenerateSdkClientJob,UpgradeApplicationsJob,UpgradeWorkspaceApplicationJob,- InstallOnboardingAppsJob,InstallPreInstalledAppsJob,TriggerInstallApplicationJob,TriggerUninstallApplicationJob,diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-installable-app-universal-identifiers.ts b/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-installable-app-universal-identifiers.tsdeleted file mode 100644index 8f1466e4434..00000000000--- a/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-installable-app-universal-identifiers.ts+++ /dev/null@@ -1,7 +0,0 @@-import { TWENTY_PUBLIC_APP_UNIVERSAL_IDENTIFIERS } from 'src/engine/core-modules/application/application-marketplace/constants/twenty-public-app-universal-identifiers.constant';--export const ONBOARDING_INSTALLABLE_APP_UNIVERSAL_IDENTIFIERS: string[] = [- TWENTY_PUBLIC_APP_UNIVERSAL_IDENTIFIERS.CALL_RECORDER,- TWENTY_PUBLIC_APP_UNIVERSAL_IDENTIFIERS.PEOPLE_DATA_LABS,- TWENTY_PUBLIC_APP_UNIVERSAL_IDENTIFIERS.LAST_CONTACT,-];diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-reward-idempotency-key-prefixes.ts b/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-reward-idempotency-key-prefixes.tsindex 7629c67f5f1..cb513b9cec1 100644--- a/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-reward-idempotency-key-prefixes.ts+++ b/packages/twenty-server/src/engine/core-modules/onboarding/constants/onboarding-reward-idempotency-key-prefixes.ts@@ -1,6 +1,5 @@export const ONBOARDING_REWARD_IDEMPOTENCY_KEY_PREFIXES = {importContacts: 'onboarding-import-contacts',- installApps: 'onboarding-install-apps',inviteTeam: 'onboarding-invite-team',enrichmentQualification: 'onboarding-enrichment-qualified',} as const;diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/enums/onboarding-status.enum.ts b/packages/twenty-server/src/engine/core-modules/onboarding/enums/onboarding-status.enum.tsindex 39ae7a07983..8dd926575f9 100644--- a/packages/twenty-server/src/engine/core-modules/onboarding/enums/onboarding-status.enum.ts+++ b/packages/twenty-server/src/engine/core-modules/onboarding/enums/onboarding-status.enum.ts@@ -3,7 +3,6 @@ export enum OnboardingStatus {WORKSPACE_ACTIVATION = 'WORKSPACE_ACTIVATION',PROFILE_CREATION = 'PROFILE_CREATION',SYNC_EMAIL = 'SYNC_EMAIL',- APPS_INSTALLATION = 'APPS_INSTALLATION',INVITE_TEAM = 'INVITE_TEAM',BOOK_CALL = 'BOOK_CALL',COMPLETED = 'COMPLETED',diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job-constants.ts b/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job-constants.tsdeleted file mode 100644index 182df65c722..00000000000--- a/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job-constants.ts+++ /dev/null@@ -1,7 +0,0 @@-export const INSTALL_ONBOARDING_APPS_JOB_NAME = 'InstallOnboardingAppsJob';--export type InstallOnboardingAppsJobData = {- workspaceId: string;- universalIdentifiers: string[];- userId?: string;-};diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job.spec.ts b/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job.spec.tsdeleted file mode 100644index ff658aa5b89..00000000000--- a/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job.spec.ts+++ /dev/null@@ -1,281 +0,0 @@-import { Test, type TestingModule } from '@nestjs/testing';--import { ApplicationInstallService } from 'src/engine/core-modules/application/application-install/application-install.service';-import { type ApplicationRegistrationEntity } from 'src/engine/core-modules/application/application-registration/application-registration.entity';-import { ApplicationRegistrationLookupService } from 'src/engine/core-modules/application/application-registration/application-registration-lookup/application-registration-lookup.service';-import { InstallOnboardingAppsJob } from 'src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job';-import { OnboardingService } from 'src/engine/core-modules/onboarding/onboarding.service';--describe('InstallOnboardingAppsJob', () => {- let job: InstallOnboardingAppsJob;- let applicationRegistrationLookupService: ApplicationRegistrationLookupService;- let applicationInstallService: ApplicationInstallService;- let onboardingService: OnboardingService;-- const workspaceId = 'workspace-id';- const userId = 'user-id';- const callRecorderId = 'call-recorder-uid';- const peopleDataLabsId = 'people-data-labs-uid';-- const buildRegistration = (id: string) =>- ({ id }) as ApplicationRegistrationEntity;-- beforeEach(async () => {- const module: TestingModule = await Test.createTestingModule({- providers: [- InstallOnboardingAppsJob,- {- provide: ApplicationRegistrationLookupService,- useValue: {- findOneByUniversalIdentifierGlobal: jest.fn(),- },- },- {- provide: ApplicationInstallService,- useValue: {- installApplication: jest.fn(),- },- },- {- provide: OnboardingService,- useValue: {- creditInstallAppsReward: jest.fn(),- clearReversibleOnboardingStepHistoryAfterAppsInstalled: jest.fn(),- },- },- ],- }).compile();-- job = module.get<InstallOnboardingAppsJob>(InstallOnboardingAppsJob);- applicationRegistrationLookupService =- module.get<ApplicationRegistrationLookupService>(- ApplicationRegistrationLookupService,- );- applicationInstallService = module.get<ApplicationInstallService>(- ApplicationInstallService,- );- onboardingService = module.get<OnboardingService>(OnboardingService);- });-- afterEach(() => {- jest.clearAllMocks();- });-- it('should credit the reward for every requested app and install them', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockImplementation(async (universalIdentifier) =>- buildRegistration(`registration-${universalIdentifier}`),- );- jest- .spyOn(applicationInstallService, 'installApplication')- .mockResolvedValue(true);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId, peopleDataLabsId],- });-- expect(onboardingService.creditInstallAppsReward).toHaveBeenCalledWith({- workspaceId,- });- expect(applicationInstallService.installApplication).toHaveBeenCalledTimes(- 2,- );- });-- it('should credit only once an install has succeeded', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockImplementation(async (universalIdentifier) =>- buildRegistration(`registration-${universalIdentifier}`),- );- jest- .spyOn(applicationInstallService, 'installApplication')- .mockResolvedValue(true);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId],- });-- const creditOrder = (onboardingService.creditInstallAppsReward as jest.Mock)- .mock.invocationCallOrder[0];- const installOrder = (- applicationInstallService.installApplication as jest.Mock- ).mock.invocationCallOrder[0];-- expect(installOrder).toBeLessThan(creditOrder);- });-- it('should not credit again when a failed run is relaunched', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockResolvedValue(null);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId],- userId,- });- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId],- userId,- });-- expect(onboardingService.creditInstallAppsReward).not.toHaveBeenCalled();- });-- it('should not credit when every install fails', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockImplementation(async (universalIdentifier) =>- buildRegistration(`registration-${universalIdentifier}`),- );- jest- .spyOn(applicationInstallService, 'installApplication')- .mockRejectedValue(new Error('install failure'));-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId, peopleDataLabsId],- });-- expect(onboardingService.creditInstallAppsReward).not.toHaveBeenCalled();- expect(applicationInstallService.installApplication).toHaveBeenCalledTimes(- 2,- );- });-- it('should credit only the apps that were actually installed when a registration cannot be found', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockImplementation(async (universalIdentifier) =>- universalIdentifier === callRecorderId- ? null- : buildRegistration(`registration-${universalIdentifier}`),- );- jest- .spyOn(applicationInstallService, 'installApplication')- .mockResolvedValue(true);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId, peopleDataLabsId],- });-- expect(onboardingService.creditInstallAppsReward).toHaveBeenCalledWith({- workspaceId,- });- expect(applicationInstallService.installApplication).toHaveBeenCalledTimes(- 1,- );- });-- it('should clear every step to go back to once the apps are scheduled', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockResolvedValue(buildRegistration('registration-id'));- jest- .spyOn(applicationInstallService, 'installApplication')- .mockResolvedValue(true);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId],- userId,- });-- expect(- onboardingService.clearReversibleOnboardingStepHistoryAfterAppsInstalled,- ).toHaveBeenCalledWith({ userId, workspaceId });- });-- it('should keep the steps to go back to when every install failed', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockResolvedValue(null);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId, peopleDataLabsId],- userId,- });-- expect(- onboardingService.clearReversibleOnboardingStepHistoryAfterAppsInstalled,- ).not.toHaveBeenCalled();- });-- it('should clear the steps to go back to when only some installs succeeded', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockImplementation(async (universalIdentifier) =>- universalIdentifier === callRecorderId- ? buildRegistration('registration-id')- : null,- );- jest- .spyOn(applicationInstallService, 'installApplication')- .mockResolvedValue(true);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId, peopleDataLabsId],- userId,- });-- expect(- onboardingService.clearReversibleOnboardingStepHistoryAfterAppsInstalled,- ).toHaveBeenCalledWith({ userId, workspaceId });- });-- it('should still install when the job was enqueued before it carried a user', async () => {- jest- .spyOn(- applicationRegistrationLookupService,- 'findOneByUniversalIdentifierGlobal',- )- .mockResolvedValue(buildRegistration('registration-id'));- jest- .spyOn(applicationInstallService, 'installApplication')- .mockResolvedValue(true);-- await job.handle({- workspaceId,- universalIdentifiers: [callRecorderId],- });-- expect(- onboardingService.clearReversibleOnboardingStepHistoryAfterAppsInstalled,- ).not.toHaveBeenCalled();- expect(applicationInstallService.installApplication).toHaveBeenCalledTimes(- 1,- );- });-});diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job.ts b/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job.tsdeleted file mode 100644index 461293dfbd5..00000000000--- a/packages/twenty-server/src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job.ts+++ /dev/null@@ -1,94 +0,0 @@-import { Logger } from '@nestjs/common';--import { isDefined } from 'twenty-shared/utils';--import { ApplicationInstallService } from 'src/engine/core-modules/application/application-install/application-install.service';-import { ApplicationRegistrationLookupService } from 'src/engine/core-modules/application/application-registration/application-registration-lookup/application-registration-lookup.service';-import { Process } from 'src/engine/core-modules/message-queue/decorators/process.decorator';-import { Processor } from 'src/engine/core-modules/message-queue/decorators/processor.decorator';-import { MessageQueue } from 'src/engine/core-modules/message-queue/message-queue.constants';-import {- INSTALL_ONBOARDING_APPS_JOB_NAME,- type InstallOnboardingAppsJobData,-} from 'src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job-constants';-import { OnboardingService } from 'src/engine/core-modules/onboarding/onboarding.service';--@Processor(MessageQueue.workspaceQueue)-export class InstallOnboardingAppsJob {- private readonly logger = new Logger(InstallOnboardingAppsJob.name);-- constructor(- private readonly applicationRegistrationLookupService: ApplicationRegistrationLookupService,- private readonly applicationInstallService: ApplicationInstallService,- private readonly onboardingService: OnboardingService,- ) {}-- @Process(INSTALL_ONBOARDING_APPS_JOB_NAME)- async handle({- workspaceId,- universalIdentifiers,- userId,- }: InstallOnboardingAppsJobData): Promise<void> {- let hasInstalledAnyApp = false;-- for (const universalIdentifier of universalIdentifiers) {- const hasInstalledApp = await this.installApp({- universalIdentifier,- workspaceId,- });-- if (hasInstalledApp) {- hasInstalledAnyApp = true;- }- }-- if (!hasInstalledAnyApp) {- return;- }-- await this.onboardingService.creditInstallAppsReward({ workspaceId });-- if (isDefined(userId)) {- await this.onboardingService.clearReversibleOnboardingStepHistoryAfterAppsInstalled(- { userId, workspaceId },- );- }- }-- private async installApp({- universalIdentifier,- workspaceId,- }: {- universalIdentifier: string;- workspaceId: string;- }): Promise<boolean> {- try {- const registration =- await this.applicationRegistrationLookupService.findOneByUniversalIdentifierGlobal(- universalIdentifier,- );-- if (!isDefined(registration)) {- this.logger.error(- `Onboarding app ${universalIdentifier} not found while installing for workspace ${workspaceId}`,- );-- return false;- }-- await this.applicationInstallService.installApplication({- appRegistrationId: registration.id,- workspaceId,- });-- return true;- } catch (error) {- this.logger.error(- `Failed to install onboarding app ${universalIdentifier} for workspace ${workspaceId}`,- error,- );-- return false;- }- }-}diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.exception.ts b/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.exception.tsindex b42f925d20f..7c2faa9ef26 100644--- a/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.exception.ts+++ b/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.exception.ts@@ -7,7 +7,6 @@ import { CustomException } from 'src/utils/custom-exception';export enum OnboardingExceptionCode {NO_PREVIOUS_ONBOARDING_STEP = 'NO_PREVIOUS_ONBOARDING_STEP',MISSING_TRANSACTION_QUERY_RUNNER = 'MISSING_TRANSACTION_QUERY_RUNNER',- INSTALL_APPS_JOB_ENQUEUE_FAILED = 'INSTALL_APPS_JOB_ENQUEUE_FAILED',}const getOnboardingExceptionUserFriendlyMessage = (@@ -18,8 +17,6 @@ const getOnboardingExceptionUserFriendlyMessage = (return msg`There is no previous onboarding step to go back to.`;case OnboardingExceptionCode.MISSING_TRANSACTION_QUERY_RUNNER:return msg`Something went wrong while saving your onboarding progress.`;- case OnboardingExceptionCode.INSTALL_APPS_JOB_ENQUEUE_FAILED:- return msg`Something went wrong while starting the app installation. Please try again.`;default:assertUnreachable(code);}diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.resolver.ts b/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.resolver.tsindex 72b62a433e3..93331aedbfb 100644--- a/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.resolver.ts+++ b/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.resolver.ts@@ -92,26 +92,6 @@ export class OnboardingResolver {return { success: true };}- @Mutation(() => OnboardingStepSuccessDTO)- @UseGuards(NoPermissionGuard)- async triggerInstallAppsOnboardingStep(- @AuthUser() user: AuthContextUser,- @AuthWorkspace() workspace: WorkspaceEntity,- @Args({ name: 'universalIdentifiers', type: () => [String] })- universalIdentifiers: string[],- @Args({ name: 'isAutoSkipped', type: () => Boolean, defaultValue: false })- isAutoSkipped: boolean,- ): Promise<OnboardingStepSuccessDTO> {- await this.onboardingService.triggerInstallAppsOnboardingStep({- userId: user.id,- workspaceId: workspace.id,- universalIdentifiers,- isAutoSkipped,- });-- return { success: true };- }-@Mutation(() => OnboardingStepNavigationDTO)@UseGuards(NoPermissionGuard)async goBackToPreviousOnboardingStep(diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.service.ts b/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.service.tsindex 9598973d516..01ea2b19153 100644--- a/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.service.ts+++ b/packages/twenty-server/src/engine/core-modules/onboarding/onboarding.service.ts@@ -12,20 +12,12 @@ import { BillingCreditService } from 'src/engine/core-modules/billing/services/bimport { BillingService } from 'src/engine/core-modules/billing/services/billing.service';import { CacheLockService } from 'src/engine/core-modules/cache-lock/cache-lock.service';import { ExceptionHandlerService } from 'src/engine/core-modules/exception-handler/exception-handler.service';-import { InjectMessageQueue } from 'src/engine/core-modules/message-queue/decorators/message-queue.decorator';-import { MessageQueue } from 'src/engine/core-modules/message-queue/message-queue.constants';-import { MessageQueueService } from 'src/engine/core-modules/message-queue/services/message-queue.service';-import { ONBOARDING_INSTALLABLE_APP_UNIVERSAL_IDENTIFIERS } from 'src/engine/core-modules/onboarding/constants/onboarding-installable-app-universal-identifiers';import { ONBOARDING_INVITE_TEAM_REWARD_LOCK_OPTIONS } from 'src/engine/core-modules/onboarding/constants/onboarding-invite-team-reward-lock-options';import { ONBOARDING_REWARD_IDEMPOTENCY_KEY_PREFIXES } from 'src/engine/core-modules/onboarding/constants/onboarding-reward-idempotency-key-prefixes';import { ACQUIRE_ONBOARDING_STEP_TRANSITION_LOCK_STATEMENT } from 'src/engine/core-modules/onboarding/constants/acquire-onboarding-step-transition-lock-statement';import { buildOnboardingInviteTeamRewardLockKey } from 'src/engine/core-modules/onboarding/utils/build-onboarding-invite-team-reward-lock-key.util';import { buildOnboardingStepTransitionLockName } from 'src/engine/core-modules/onboarding/utils/build-onboarding-step-transition-lock-name.util';import { OnboardingStatus } from 'src/engine/core-modules/onboarding/enums/onboarding-status.enum';-import {- INSTALL_ONBOARDING_APPS_JOB_NAME,- type InstallOnboardingAppsJobData,-} from 'src/engine/core-modules/onboarding/jobs/install-onboarding-apps.job-constants';import {OnboardingException,OnboardingExceptionCode,@@ -42,7 +34,6 @@ export enum OnboardingStepKeys {ONBOARDING_CONNECT_ACCOUNT_PENDING = 'ONBOARDING_CONNECT_ACCOUNT_PENDING',ONBOARDING_INVITE_TEAM_PENDING = 'ONBOARDING_INVITE_TEAM_PENDING',ONBOARDING_CREATE_PROFILE_PENDING = 'ONBOARDING_CREATE_PROFILE_PENDING',- ONBOARDING_INSTALL_APPS_PENDING = 'ONBOARDING_INSTALL_APPS_PENDING',ONBOARDING_BOOK_CALL_PENDING = 'ONBOARDING_BOOK_CALL_PENDING',ONBOARDING_BOOK_CALL_OFFERED = 'ONBOARDING_BOOK_CALL_OFFERED',ONBOARDING_REVERSIBLE_STEP_HISTORY = 'ONBOARDING_REVERSIBLE_STEP_HISTORY',@@ -52,7 +43,6 @@ export type OnboardingKeyValueTypeMap = {[OnboardingStepKeys.ONBOARDING_CONNECT_ACCOUNT_PENDING]: boolean;[OnboardingStepKeys.ONBOARDING_INVITE_TEAM_PENDING]: boolean;[OnboardingStepKeys.ONBOARDING_CREATE_PROFILE_PENDING]: boolean;- [OnboardingStepKeys.ONBOARDING_INSTALL_APPS_PENDING]: boolean;[OnboardingStepKeys.ONBOARDING_BOOK_CALL_PENDING]: boolean;[OnboardingStepKeys.ONBOARDING_BOOK_CALL_OFFERED]: boolean;[OnboardingStepKeys.ONBOARDING_REVERSIBLE_STEP_HISTORY]: ReversibleOnboardingStep[];@@ -74,8 +64,6 @@ export class OnboardingService {private readonly workspaceRepository: Repository<WorkspaceEntity>,@InjectRepository(UserWorkspaceEntity)private readonly userWorkspaceRepository: Repository<UserWorkspaceEntity>,- @InjectMessageQueue(MessageQueue.workspaceQueue)- private readonly messageQueueService: MessageQueueService,@InjectDataSource()private readonly dataSource: DataSource,) {}@@ -150,9 +138,6 @@ export class OnboardingService {userVars.get(OnboardingStepKeys.ONBOARDING_CONNECT_ACCOUNT_PENDING) ===true;- const isInstallAppsPending =- userVars.get(OnboardingStepKeys.ONBOARDING_INSTALL_APPS_PENDING) === true;-const isInviteTeamPending =userVars.get(OnboardingStepKeys.ONBOARDING_INVITE_TEAM_PENDING) === true;@@ -163,10 +148,6 @@ export class OnboardingService {return OnboardingStatus.SYNC_EMAIL;}- if (isInstallAppsPending) {- return OnboardingStatus.APPS_INSTALLATION;- }-if (isProfileCreationPending) {return OnboardingStatus.PROFILE_CREATION;}@@ -331,7 +312,11 @@ export class OnboardingService {key: OnboardingStepKeys.ONBOARDING_REVERSIBLE_STEP_HISTORY,});- return Array.isArray(reversibleStepHistory) ? reversibleStepHistory : [];+ return Array.isArray(reversibleStepHistory)+ ? reversibleStepHistory.filter((step) =>+ Object.values(OnboardingStatus).includes(step),+ )+ : [];}private async setReversibleOnboardingStepHistory(@@ -399,15 +384,6 @@ export class OnboardingService {},queryRunner,);- case OnboardingStatus.APPS_INSTALLATION:- return this.setOnboardingInstallAppsPending(- {- userId,- workspaceId,- value: true,- },- queryRunner,- );case OnboardingStatus.PROFILE_CREATION:return this.setOnboardingCreateProfilePending({@@ -622,212 +598,6 @@ export class OnboardingService {}}- async setOnboardingInstallAppsPending(- {- userId,- workspaceId,- value,- }: {- userId: string;- workspaceId: string;- value: boolean;- },- queryRunner?: QueryRunner,- ) {- if (!value) {- await this.userVarsService.delete(- {- userId,- workspaceId,- key: OnboardingStepKeys.ONBOARDING_INSTALL_APPS_PENDING,- },- queryRunner,- );-- return;- }-- await this.userVarsService.set(- {- userId,- workspaceId,- key: OnboardingStepKeys.ONBOARDING_INSTALL_APPS_PENDING,- value: true,- },- queryRunner,- );- }-- async triggerInstallAppsOnboardingStep({- userId,- workspaceId,- universalIdentifiers,- isAutoSkipped,- }: {- userId: string;- workspaceId: string;- universalIdentifiers: string[];- isAutoSkipped: boolean;- }) {- const installableUniversalIdentifiers = universalIdentifiers.filter(- (universalIdentifier) =>- ONBOARDING_INSTALLABLE_APP_UNIVERSAL_IDENTIFIERS.includes(- universalIdentifier,- ),- );-- if (installableUniversalIdentifiers.length === 0) {- await this.runStepTransitionInLockedTransaction(- { userId, workspaceId },- async (queryRunner) => {- const hasClaimedInstallAppsStep =- await this.claimInstallAppsOnboardingStep(- { userId, workspaceId },- queryRunner,- );-- if (!hasClaimedInstallAppsStep || isAutoSkipped) {- return;- }-- await this.pushReversibleOnboardingStep(- {- userId,- workspaceId,- step: OnboardingStatus.APPS_INSTALLATION,- },- queryRunner,- );- },- );-- return;- }-- const hasClaimedInstallAppsStep =- await this.runStepTransitionInLockedTransaction(- { userId, workspaceId },- async (queryRunner) =>- this.claimInstallAppsOnboardingStep(- { userId, workspaceId },- queryRunner,- ),- );-- if (!hasClaimedInstallAppsStep) {- return;- }-- try {- await this.messageQueueService.add<InstallOnboardingAppsJobData>(- INSTALL_ONBOARDING_APPS_JOB_NAME,- {- workspaceId,- universalIdentifiers: installableUniversalIdentifiers,- userId,- },- { id: `${INSTALL_ONBOARDING_APPS_JOB_NAME}-${workspaceId}` },- );- } catch (error) {- const enqueueFailureMessage = `Failed to enqueue the install onboarding apps job for workspace ${workspaceId}`;-- this.logger.error(enqueueFailureMessage, error);-- await this.releaseInstallAppsOnboardingStepClaim({ userId, workspaceId });-- throw new OnboardingException(- enqueueFailureMessage,- OnboardingExceptionCode.INSTALL_APPS_JOB_ENQUEUE_FAILED,- );- }- }-- private async releaseInstallAppsOnboardingStepClaim({- userId,- workspaceId,- }: {- userId: string;- workspaceId: string;- }) {- try {- await this.runStepTransitionInLockedTransaction(- { userId, workspaceId },- async (queryRunner) =>- this.setOnboardingInstallAppsPending(- {- userId,- workspaceId,- value: true,- },- queryRunner,- ),- );- } catch (error) {- this.logger.error(- `Failed to restore the pending install-apps onboarding step for workspace ${workspaceId}`,- error,- );- }- }-- async clearReversibleOnboardingStepHistoryAfterAppsInstalled({- userId,- workspaceId,- }: {- userId: string;- workspaceId: string;- }) {- await this.runStepTransitionInLockedTransaction(- { userId, workspaceId },- async (queryRunner) =>- this.clearReversibleOnboardingStepHistoryAfterIrreversibleStep(- { userId, workspaceId },- queryRunner,- ),- );- }-- private async claimInstallAppsOnboardingStep(- {- userId,- workspaceId,- }: {- userId: string;- workspaceId: string;- },- queryRunner?: QueryRunner,- ): Promise<boolean> {- const affectedRows = await this.userVarsService.delete(- {- userId,- workspaceId,- key: OnboardingStepKeys.ONBOARDING_INSTALL_APPS_PENDING,- },- queryRunner,- );-- return isDefined(affectedRows) && affectedRows > 0;- }-- async creditInstallAppsReward({ workspaceId }: { workspaceId: string }) {- try {- await this.billingCreditService.grantCredits({- workspaceId,- amountMicro: this.twentyConfigService.get(- 'ONBOARDING_INSTALL_APPS_CREDITS_REWARD',- ),- type: BillingCreditGrantType.ONBOARDING_REWARD,- reason: 'Onboarding reward: install apps',- idempotencyKey: `${ONBOARDING_REWARD_IDEMPOTENCY_KEY_PREFIXES.installApps}:${workspaceId}`,- });- } catch (error) {- this.logger.error(- `Failed to credit onboarding install-apps reward for workspace ${workspaceId}`,- error,- );- }- }-async creditInviteTeamReward({workspaceId,userId,diff --git a/packages/twenty-server/src/engine/core-modules/onboarding/types/reversible-onboarding-step.type.ts b/packages/twenty-server/src/engine/core-modules/onboarding/types/reversible-onboarding-step.type.tsindex 8aba33c360c..38a164ff996 100644--- a/packages/twenty-server/src/engine/core-modules/onboarding/types/reversible-onboarding-step.type.ts+++ b/packages/twenty-server/src/engine/core-modules/onboarding/types/reversible-onboarding-step.type.ts@@ -2,7 +2,6 @@ import { OnboardingStatus } from 'src/engine/core-modules/onboarding/enums/onboaexport type ReversibleOnboardingStep =| OnboardingStatus.SYNC_EMAIL- | OnboardingStatus.APPS_INSTALLATION| OnboardingStatus.PROFILE_CREATION| OnboardingStatus.INVITE_TEAM| OnboardingStatus.BOOK_CALL;diff --git a/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts b/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.tsindex d8f96a87538..67177ddcc30 100644--- a/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts+++ b/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts@@ -1112,17 +1112,6 @@ export class ConfigVariables {@IsOptional()ONBOARDING_INVITE_TEAM_CREDITS_REWARD_PER_USER = 500_000;- @ConfigVariablesMetadata({- group: ConfigVariablesGroup.BILLING_CONFIG,- description:- 'Free credits granted for installing apps during the install-apps onboarding step, whatever the number of apps (in microCredits)',- type: ConfigVariableType.NUMBER,- })- @CastToPositiveNumber()- @IsInt()- @IsOptional()- ONBOARDING_INSTALL_APPS_CREDITS_REWARD = 500_000;-@ConfigVariablesMetadata({group: ConfigVariablesGroup.BILLING_CONFIG,description:diff --git a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snapindex 84d55f34974..f8edcfc1903 100644--- a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap+++ b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap@@ -408,7 +408,6 @@ exports[`endpoint permission declarations should match the AuthPrincipalGuard an"OnboardingResolver.getInviteSuggestions {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":false,"oauthClient":false,"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}]}","OnboardingResolver.goBackToPreviousOnboardingStep {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":false,"oauthClient":false,"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}]}","OnboardingResolver.skipSyncEmailOnboardingStep {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":false,"oauthClient":false,"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}]}",- "OnboardingResolver.triggerInstallAppsOnboardingStep {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":false,"oauthClient":false,"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}]}","OpenApiController.generateOpenApiSchemaCore {"applicationTarget":null,"authPrincipalGuards":[]}","OpenApiController.generateOpenApiSchemaMetaData {"applicationTarget":null,"authPrincipalGuards":[]}","PageLayoutController.create {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":true,"oauthClient":true,"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}]}",diff --git a/packages/twenty-server/test/integration/graphql/suites/workspace/successful-user-and-workspace-creation.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/workspace/successful-user-and-workspace-creation.integration-spec.tsindex 3b4739b77cb..0c16ed27242 100644--- a/packages/twenty-server/test/integration/graphql/suites/workspace/successful-user-and-workspace-creation.integration-spec.ts+++ b/packages/twenty-server/test/integration/graphql/suites/workspace/successful-user-and-workspace-creation.integration-spec.ts@@ -106,7 +106,7 @@ describe('Successful user and workspace creation', () => {});expect(currentUserAfterSyncEmailSkip.onboardingStatus).toBe(- OnboardingStatus.APPS_INSTALLATION,+ OnboardingStatus.PROFILE_CREATION,);const {diff --git a/packages/twenty-shared/src/types/AppPath.ts b/packages/twenty-shared/src/types/AppPath.tsindex a8306f6307f..23d156e3228 100644--- a/packages/twenty-shared/src/types/AppPath.ts+++ b/packages/twenty-shared/src/types/AppPath.ts@@ -8,7 +8,6 @@ export enum AppPath {WorkspaceActivation = '/workspace-activation',CreateProfile = '/create/profile',SyncEmails = '/sync/emails',- InstallApps = '/install-apps',InviteTeam = '/invite-team',PlanRequired = '/plan-required',PlanRequiredSuccess = '/plan-required/payment-success',