-
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
Fix header in Home page is missing briefly when app is launched #42702
Fix header in Home page is missing briefly when app is launched #42702
Conversation
@DylanDylann 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-29.at.00.44.15.movAndroid: mWeb ChromeScreen.Recording.2024-05-29.at.00.43.13.moviOS: NativeScreen.Recording.2024-05-29.at.01.01.44.moviOS: mWeb SafariScreen.Recording.2024-05-29.at.00.43.51.movMacOS: Chrome / SafariScreen.Recording.2024-05-29.at.00.41.24.movMacOS: DesktopScreen.Recording.2024-05-29.at.00.42.12.mov |
The same RCA with this issue. This change looks good. |
…iefly Fix header in Home page is missing briefly when app is launched (cherry picked from commit e9698b5)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/puneetlath in version: 1.4.76-6 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.76-7 🚀
|
Details
The header/top bar of the home is missing briefly because withOnyx returns null when the data is not ready yet. This PR replaces withOnyx with useOnyx hooks.
Fixed Issues
$ #42639
PROPOSAL: #42639 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
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
Screen.Recording.2024-05-28.at.22.25.35.mov
Android: mWeb Chrome
Screen.Recording.2024-05-28.at.22.26.51.mov
iOS: Native
Screen.Recording.2024-05-28.at.21.58.07.mov
iOS: mWeb Safari
Screen.Recording.2024-05-28.at.22.25.11.mov
MacOS: Chrome / Safari
Screen.Recording.2024-05-28.at.22.21.24.mov
MacOS: Desktop
Screen.Recording.2024-05-28.at.22.22.11.mov