-
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
Add loading state to travel #47809
Add loading state to travel #47809
Conversation
@aimane-chnaif Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.mp4Android: mWeb ChromeiOS: Nativeios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.movMacOS: Desktop |
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.
- Verify that the
Please complete Tests Steps and QA Steps is missing
completed @aimane-chnaif |
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 good overall, one question though
src/libs/actions/Travel.ts
Outdated
|
||
const finallyData: OnyxUpdate[] = [ | ||
{ | ||
onyxMethod: 'set', |
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.
Since this is set
instead of merge
isn't this going to remove hasAcceptedTerms
from the key?
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.
oops! nice catch
✋ 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.26-1 🚀
|
This PR is failing because of issue #48305 |
@IuliiaHerets Looks like the issue was your account was not on the beta. I got your domain added. Please retest and let us know if you still see the issue |
@joekaufmanexpensify I still can reproduce this, build - v9.0.26-4, account - applausetester+ihchat4_3008_appa@applause.expensifail.com bandicam.2024-08-30.17-28-29-312.mp4 |
Can you please try again in ~30 minutes? It sometimes takes an hour+ for the beta to take effect. |
@IuliiaHerets You should be good to try again now. Please let me know if it works |
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.26-6 🚀
|
Details
Fixed Issues
$ #46971
PROPOSAL:
Tests
+
> Book TravelOffline tests
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 methodSTYLE.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 and/or tagged@Expensify/design
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: mWeb Chrome
iOS: Native
Screen.Recording.2024-08-21.at.21.53.03.mov
iOS: mWeb Safari
Screen.Recording.2024-08-21.at.21.49.39.mov
MacOS: Chrome / Safari
Screen.Recording.2024-08-21.at.21.32.02.mov
MacOS: Desktop