-
Notifications
You must be signed in to change notification settings - Fork 3k
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
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 |
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.
LGTM!
@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 |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop