-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix header in Home page is missing briefly when app is launched #42702
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
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 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-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