Repository navigation
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringInternalRequires API changes or must be handled by Expensify staffNewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewWeeklyKSv2
Description
VIP-Travel Implementation Issue
Tracking Issue: https://github.com/Expensify/Expensify/issues/333471
Project: [#whatsnext] #Travel (view)
Relevant Design Doc Section:
Feature Description
- Create a new Right Hand Modal (screen) for our travel Terms and Conditions
- Create a new action for
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
- Log in on a new account
- Create a workspace
- Go to travel
- Click the book travel button
- Make sure the T&C appears
- Make sure that if you don't check the box you cannot accept t&c
- Accept the T&C
- Look at the network request and ensure that we returned new policy and user data for the newly provisioned accounts
Automated Tests
Test for AcceptTravelTerms action
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~013a02f3de0cecfaf7
- Upwork Job ID: 1760758341962240000
- Last Price Increase: 2024-02-22
Routes table:
https://docs.google.com/document/d/122DLLTuCsU4NC3c7rNiy4UF8bZxVlLEWSy3yncqCTcQ/edit#bookmark=id.gn6jbl2udlnx
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringInternalRequires API changes or must be handled by Expensify staffNewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewWeeklyKSv2
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Feb 22, 2024
Job added to Upwork: https://www.upwork.com/jobs/~013a02f3de0cecfaf7
melvin-bot commentedon Feb 22, 2024
Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav (
Internal)melvin-bot commentedon Feb 22, 2024
Triggered auto assignment to @laurenreidexpensify (
NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details.stitesExpensify commentedon Feb 22, 2024
Re-assigning this to Ted since he is curating this implementation. Also temporarily removing c+ since this project has not started yet
19 remaining items
rushatgabhane commentedon May 3, 2024
all set. PR merged
twisterdotcom commentedon May 14, 2024
This is on Prod right? We just need to pay out @rushatgabhane and @shubham1206agra now I think?
[-][CRITICAL] [VIP-Travel] Add Terms and Conditions Modal (NewDot)[/-][+][CRITICAL] [VIP-Travel] [HOLD for payment 2024-05-16] Add Terms and Conditions Modal (NewDot)[/+]twisterdotcom commentedon May 17, 2024
Payment Summary:
JmillsExpensify commentedon May 19, 2024
$500 approved for @rushatgabhane