Add proper offline state handling for XeroOrganizationConfigurationPage#41983
Conversation
|
@Expensify/design could you please review this? 🙏 cc @shawnborton |
|
I don't think Offline mode should make the list options here look faded: cc @trjExpensify @Expensify/design - is that your understanding as well? Basically you can still interact with these, so no need to fade them out. We would only use the 50% opacity for the pending creation state of the previous screen's push row. |
Correct! 👍 |
|
That sounds correct to me. I can't see your whole screenshot, but I think there would also be an offline indicator at the bottom of your second screenshot. Can you also pull main when you get a chance? There's been some updated styles merged that aren't reflected in your screenshots either. Thanks! |
|
@abdulrahuman5196 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] |
|
@lakchote the "Other integrations" shouldn't be bold here: But I know we talked about this somewhere else. Do we just need to merge main/a feature branch, or maybe something got messed up here? |
|
@SzymczakJ / @filip-solecki How do I enable this |
|
@abdulrahuman5196 I've updated tests steps 😄 |
|
@shawnborton I merged main and it got fixed!
|
|
Lovely, that looks better! |
|
@abdulrahuman5196 bump 🙏 |
|
@rushatgabhane is taking the review of this one as it's for the Xero project. |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2024-05-16.at.18.11.38.movMacOS: Desktop |
|
🚀 Deployed to staging by https://github.com/lakchote in version: 1.4.77-11 🚀
|
|
🚀 Deployed to staging by https://github.com/lakchote in version: 1.4.77-11 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.78-5 🚀
|












Details
This is PR adds offline state handling for XeroOrganizationConfigurationPage.
Fixed Issues
$ #41841
PROPOSAL: N/A
Tests
canUseXeroIntegrationandcanUseAccountingIntegrationsreturn trueOffline tests
QA Steps
Same as tests
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
android.mov
Android: mWeb Chrome
androidweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
iosweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov