From 0bb8bb9583889ed83d15b122b8c8831fac009fb3 Mon Sep 17 00:00:00 2001 From: allgandaf Date: Wed, 29 Apr 2026 14:58:01 +0530 Subject: [PATCH 01/21] Add localization keys for go-back-just-once picker --- src/languages/en.ts | 2 ++ src/languages/es.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/languages/en.ts b/src/languages/en.ts index e9730712658c..4f6808a692dd 100644 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -8501,6 +8501,8 @@ const translations = { bookACallTextTop: 'By switching to Expensify Classic, you will miss out on:', bookACallTextBottom: 'We’d be excited to get on a call with you to understand why. You can book a call with one of our senior product managers to discuss your needs.', takeMeToExpensifyClassic: 'Take me to Expensify Classic', + switchToClassic: 'Switch to Classic', + goBackJustOnce: 'Go back just once', }, listBoundary: { errorMessage: 'An error occurred while loading more messages', diff --git a/src/languages/es.ts b/src/languages/es.ts index 24c64d59ceef..6fa1dfc41cf1 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -8722,6 +8722,8 @@ ${amount} para ${merchant} - ${date}`, bookACallTextTop: 'Al cambiar a Expensify Classic, se perderá:', bookACallTextBottom: 'Nos encantaría hablar con usted para entender por qué. Puede concertar una llamada con uno de nuestros jefes de producto para hablar de sus necesidades.', takeMeToExpensifyClassic: 'Llévame a Expensify Classic', + switchToClassic: 'Cambiar a Classic', + goBackJustOnce: 'Volver solo esta vez', }, listBoundary: { errorMessage: 'Se ha producido un error al cargar más mensajes', From 79fbb059b9e91890dc4da34b4aa7b0cacda1ccef Mon Sep 17 00:00:00 2001 From: allgandaf Date: Wed, 29 Apr 2026 15:02:16 +0530 Subject: [PATCH 02/21] Add two-button footer scaffold to reason page --- .../DynamicExitSurveyReasonPage.tsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/pages/settings/ExitSurvey/DynamicExitSurveyReasonPage.tsx b/src/pages/settings/ExitSurvey/DynamicExitSurveyReasonPage.tsx index 43c860112258..39bdfbb8d1fd 100644 --- a/src/pages/settings/ExitSurvey/DynamicExitSurveyReasonPage.tsx +++ b/src/pages/settings/ExitSurvey/DynamicExitSurveyReasonPage.tsx @@ -1,5 +1,7 @@ import React, {useCallback} from 'react'; import type {OnyxEntry} from 'react-native-onyx'; +import Button from '@components/Button'; +import FixedFooter from '@components/FixedFooter'; import FormProvider from '@components/Form/FormProvider'; import InputWrapper from '@components/Form/InputWrapper'; import type {FormOnyxValues} from '@components/Form/types'; @@ -79,7 +81,7 @@ function DynamicExitSurveyReasonPage() { formID={ONYXKEYS.FORMS.EXIT_SURVEY_RESPONSE_FORM} style={[styles.flex1, styles.mh5, formTopMarginsStyle, StyleUtils.getMaximumHeight(formMaxHeight)]} onSubmit={submitForm} - submitButtonText={translate('common.next')} + isSubmitButtonVisible={false} shouldValidateOnBlur validate={(values: FormOnyxValues) => { const errors: Errors = {}; @@ -115,6 +117,21 @@ function DynamicExitSurveyReasonPage() { )} + +