-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VIP-Travel] Create a New Travel Page and Terms and Conditions Modal (NewDot) #38469
Changes from 1 commit
57e6306
3e95765
011d227
0bf7916
d2cd60c
a467a74
38e6ca2
4cb1120
ec06f16
bb77b15
ff03721
7c30e70
afd404c
f3de2b8
f74e2d2
90071d6
c261f00
f9316b2
5ef17d9
13c94bb
fa4fe36
ce7a0f5
bc74353
abbe116
00ddf0b
3bfea69
d8a8299
d0a32a6
24835cc
0932900
0c04a9e
dc1a4bd
c040d3d
aea71e4
3eff605
9baa515
b96d89a
1ec2fe5
9def070
27ee79f
c77d1d4
5a21fd5
89ec881
e05bfab
2aef4fd
d7b9716
76cc3e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- 9.1.10-0
- 9.1.9-8
- 9.1.9-7
- 9.1.9-6
- 9.1.9-5
- 9.1.9-4
- 9.1.9-3
- 9.1.9-2
- 9.1.9-1
- 9.1.9-0
- 9.1.8-1
- 9.1.8-0
- 9.1.7-2
- 9.1.7-1
- 9.1.7-0
- 9.1.6-1
- 9.1.6-0
- 9.1.5-5
- 9.1.5-4
- 9.1.5-3
- 9.1.5-2
- 9.1.5-1
- 9.1.5-0
- 9.1.4-4
- 9.1.4-3
- 9.1.4-2
- 9.1.4-1
- 9.1.4-0
- 9.1.3-4
- 9.1.3-3
- 9.1.3-2
- 9.1.3-1
- 9.1.3-0
- 9.1.2-1
- 9.1.2-0
- 9.1.1-6
- 9.1.1-4
- 9.1.1-3
- 9.1.1-2
- 9.1.1-1
- 9.1.1-0
- 9.1.0-2
- 9.1.0-1
- 9.1.0-0
- 9.0.99-2
- 9.0.99-1
- 9.0.99-0
- 9.0.98-8
- 9.0.98-7
- 9.0.98-6
- 9.0.98-5
- 9.0.98-4
- 9.0.98-3
- 9.0.98-2
- 9.0.98-1
- 9.0.98-0
- 9.0.97-1
- 9.0.97-0
- 9.0.96-1
- 9.0.96-0
- 9.0.95-6
- 9.0.95-5
- 9.0.95-3
- 9.0.95-1
- 9.0.95-0
- 9.0.94-25
- 9.0.94-24
- 9.0.94-23
- 9.0.94-17
- 9.0.94-16
- 9.0.94-10
- 9.0.94-8
- 9.0.94-7
- 9.0.94-5
- 9.0.94-4
- 9.0.94-2
- 9.0.94-1
- 9.0.94-0
- 9.0.93-3
- 9.0.93-2
- 9.0.93-1
- 9.0.93-0
- 9.0.92-6
- 9.0.92-5
- 9.0.92-4
- 9.0.92-2
- 9.0.92-1
- 9.0.92-0
- 9.0.91-2
- 9.0.91-1
- 9.0.91-0
- 9.0.90-6
- 9.0.90-5
- 9.0.90-3
- 9.0.90-2
- 9.0.90-1
- 9.0.90-0
- 9.0.89-8
- 9.0.89-7
- 9.0.89-6
- 9.0.89-5
- 9.0.89-4
- 9.0.89-3
- 9.0.89-2
- 9.0.89-1
- 9.0.89-0
- 9.0.88-7
- 9.0.88-6
- 9.0.88-5
- 9.0.88-4
- 9.0.88-3
- 9.0.88-2
- 9.0.88-1
- 9.0.88-0
- 9.0.87-3
- 9.0.87-2
- 9.0.87-1
- 9.0.87-0
- 9.0.86-3
- 9.0.86-2
- 9.0.86-1
- 9.0.86-0
- 9.0.85-4
- 9.0.85-3
- 9.0.85-1
- 9.0.85-0
- 9.0.84-7
- 9.0.84-6
- 9.0.84-5
- 9.0.84-4
- 9.0.84-3
- 9.0.84-2
- 9.0.84-1
- 9.0.84-0
- 9.0.83-5
- 9.0.83-4
- 9.0.83-3
- 9.0.83-2
- 9.0.83-1
- 9.0.83-0
- 9.0.82-12
- 9.0.82-11
- 9.0.82-9
- 9.0.82-8
- 9.0.82-7
- 9.0.82-6
- 9.0.82-5
- 9.0.82-4
- 9.0.82-3
- 9.0.82-2
- 9.0.82-1
- 9.0.82-0
- 9.0.81-6
- 9.0.81-5
- 9.0.81-4
- 9.0.81-3
- 9.0.81-2
- 9.0.81-1
- 9.0.81-0
- 9.0.80-6
- 9.0.80-4
- 9.0.80-3
- 9.0.80-2
- 9.0.80-1
- 9.0.79-5
- 9.0.79-4
- 9.0.79-3
- 9.0.79-2
- 9.0.79-1
- 9.0.79-0
- 9.0.78-6
- 9.0.78-5
- 9.0.78-4
- 9.0.78-3
- 9.0.78-2
- 9.0.78-1
- 9.0.78-0
- 9.0.77-6
- 9.0.77-5
- 9.0.77-4
- 9.0.77-3
- 9.0.77-2
- 9.0.77-1
- 9.0.77-0
- 9.0.76-12
- 9.0.76-11
- 9.0.76-10
- 9.0.76-9
- 9.0.76-8
- 9.0.76-7
- 9.0.76-6
- 9.0.76-3
- 9.0.76-2
- 9.0.76-1
- 9.0.76-0
- 9.0.75-6
- 9.0.75-5
- 9.0.75-4
- 9.0.75-3
- 9.0.75-2
- 9.0.75-1
- 9.0.75-0
- 9.0.74-8
- 9.0.74-7
- 9.0.74-6
- 9.0.74-5
- 9.0.74-4
- 9.0.74-3
- 9.0.74-2
- 9.0.74-0
- 9.0.73-8
- 9.0.73-7
- 9.0.73-6
- 9.0.73-5
- 9.0.73-4
- 9.0.73-3
- 9.0.73-1
- 9.0.73-0
- 9.0.72-1
- 9.0.72-0
- 9.0.71-2
- 9.0.71-1
- 9.0.71-0
- 9.0.70-9
- 9.0.70-8
- 9.0.70-6
- 9.0.70-3
- 9.0.70-2
- 9.0.70-1
- 9.0.70-0
- 9.0.69-4
- 9.0.69-3
- 9.0.69-2
- 9.0.69-1
- 9.0.69-0
- 9.0.68-7
- 9.0.68-6
- 9.0.68-5
- 9.0.68-4
- 9.0.68-3
- 9.0.68-2
- 9.0.68-1
- 9.0.68-0
- 9.0.67-9
- 9.0.67-8
- 9.0.67-7
- 9.0.67-6
- 9.0.67-5
- 9.0.67-4
- 9.0.67-3
- 9.0.67-2
- 9.0.67-1
- 9.0.67-0
- 9.0.66-8
- 9.0.66-7
- 9.0.66-6
- 9.0.66-5
- 9.0.66-4
- 9.0.66-3
- 9.0.66-2
- 9.0.66-1
- 9.0.66-0
- 9.0.65-5
- 9.0.65-4
- 9.0.65-3
- 9.0.65-2
- 9.0.65-1
- 9.0.65-0
- 9.0.64-4
- 9.0.64-3
- 9.0.64-2
- 9.0.64-1
- 9.0.64-0
- 9.0.63-3
- 9.0.63-2
- 9.0.63-1
- 9.0.63-0
- 9.0.62-4
- 9.0.62-3
- 9.0.62-2
- 9.0.62-1
- 9.0.62-0
- 9.0.61-3
- 9.0.61-2
- 9.0.61-1
- 9.0.61-0
- 9.0.60-3
- 9.0.60-2
- 9.0.60-1
- 9.0.60-0
- 9.0.59-3
- 9.0.59-2
- 9.0.59-1
- 9.0.59-0
- 9.0.58-2
- 9.0.58-1
- 9.0.58-0
- 9.0.57-10
- 9.0.57-9
- 9.0.57-8
- 9.0.57-7
- 9.0.57-4
- 9.0.57-3
- 9.0.57-2
- 9.0.57-1
- 9.0.57-0
- 9.0.56-9
- 9.0.56-8
- 9.0.56-7
- 9.0.56-6
- 9.0.56-5
- 9.0.56-4
- 9.0.56-3
- 9.0.56-2
- 9.0.56-0
- 9.0.55-10
- 9.0.55-9
- 9.0.55-8
- 9.0.55-7
- 9.0.55-6
- 9.0.55-5
- 9.0.55-4
- 9.0.55-3
- 9.0.55-2
- 9.0.55-1
- 9.0.55-0
- 9.0.54-11
- 9.0.54-10
- 9.0.54-9
- 9.0.54-8
- 9.0.54-7
- 9.0.54-6
- 9.0.54-2
- 9.0.54-1
- 9.0.54-0
- 9.0.53-1
- 9.0.53-0
- 9.0.52-5
- 9.0.52-4
- 9.0.52-3
- 9.0.52-2
- 9.0.52-1
- 9.0.52-0
- 9.0.51-4
- 9.0.51-3
- 9.0.51-2
- 9.0.51-1
- 9.0.51-0
- 9.0.50-8
- 9.0.50-7
- 9.0.50-6
- 9.0.50-5
- 9.0.50-4
- 9.0.50-3
- 9.0.50-2
- 9.0.50-1
- 9.0.50-0
- 9.0.49-2
- 9.0.49-1
- 9.0.49-0
- 9.0.48-2
- 9.0.48-1
- 9.0.48-0
- 9.0.47-4
- 9.0.47-3
- 9.0.47-2
- 9.0.47-1
- 9.0.47-0
- 9.0.46-5
- 9.0.46-4
- 9.0.46-3
- 9.0.46-2
- 9.0.46-1
- 9.0.46-0
- 9.0.45-4
- 9.0.45-3
- 9.0.45-2
- 9.0.45-1
- 9.0.45-0
- 9.0.44-12
- 9.0.44-11
- 9.0.44-10
- 9.0.44-9
- 9.0.44-8
- 9.0.44-7
- 9.0.44-6
- 9.0.44-5
- 9.0.44-4
- 9.0.44-3
- 9.0.44-2
- 9.0.44-1
- 9.0.44-0
- 9.0.43-6
- 9.0.43-5
- 9.0.43-4
- 9.0.43-3
- 9.0.43-2
- 9.0.43-1
- 9.0.43-0
- 9.0.42-3
- 9.0.42-2
- 9.0.42-1
- 9.0.42-0
- 9.0.41-10
- 9.0.41-9
- 9.0.41-8
- 9.0.41-7
- 9.0.41-6
- 9.0.41-5
- 9.0.41-4
- 9.0.41-3
- 9.0.41-2
- 9.0.41-1
- 9.0.41-0
- 9.0.40-6
- 9.0.40-5
- 9.0.40-4
- 9.0.40-3
- 9.0.40-2
- 9.0.40-1
- 9.0.40-0
- 9.0.39-5
- 9.0.39-4
- 9.0.39-3
- 9.0.39-2
- 9.0.39-1
- 9.0.39-0
- 9.0.38-4
- 9.0.38-3
- 9.0.38-2
- 9.0.38-1
- 9.0.38-0
- 9.0.37-4
- 9.0.37-3
- 9.0.37-1
- 9.0.37-0
- 9.0.36-2
- 9.0.36-1
- 9.0.36-0
- 9.0.35-7
- 9.0.35-6
- 9.0.35-5
- 9.0.35-4
- 9.0.35-3
- 9.0.35-2
- 9.0.35-1
- 9.0.35-0
- 9.0.34-3
- 9.0.34-2
- 9.0.34-1
- 9.0.34-0
- 9.0.33-4
- 9.0.33-3
- 9.0.33-2
- 9.0.33-1
- 9.0.33-0
- 9.0.32-4
- 9.0.32-3
- 9.0.32-1
- 9.0.32-0
- 9.0.31-26
- 9.0.31-25
- 9.0.31-24
- 9.0.31-23
- 9.0.31-22
- 9.0.31-21
- 9.0.31-20
- 9.0.31-19
- 9.0.31-18
- 9.0.31-17
- 9.0.31-16
- 9.0.31-15
- 9.0.31-14
- 9.0.31-13
- 9.0.31-12
- 9.0.31-11
- 9.0.31-8
- 9.0.31-7
- 9.0.31-6
- 9.0.31-5
- 9.0.31-4
- 9.0.31-3
- 9.0.31-2
- 9.0.31-1
- 9.0.31-0
- 9.0.30-19
- 9.0.30-18
- 9.0.30-17
- 9.0.30-15
- 9.0.30-14
- 9.0.30-13
- 9.0.30-12
- 9.0.30-11
- 9.0.30-10
- 9.0.30-9
- 9.0.30-7
- 9.0.30-6
- 9.0.30-4
- 9.0.30-3
- 9.0.30-2
- 9.0.30-1
- 9.0.30-0
- 9.0.29-12
- 9.0.29-11
- 9.0.29-10
- 9.0.29-9
- 9.0.29-8
- 9.0.29-7
- 9.0.29-6
- 9.0.29-5
- 9.0.29-4
- 9.0.29-3
- 9.0.29-2
- 9.0.29-1
- 9.0.29-0
- 9.0.28-3
- 9.0.28-2
- 9.0.28-1
- 9.0.28-0
- 9.0.27-1
- 9.0.27-0
- 9.0.26-6
- 9.0.26-5
- 9.0.26-4
- 9.0.26-3
- 9.0.26-2
- 9.0.26-1
- 9.0.26-0
- 9.0.25-15
- 9.0.25-14
- 9.0.25-13
- 9.0.25-12
- 9.0.25-11
- 9.0.25-10
- 9.0.25-9
- 9.0.25-8
- 9.0.25-7
- 9.0.25-6
- 9.0.25-5
- 9.0.25-4
- 9.0.25-3
- 9.0.25-2
- 9.0.25-1
- 9.0.25-0
- 9.0.24-5
- 9.0.24-4
- 9.0.24-2
- 9.0.24-1
- 9.0.24-0
- 9.0.23-0
- 9.0.22-9
- 9.0.22-8
- 9.0.22-7
- 9.0.22-6
- 9.0.22-5
- 9.0.22-4
- 9.0.22-3
- 9.0.22-2
- 9.0.22-1
- 9.0.22-0
- 9.0.21-4
- 9.0.21-3
- 9.0.21-2
- 9.0.21-1
- 9.0.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4.80-12
- 1.4.80-11
- 1.4.80-9
- 1.4.80-8
- 1.4.80-7
- 1.4.80-6
- 1.4.80-5
- 1.4.80-4
- 1.4.80-3
- 1.4.80-2
- 1.4.80-1
- 1.4.80-0
- 1.4.79-11
- 1.4.79-10
- 1.4.79-9
- 1.4.79-8
- 1.4.79-7
- 1.4.79-6
- 1.4.79-5
- 1.4.79-4
- 1.4.79-3
- 1.4.79-2
- 1.4.79-1
- 1.4.79-0
- 1.4.78-5
- 1.4.78-4
- 1.4.78-3
- 1.4.78-2
- 1.4.78-0
- 1.4.77-11
- 1.4.77-9
- 1.4.77-8
- 1.4.77-5
- 1.4.77-4
- 1.4.77-3
- 1.4.77-1
- 1.4.77-0
- 1.4.76-7
- 1.4.76-6
- 1.4.76-5
- 1.4.76-4
- 1.4.76-3
- 1.4.76-2
- 1.4.76-1
- 1.4.76-0
- 1.4.75-1
- 1.4.75-0
- 1.4.74-6
- 1.4.74-5
- 1.4.74-4
- 1.4.74-3
- 1.4.74-2
- 1.4.74-1
- 1.4.74-0
- 1.4.73-7
- 1.4.73-6
- 1.4.73-5
- 1.4.73-4
- 1.4.73-3
- 1.4.73-2
- 1.4.73-1
- 1.4.73-0
- 1.4.72-1
- 1.4.72-0
- 1.4.71-6
- 1.4.71-5
- 1.4.71-4
- 1.4.71-3
- 1.4.71-2
- 1.4.71-1
- 1.4.71-0
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ import FullPageNotFoundView from '@components/BlockingViews/FullPageNotFoundView | |
import CheckboxWithLabel from '@components/CheckboxWithLabel'; | ||
import FormAlertWithSubmitButton from '@components/FormAlertWithSubmitButton'; | ||
import HeaderWithBackButton from '@components/HeaderWithBackButton'; | ||
import SafeAreaConsumer from '@components/SafeAreaConsumer'; | ||
import ScreenWrapper from '@components/ScreenWrapper'; | ||
import Text from '@components/Text'; | ||
import TextLink from '@components/TextLink'; | ||
|
@@ -57,45 +58,48 @@ function TravelTerms() { | |
title={translate('travel.termsAndConditions.header')} | ||
onBackButtonPress={() => Navigation.goBack()} | ||
/> | ||
<ScrollView style={[styles.flex1, styles.flexGrow1, styles.ph5]}> | ||
<View style={styles.flex1}> | ||
<Text style={styles.headerAnonymousFooter}>{`${translate('travel.termsAndConditions.title')}`}</Text> | ||
<Text style={styles.mt4}> | ||
{`${translate('travel.termsAndConditions.subtitle')}`} | ||
<TextLink href="https://www.spotnana.com/terms/">{`${translate('travel.termsAndConditions.termsconditions')}.`}</TextLink> | ||
</Text> | ||
<Text style={styles.mt6}> | ||
{`${translate('travel.termsAndConditions.helpDocIntro')}`} | ||
<TextLink href="https://use.expensify.com/esignagreement">{`${translate('travel.termsAndConditions.helpDoc')} `}</TextLink> | ||
{`${translate('travel.termsAndConditions.helpDocOutro')}`} | ||
</Text> | ||
<CheckboxWithLabel | ||
style={styles.mt6} | ||
accessibilityLabel={translate('travel.termsAndConditions.travelTermsAndConditions')} | ||
onInputChange={toggleTravelTerms} | ||
LabelComponent={AgreeToTheLabel} | ||
/> | ||
</View> | ||
</ScrollView> | ||
<View style={styles.ph5}> | ||
<FormAlertWithSubmitButton | ||
buttonText={translate('common.continue')} | ||
isDisabled={!hasAcceptedTravelTerms} | ||
onSubmit={() => { | ||
if (!hasAcceptedTravelTerms) { | ||
setError(true); | ||
return; | ||
} | ||
<SafeAreaConsumer> | ||
{({safeAreaPaddingBottomStyle}) => ( | ||
<ScrollView contentContainerStyle={[styles.flexGrow1, styles.ph5, safeAreaPaddingBottomStyle.paddingBottom ? safeAreaPaddingBottomStyle : styles.pb5]}> | ||
<View style={styles.flex1}> | ||
<Text style={styles.headerAnonymousFooter}>{`${translate('travel.termsAndConditions.title')}`}</Text> | ||
<Text style={styles.mt4}> | ||
{`${translate('travel.termsAndConditions.subtitle')}`} | ||
<TextLink href="https://www.spotnana.com/terms/">{`${translate('travel.termsAndConditions.termsconditions')}.`}</TextLink> | ||
</Text> | ||
<Text style={styles.mt6}> | ||
{`${translate('travel.termsAndConditions.helpDocIntro')}`} | ||
<TextLink href="https://use.expensify.com/esignagreement">{`${translate('travel.termsAndConditions.helpDoc')} `}</TextLink> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bfitzexpensify do we have a help article ready, even if it's empty? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, but I've added a note in https://github.com/Expensify/Expensify/issues/383227 to make a PR to update this once the Help Docs are live on ExpensifyHelp |
||
{`${translate('travel.termsAndConditions.helpDocOutro')}`} | ||
</Text> | ||
<CheckboxWithLabel | ||
style={styles.mt6} | ||
accessibilityLabel={translate('travel.termsAndConditions.travelTermsAndConditions')} | ||
onInputChange={toggleTravelTerms} | ||
LabelComponent={AgreeToTheLabel} | ||
/> | ||
</View> | ||
|
||
Travel.acceptSpotnanaTerms(); | ||
setError(false); | ||
Navigation.resetToHome(); | ||
}} | ||
message={errorMessage} | ||
isAlertVisible={error || Boolean(errorMessage)} | ||
containerStyles={[styles.mh0, styles.mv5]} | ||
/> | ||
</View> | ||
<FormAlertWithSubmitButton | ||
buttonText={translate('common.continue')} | ||
isDisabled={!hasAcceptedTravelTerms} | ||
onSubmit={() => { | ||
if (!hasAcceptedTravelTerms) { | ||
setError(true); | ||
return; | ||
} | ||
|
||
Travel.acceptSpotnanaTerms(); | ||
setError(false); | ||
Navigation.resetToHome(); | ||
}} | ||
message={errorMessage} | ||
isAlertVisible={error || Boolean(errorMessage)} | ||
containerStyles={[styles.mh0, styles.mt5]} | ||
/> | ||
</ScrollView> | ||
)} | ||
</SafeAreaConsumer> | ||
</FullPageNotFoundView> | ||
</ScreenWrapper> | ||
); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be https://use.expensify.com/travelterms