-
Notifications
You must be signed in to change notification settings - Fork 3k
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 Trip Details Screen #52823
[vip-travel] Create Trip Details Screen #52823
Conversation
…p content in ScrollView
This reverts commit 04d94db.
94cabfb
to
2eb1bb9
Compare
…ervation data and sort by start date
…ation data and improve navigation handling
Not an emergency, this is a very big PR that will continue to have conflicts if we don't move quickly |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
width={iconWidth ?? variables.iconHeader} | ||
height={iconHeight ?? variables.iconHeader} | ||
additionalStyles={[styles.mr2, iconStyles]} | ||
fill={iconFill ?? theme.icon} |
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.
The ?? theme.icon
default caused #54514
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.78-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.78-6 🚀
|
We forgot to handle an edge case where the url parameters are wrong. Caused #54537 |
Explanation of Change
We're adding a new Trip Details Modal in NewDot, allowing users to view travel details directly in the app instead of being redirected to Spotnana. This includes creating a new page and components to display trip information like flights, hotels, rails and cars seamlessly.
Fixed Issues
$ #37823
PROPOSAL: N/A
Tests
To prepare your account and environment for testing, follow these steps:
1. Configure Your Account for Testing
Navigate to OldDot (ideally create new account)
Run the following JavaScript snippet in the console before enabling travel in the account:
Verify that the test settings are successfully applied (
NVP.get('travelSettings')
).Now you can enable travel in the account and proceed with testing (Search -> Trip -> book a trip)
Use stripe card ending in
4444
for testing purposes (https://docs.stripe.com/testing)When reserving trips for testing purposes:
Example:
Flight Details
Hotel Details
Car Rental Details
Train/Rail Details
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.webm
Android: mWeb Chrome
android-web.webm
iOS: Native
ios.mp4
iOS: mWeb Safari
Nothing here 🤫
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov