Repository navigation
[QBD] Offline mode for RequireQuickBooksDesktopModal - #50915
Conversation
|
@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: NativeN/A Android: mWeb ChromeN/A iOS: NativeN/A iOS: mWeb SafariN/A MacOS: Chrome / SafariScreen.Recording.2024-10-18.at.22.40.34.web.movMacOS: DesktopScreen.Recording.2024-10-18.at.22.43.02.desktop.mov |
hoangzinh
left a comment
There was a problem hiding this comment.
Overal looks good, just 1 minor feedback. Can you also check test steps? It looks incorrect.
| setIsLoading(false); | ||
| }); | ||
| }; | ||
| const ContentWrapper = codatSetupLink ? ({children}: React.PropsWithChildren) => children : FullPageOfflineBlockingView; |
There was a problem hiding this comment.
| const ContentWrapper = codatSetupLink ? ({children}: React.PropsWithChildren) => children : FullPageOfflineBlockingView; | |
| const ContentWrapper = codatSetupLink ? View : FullPageOfflineBlockingView; |
I think it's simpler
There was a problem hiding this comment.
In this case we will have to pass flex: 1 for this View
So the current implementation is the simplest
|
Additional, the title may be incorrect, it should be "Offline mode for QBD setup page" |
|
Bug 1: The screen flickers when I turn off and then turn on the network. Screen.Recording.2024-10-18.at.09.42.50.mov |
Actually it's strange But using force offline (CMD+D) I don't have this visual bug |
I still can't reproduce |
|
✋ 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/lakchote in version: 9.0.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
Details
Add Offline mode for RequireQuickBooksDesktopModal
Fixed Issues
$ #50548
PROPOSAL:
Tests
Prerequisites:
Offline tests
Prerequisites:
QA Steps
Prerequisites:
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
not relevant
Android: mWeb Chrome
not relevant
iOS: Native
not relevant
iOS: mWeb Safari
not relevant
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov