Offline/Refresh - "You appear to be offline" disappears after refreshing the app#69357
Conversation
|
Test failed due to flaky test - not related to my changes |
|
@hoangzinh 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: HybridAppScreen.Recording.2025-08-29.at.18.11.36.movAndroid: mWeb ChromeScreen.Recording.2025-08-29.at.17.50.07.android.chrome.moviOS: HybridAppScreen.Recording.2025-08-29.at.17.58.01.ios.moviOS: mWeb SafariScreen.Recording.2025-08-29.at.17.53.26.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2025-08-29.at.17.46.40.web.movMacOS: DesktopScreen.Recording.2025-08-29.at.17.47.37.desktop.mov |
| let isPoorConnectionSimulated: boolean | undefined; | ||
| let connectionChanges: ConnectionChanges | undefined; | ||
|
|
||
| let isNetworkInitialized = false; |
There was a problem hiding this comment.
| let isNetworkInitialized = false; | |
| let isNetworkStatusInitialized = false; |
I think it's clearer as we're just checking forceOffline status
|
Are we waiting on a review from @yuwenmemon ? |
|
Yuwen is on pat leave, @mallenexpensify. You'll need to source another CME. |
|
hmm.. I thought that started later this week. I'll find another engineer. |
|
✋ 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/inimaga in version: 9.2.9-0 🚀
|
|
🚀 Deployed to staging by https://github.com/inimaga in version: 9.2.11-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.12-4 🚀
|
Explanation of Change
Fixed Issues
$ #67851
PROPOSAL: #67851 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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.mov
Android: mWeb Chrome
ANDROID-WEB.mov
iOS: Native
IOS.mov
iOS: mWeb Safari
IOS-WEB.mov
MacOS: Chrome / Safari
WEB.mov
MacOS: Desktop
DESKTOP-2.mov