-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[CRITICAL] [VIP-Travel] [HOLD for payment 2024-05-16] Add Terms and Conditions Modal (NewDot) #37102
Comments
Job added to Upwork: https://www.upwork.com/jobs/~013a02f3de0cecfaf7 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav ( |
Triggered auto assignment to @laurenreidexpensify ( |
Re-assigning this to Ted since he is curating this implementation. Also temporarily removing c+ since this project has not started yet |
Hello, I'm Tymoteusz Kałuzieński from Software Mansion, the expert agency, and I'd like to work on this task. |
Great! Assigned you @cdOut |
@twisterdotcom Please assign me here too. |
As an update, I’ll be creating a draft PR for this feature and also the main travel page today. |
Possible we'll hold this and not requie a ToS interstitial: https://expensify.slack.com/archives/C05S5EV2JTX/p1711726076366499 |
See PR comment here: #38469 (comment) |
Can we make this ready for review yet @cdOut? The URL for the travel terms will be use.expensify.com/travelterms |
@twisterdotcom We'll prioritize on pushing this through review. |
all set. PR merged |
This is on Prod right? We just need to pay out @rushatgabhane and @shubham1206agra now I think? |
Payment Summary:
|
$500 approved for @rushatgabhane |
VIP-Travel Implementation Issue
Tracking Issue: https://github.com/Expensify/Expensify/issues/333471
Project: https://github.com/orgs/Expensify/projects/112/views/1?layout=board
Relevant Design Doc Section:
Feature Description
AcceptTravelTerms
Detailed Instructions
A new page, TravelTerms.ts will be created in src/pages/Travel: If the user is not on the travel beta, we’ll display a [blocking View ](https://github.com/Expensify/App/blob/main/src/components/BlockingViews/FullPageNotFoundView.tsx)instead It will include a [HeaderWithBackButton](https://github.com/Expensify/App/blob/main/src/components/HeaderWithBackButton/index.tsx) component with “Before we continue…” as the title. It will include the text displayed above (hyperlinks TBD) and a [checkboxWithLabel](https://github.com/Expensify/App/blob/main/src/components/CheckboxWithLabel.tsx) component for the user to agree with the terms. Lastly, it will include a (disabled until the checkbox is checked) as shown above: On click, it will call a new command, [AcceptTravelTerms](https://docs.google.com/document/d/122DLLTuCsU4NC3c7rNiy4UF8bZxVlLEWSy3yncqCTcQ/edit?pli=1#bookmark=id.1b1k3v847xja), to update NVP.travelSettings.hasAcceptedTerms or provision the workspace, and redirect the user to travel.expensify.com. If network.isOffline is true, it will be disabled, and the usual “You appear to be offline” message will display below.Manual Test Steps
Automated Tests
Test for AcceptTravelTerms action
Upwork Automation - Do Not Edit
Routes table:
https://docs.google.com/document/d/122DLLTuCsU4NC3c7rNiy4UF8bZxVlLEWSy3yncqCTcQ/edit#bookmark=id.gn6jbl2udlnx
The text was updated successfully, but these errors were encountered: