Fix no result found doesn't show when the search found nothing in categorize expense - #40748
Conversation
|
I decided to use the |
|
The no workspace view briefly shows issue doesn't happen anymore |
Reviewer Checklist
Screenshots/VideosAndroid: NativecategorizeAndroid.mp4Android: mWeb ChromecategorizeAndroidChrome.mp4iOS: NativecategorizeiOSSafari.moviOS: mWeb SafaricategorizeiOSSafari.mp4MacOS: Chrome / SafaricategorizeChrome.mp4MacOS: DesktopcategorizeDesktop.mp4 |
| (canUseP2PDistanceRequests || iouRequestType !== CONST.IOU.REQUEST_TYPE.DISTANCE) && ![CONST.IOU.ACTION.CATEGORIZE, CONST.IOU.ACTION.SHARE].includes(action), | ||
| (canUseP2PDistanceRequests || iouRequestType !== CONST.IOU.REQUEST_TYPE.DISTANCE) && !isCategorizeOrShareAction, | ||
| false, | ||
| undefined, |
There was a problem hiding this comment.
NAB: Is there any convention for passing the default value vis-a-vis undefined? undefined looks better but I see passing default values at almost all places.
There was a problem hiding this comment.
I'm not aware if there is any convention for that, but I also agree it's better to set it as undefined so it uses the default value. If the default value changes, we don't need to update the value we pass.
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.4.65-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.65-5 🚀
|
…pense
Details
When we search for something that doesn't returns result for workspace list but returns for personal detail list, the personal detail result won't be shown, but it's still calculated as the list length.
Fixed Issues
$ #40520
PROPOSAL: #40520 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR 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
Screen.Recording.2024-04-23.at.11.29.25.mov
Android: mWeb Chrome
Screen.Recording.2024-04-23.at.11.33.29.mov
iOS: Native
Screen.Recording.2024-04-23.at.11.28.49.mov
iOS: mWeb Safari
Screen.Recording.2024-04-23.at.11.27.59.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-23.at.11.25.18.mov
MacOS: Desktop
Screen.Recording.2024-04-23.at.11.26.40.mov