Don't show 404 on ReportScreen if isLoading is true#38856
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-03-23-15-03-55.mp4Android: mWeb ChromeScreen.Recording.2024-03-23.at.3.02.12.PM.moviOS: NativeScreen.Recording.2024-03-23.at.2.55.33.PM.moviOS: mWeb SafariScreen.Recording.2024-03-23.at.2.41.48.PM.movMacOS: Chrome / SafariScreen.Recording.2024-03-23.at.2.52.08.PM.movMacOS: DesktopScreen.Recording.2024-03-23.at.3.08.45.PM-1.mov |
|
typecheck failing on main, will open another PR to fix |
|
@thienlnam 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] |
|
@roryabraham And to fix this issue we can use changes from this PR + update isLoading App/src/pages/home/ReportScreen.tsx Line 272 in e70a679 Here we have incorrect condition So we can update this line like |
deetergp
left a comment
There was a problem hiding this comment.
It LGTM, but it looks like you still have some type check failures.
|
@ishpaul777 updated per your last review |
|
|
||
| const shouldShowReportActionList = isCurrentReportLoadedFromOnyx && !isLoading; | ||
| // eslint-disable-next-line rulesdir/no-negated-variables | ||
| const shouldShowNotFoundPage = useMemo( |
There was a problem hiding this comment.
just moved this to better group similar variables together
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Don't show 404 on ReportScreen if isLoading is true (cherry picked from commit 15d993d)
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 1.4.56-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 1.4.56-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀
|
Details
Fixes a regression from #30269
Fixed Issues
$ #38826
Tests / QA Steps.
Offline tests
n/a
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop