-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Borys3kk 59999 follow ups #60891
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
Borys3kk 59999 follow ups #60891
Conversation
src/libs/ReportActionsUtils.ts
Outdated
@@ -273,8 +273,7 @@ function getOriginalMessage<T extends ReportActionName>(reportAction: OnyxInputO | |||
} | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In ExportWithDropdownMenu
we also check if isExported
, do we need to do it here as well?
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.
@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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
and notonIconClick
)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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop