Repository navigation
Fix: All categories disappear instead of crossed out when deleted offline - #43735
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: mWeb SafariMacOS: Chrome / Safarihttps://drive.google.com/file/d/1MNa0uHQbmbHaRysGBjNEWVBhMMctuITM/view?usp=sharing MacOS: Desktop |
| /> | ||
| {shouldUseNarrowLayout && <View style={[styles.pl5, styles.pr5]}>{getHeaderButtons()}</View>} | ||
| {(!shouldUseNarrowLayout || shouldShowEmptyState || isLoading) && getHeaderText()} | ||
| {(!shouldUseNarrowLayout || (!hasVisibleCategories && !isLoading) || isLoading) && getHeaderText()} |
There was a problem hiding this comment.
&& !isLoading condition is redundant.
Also, can we make 2 pages consistent?
One is !hasVisibleCategories , another is tagList.length === 0
…sed-out-when-deleted-offline
…sed-out-when-deleted-offline
…ad-of-crossed-out-when-deleted-offline
Beamanator
left a comment
There was a problem hiding this comment.
LGTM! (sorry for delay, i was OOO)
|
✋ 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/Beamanator in version: 9.0.4-0 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/tgolen in version: 9.0.4-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
Details
Fix: All categories disappear instead of crossed out when deleted offline
Fixed Issues
$ #43127
PROPOSAL: #43127 (comment)
Tests
Offline tests
Same as tests.
QA Steps
Same as tests.
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-20240614-005507.mp4
Android: mWeb Chrome
screen-20240614-005134.mp4
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-06-14.at.00.24.45.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-06-14.at.00.26.57.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-06-14.at.12.17.45.AM.mov
MacOS: Desktop
Screen.Recording.2024-06-14.at.12.21.36.AM.mov