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! |
|
Thanks for the changes, testing on multiple platforms. |
brunovjk
left a comment
There was a problem hiding this comment.
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.
|
✋ 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.
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
ScanOffline tests
QA Steps
Verify that the default selected tab is
ScanPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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