[QBO Export] Manual exports#44170
Conversation
|
|
|
Oops my bad, it looks different 🤦 |
|
@kosmydel Here's that illustration! |
|
I've addressed the review, ready for re-review. |
|
Thanks for the changes! |
|
Hm actually looking at @hungvu193's screenshots, why doesn't "Quickbooks Online" show in the message text here? It looks like it's missing on all platforms
|
Yeah, I think BE related, here's the return values from |
|
That's weird, but agree it shouldn't be an issue with this PR. Merging! |
|
✋ 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/arosiclair in version: 9.0.8-1 🚀
|
|
@kosmydel @hungvu193 @arosiclair how to make a failed report as in the step 1
|
IIRC You neeed to export it first |
@kavimuru here are steps to force an export to QBO to fail: Prerequisites Add a chart of account (category) to QBO that you can delete later Steps
|
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.0.8-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
| <ConfirmationPage | ||
| illustration={Illustrations.LaptopwithSecondScreenandHourglass} | ||
| heading={translate('workspace.export.notReadyHeading')} | ||
| description={translate('workspace.export.notReadyDescription')} | ||
| shouldShowButton | ||
| buttonText={translate('common.buttonConfirm')} | ||
| onButtonPress={Navigation.goBack} | ||
| illustrationStyle={{width: 233, height: 162}} | ||
| /> |
There was a problem hiding this comment.
This is missing flex styles to have the component occupies the whole page. Coming from #58342
There was a problem hiding this comment.
@s77rt this is not the offending PR. There's another PR that added containeStyle recently (few weeks ago). This PR has been working fine for months
|
|
||
| const shouldShowSubmitButton = isDraft && reimbursableSpend !== 0 && !allHavePendingRTERViolation; | ||
|
|
||
| const shouldShowExportIntegrationButton = !shouldShowPayButton && !shouldShowSubmitButton && connectedIntegration && !!policy; |
There was a problem hiding this comment.
Using connectedIntegration as a condition caused #59813. If the integration connection is invalid, its an empty object rather than being false.




Details
This PR:
exportToIntegrationandmarkAsManuallyExportedactionsExportmenu item to the report details pageReportDetailsExportPagewith "Export" and "Mark as exported" optionsReportPreviewactions to show export optionsMoneyReportHeaderto show export optionsFixed Issues
$ #44022
PROPOSAL: N/A
Tests
Those tests should be performed on the staging environment. In your
.envfile addENVIRONMENT=stagingvariable.Do the tests below for both QBO and Xero integrations.
Prerequisites
Steps 1
Steps 2
Offline tests
Offline pattern B is going to be implemented in a follow-up PR here.
QA Steps
Testssection abovePR 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
mweb-android.mov
iOS: Native
ios.mp4
iOS: mWeb Safari
mweb-ios.mp4
MacOS: Chrome / Safari
web1.mov
web2.mov
MacOS: Desktop
desktop.mov