-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add proper offline state handling for XeroOrganizationConfigurationPage #41983
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🚀 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
canUseXeroIntegration
andcanUseAccountingIntegrations
return trueOffline tests
QA Steps
Same as tests
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
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