Borys3kk 59999 follow ups#60891
Conversation
src/libs/ReportActionsUtils.ts
Outdated
| function isExportIntegrationAction(reportAction: OnyxInputOrEntry<ReportAction>): boolean { | ||
| return reportAction?.actionName === CONST.REPORT.ACTIONS.TYPE.INTEGRATIONS_MESSAGE && !!getOriginalMessage(reportAction as ReportAction<'INTEGRATIONSMESSAGE'>)?.result?.success; | ||
| } | ||
| return reportAction?.actionName === CONST.REPORT.ACTIONS.TYPE.EXPORTED_TO_INTEGRATION;} |
There was a problem hiding this comment.
We have to revert to this implementation of isExportIntegrationAction because of bugs it causes for some accounting connections (eg it only works for netsuite, for other integrations you can click export button endlessly)
There was a problem hiding this comment.
After discussion with @jnowakow we decided the best thing to do would be implementing checks for all accountings checking if the reports have been correctly exported, but we would need more info about what type of messages do they return etc
|
@borys3kk I wasn't able to reproduce the issue #59999 (comment) anymore. Additonally, I think #59999 (comment) is expected if the |
0fa302d to
2a5319f
Compare
|
|
2a5319f to
3770393
Compare
Wanted to squash commits, didn't realize it commited many many files, reverted |
mananjadhav
left a comment
There was a problem hiding this comment.
Left a few comments. But overall looks good, I'll start testing in a few hours.
| }, [isPaidAnimationRunning, moneyRequestReport, reportNameValuePairs, policy, transactions, violations]); | ||
|
|
||
| const confirmExport = useCallback(() => { | ||
| setExportModalStatus(null); |
There was a problem hiding this comment.
In ExportWithDropdownMenu we also check if isExported, do we need to do it here as well?
|
@suneox @mananjadhav let's keep momentum on this one. |
|
I think it's fine if the other issues are fixed. We can just remove that one from the list of fixed issues and tackle in a separate PR. I think the priority here is to keep making progress in fixing the issues in the main tracking issue, either in batch or one at a time. So as long as we're fixing an issue and not adding unnecessary code for other issues, we should be good. |
|
I got it. Overall, the change set LGTM I'm still working on the checklist on other platforms |
|
Cool, I removed #60914 from the list of fixed issues |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari#6091160911.mp4#6091260912.mp4#6091360913.mp4#6100561005.mp4#5989360914.mp4Android: HybridAppandroid-native.mp4Android: mWeb Chromeandroid-web.mp4iOS: HybridAppios-01.mp4ios-02.mp4iOS: mWeb Safarisafari-02.mp4safari-01.mp4MacOS: Desktopdesktop-app.mp4 |
|
Thanks for the review @suneox! |
|
Congrats, that's your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It's an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
|
✋ 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/luacmartins in version: 9.1.40-0 🚀
|
|
#60914 Failing on Desktop test.4.-.fail.mp4 |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.1.40-7 🚀
|
cc: @luacmartins @jnowakow
Explanation of Change
Fixed Issues
$ #60852
$ #60911
$ #60912
$ #60913
$ #61005
$ #59999 (comment)
$ #59999 (comment)
$ #59893
PROPOSAL:
Tests
$ #60911
Approver A steps:
$ #60912
Precondition:
Workspace is connected to Sage Intacct.
Auto sync must be disabled.
$ #60913
Precondition:
Workspace is connected to Sage Intacct.
Auto sync must be disabled.
$ #61005
Precondition:
Log in to account with beta access.
User A and B have no unsettled expenses.
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop