From afe1147422bdbb4827bc1ac01db7551f921380e3 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Reddy <164672019+ajay-automates@users.noreply.github.com> Date: Tue, 19 May 2026 11:42:00 -0400 Subject: [PATCH] fix(onboarding): clarify continue to chat fallback (#2173) Co-authored-by: Ajay Kumar Reddy Nelavetla --- app/src/lib/i18n/chunks/en-4.ts | 2 +- app/src/lib/i18n/en.ts | 2 +- .../onboarding/steps/ContextGatheringStep.tsx | 16 +++++++++------- .../__tests__/ContextGatheringStep.test.tsx | 8 ++------ 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/app/src/lib/i18n/chunks/en-4.ts b/app/src/lib/i18n/chunks/en-4.ts index f55ca85ae..5520fa55e 100644 --- a/app/src/lib/i18n/chunks/en-4.ts +++ b/app/src/lib/i18n/chunks/en-4.ts @@ -143,7 +143,7 @@ const en4: TranslationMap = { 'onboarding.contextGathering.buildingProfile': 'Building your profile...', 'onboarding.contextGathering.continueToChat': 'Continue to chat', 'onboarding.contextGathering.errorDesc': - "We couldn't build your full profile right now, but that's okay — you can continue and your profile will build over time.", + "Your chat is ready. We'll keep building your full profile in the background, so you can continue now and refine it over time.", 'onboarding.contextGathering.title': 'Context Gathering', 'openhuman.team_list_teams': 'Team list teams', 'overlay.ariaAttention': 'Attention message', diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts index df98ff1e9..d27b19205 100644 --- a/app/src/lib/i18n/en.ts +++ b/app/src/lib/i18n/en.ts @@ -1449,7 +1449,7 @@ const en: TranslationMap = { 'onboarding.contextGathering.buildingProfile': 'Building your profile...', 'onboarding.contextGathering.continueToChat': 'Continue to chat', 'onboarding.contextGathering.errorDesc': - "We couldn't build your full profile right now, but that's okay — you can continue and your profile will build over time.", + "Your chat is ready. We'll keep building your full profile in the background, so you can continue now and refine it over time.", 'onboarding.contextGathering.title': 'Context Gathering', 'openhuman.team_list_teams': 'Team list teams', 'overlay.ariaAttention': 'Attention message', diff --git a/app/src/pages/onboarding/steps/ContextGatheringStep.tsx b/app/src/pages/onboarding/steps/ContextGatheringStep.tsx index 659383373..4ebc1d8af 100644 --- a/app/src/pages/onboarding/steps/ContextGatheringStep.tsx +++ b/app/src/pages/onboarding/steps/ContextGatheringStep.tsx @@ -291,13 +291,15 @@ const ContextGatheringStep = ({

{t('onboarding.contextGathering.title')}

-

- {t('onboarding.contextGathering.errorDesc')} -

- +
+

+ {t('onboarding.contextGathering.errorDesc')} +

+ +
); diff --git a/app/src/pages/onboarding/steps/__tests__/ContextGatheringStep.test.tsx b/app/src/pages/onboarding/steps/__tests__/ContextGatheringStep.test.tsx index eb0d50aa5..c21165507 100644 --- a/app/src/pages/onboarding/steps/__tests__/ContextGatheringStep.test.tsx +++ b/app/src/pages/onboarding/steps/__tests__/ContextGatheringStep.test.tsx @@ -237,9 +237,7 @@ describe('ContextGatheringStep', () => { ); await waitFor(() => { - expect( - screen.getByText(/we couldn't build your full profile right now/i) - ).toBeInTheDocument(); + expect(screen.getByText(/your chat is ready/i)).toBeInTheDocument(); }); fireEvent.click(screen.getByRole('button', { name: /continue to chat/i })); @@ -270,9 +268,7 @@ describe('ContextGatheringStep', () => { ); await waitFor(() => { - expect( - screen.getByText(/we couldn't build your full profile right now/i) - ).toBeInTheDocument(); + expect(screen.getByText(/your chat is ready/i)).toBeInTheDocument(); }); expect(screen.getByRole('button', { name: /continue to chat/i })).toBeInTheDocument();