-
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
fix: default the selected tab to scan #47310
Conversation
in iou request start page
Kicking Ben off, Vit is assigned to the parent issue. |
Reviewer Checklist
Screenshots/VideosAndroid: Native47310_android_native.movAndroid: mWeb Chrome47310_android_web.moviOS: Native47310_ios_native.moviOS: mWeb Safari47310_ios_web.movMacOS: Chrome / Safari47310_chorme_web.movMacOS: Desktop47310_chorme_desktop.mov |
updated! |
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.
minor comment!
Thanks for the changes, testing on multiple platforms. |
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 code changes look good to me, but sometimes when I start a request there's a flickering before it settles on the selected tab or default one. This issue wasn't introduced or fixed by this PR, as I can reproduce it in both staging and production:
staging
staging_chorme_web.mov
prod
prod_chorme_web.mov
I believe it will be fixed here.
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.
Perfect thank you!
✋ 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/mountiny in version: 9.0.23-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.23-0 🚀
|
if (isLoadingOnyxValue(selectedTabResult)) { | ||
return null; | ||
} |
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.
FYI, this issue #50098 was a missed case in this PR. More details can be found in this proposal: #50098 (comment)
in iou request start page
Details
Fixed Issues
$ #46916
PROPOSAL: #46916 (comment)
Tests
Verify that the default selected tab is
Scan
Offline tests
QA Steps
Verify that the default selected tab is
Scan
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
compressed_android.webm.mp4
Android: mWeb Chrome
compressed_aweb.webm.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
compressed_iosweb.mp4.mp4
MacOS: Chrome / Safari
compressed_web.mov.mp4
MacOS: Desktop
compressed_web.mov.mp4