-
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
Before opening a link, we make a request to generate signing credentials for travel page, that's why it could potentially take some time. I'm going to include a loading spinner, so it's not confusing when user has a bad internet connection. |
Cool - thanks for explaining, that works for me 👍 |
Awesome, appreciate the explanation! I'm down with including it too in that case 👍 |
@shubham1206agra Back to you! |
Please add a bottom padding. Unable to access the last button at all. |
Fixed your comments @shubham1206agra! |
Reviewer Checklist
Screenshots/Videos |
@blazejkustra told me that he has already confirmed these translation on open-source, but I couldn't find it anywhere. If yes then ignore my comment 😄 |
I posted in the translation channel to confirm, I'll post any updates here when I get them |
Slack is confusing as I have two accounts on open source channel, that's why @SzymczakJ couldn't find my messages 😅 These translations were all confirmed in these two threads:
@stitesExpensify So we can move forward 🚀 |
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.
Looks fantastic, can't wait for this to go live!
@stitesExpensify Let's ignore Changed files ESLint check, this PR is already too big and in the past we made exceptions like this |
@stitesExpensify looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
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. |
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