-
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
Apply correct error pattern in Xero integration (return to previous value on error) #46898
Apply correct error pattern in Xero integration (return to previous value on error) #46898
Conversation
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! 🎉
# Conflicts: # src/components/SelectionScreen.tsx
@ikevin127 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] |
ℹ️ Will review this on Saturday (PST) when I'll return to office. |
Reviewer Checklist
Screenshots/VideosAndroid: Native *android.webmAndroid: mWeb ChromeiOS: Native *ios.mp4iOS: mWeb Safari *ios-mweb.mp4MacOS: Chrome / Safari *web.movMacOS: Desktop *desktop.mov |
@war-in Tests well, LGTM 🚀
Note: Once this is addressed, I will be able to 🟢 Approve! Example w/ Purchase bill date field: Screen.Recording.2024-08-10.at.17.27.56.mov |
@ikevin127 thanks for noticing! It should be fixed now :) |
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.
Thanks for handling that, LGTM 🚀
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.
LGTM2
✋ 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/deetergp in version: 9.0.20-0 🚀
|
FYI I believe this was deployed to prod yesterday, from this checklist - #47356 |
() => getXeroBankAccountsWithDefaultSelect(policy ?? undefined, config?.export?.nonReimbursableAccount), | ||
() => getXeroBankAccounts(policy ?? undefined, config?.export?.nonReimbursableAccount), |
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.
Details
Fixed Issues
$ #45406 - partially fixed
PROPOSAL:
Tests
Simulate failing network
inTroubleshooting
(you can setMAX_REQUEST_RETRIES
to 0 to get errors faster).Settings
->Workspaces
-> your Xero workspace ->Accounting
.Offline tests
QA Steps
Simulate failing network
inTroubleshooting
(you can setMAX_REQUEST_RETRIES
to 0 to get errors faster).Settings
->Workspaces
-> your Xero workspace ->Accounting
.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
Screen.Recording.2024-08-07.at.13.21.34.mov
Android: mWeb Chrome
Screen.Recording.2024-08-07.at.13.26.36.mov
iOS: Native
ios.-.native.mov
iOS: mWeb Safari
ios.-.web.mov
MacOS: Chrome / Safari
Online.Converter.video.mov
MacOS: Desktop
desktop.mov