-
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
[QBD] Export out-of-pocket expenses #50234
[QBD] Export out-of-pocket expenses #50234
Conversation
Could you please left a comment here ? |
Sure @ZhenjaHorbach |
@marcaaron 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] |
PR is ready ! |
@marcaaron |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-10.at.23.42.54.android.movAndroid: mWeb ChromeScreen.Recording.2024-10-10.at.23.33.57.android.chrome.moviOS: NativeScreen.Recording.2024-10-10.at.23.41.04.ios.moviOS: mWeb SafariScreen.Recording.2024-10-10.at.23.35.44.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-10-10.at.23.27.15.web.movMacOS: DesktopScreen.Recording.2024-10-10.at.23.31.46.desktop.mov |
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.
There's a lot of code that refers to QBO, Is it possible to refers all them to QBD in this PR?
src/pages/workspace/accounting/qbd/export/QuickbooksDesktopExportPage.tsx
Outdated
Show resolved
Hide resolved
...ges/workspace/accounting/qbd/export/QuickbooksDesktopOutOfPocketExpenseAccountSelectPage.tsx
Outdated
Show resolved
Hide resolved
...ges/workspace/accounting/qbd/export/QuickbooksDesktopOutOfPocketExpenseAccountSelectPage.tsx
Outdated
Show resolved
Hide resolved
@hoangzinh |
...ges/workspace/accounting/qbd/export/QuickbooksDesktopOutOfPocketExpenseConfigurationPage.tsx
Outdated
Show resolved
Hide resolved
Bug 1: Menu item "Export as" and "Account" are not showing pending update when updated in offline mode Screen.Recording.2024-10-10.at.17.47.26.mov |
Good point |
@ZhenjaHorbach it's weird to me because when I update "Account" menu in offline, it also show pending update for "Export as" menu Screen.Recording.2024-10-10.at.23.03.28.mov |
This is due to the fact that And when we update one of them It goes into Update state The same logic we have on QBO App/src/pages/workspace/accounting/qbo/export/QuickbooksOutOfPocketExpenseConfigurationPage.tsx Line 65 in c077bd2
|
Thanks for explanation @ZhenjaHorbach |
Note: During testing, I found some missing translations in the background. I believe it would be fixed in this issue #49698 (comment) |
Agree |
🎯 @hoangzinh, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #50591. |
@lakchote |
@hoangzinh |
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.
I'm glad we're getting rid of DeepPartial
😄
@hoangzinh could you give this a final review please with the new API commands?
Now it doesn't make sense anymore to use DeepPartial 😅 |
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, tested again
Screen.Recording.2024-10-11.at.16.52.45.mov
@lakchote |
✋ 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/lakchote in version: 9.0.49-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.49-2 🚀
|
Details
[QBD] Export out-of-pocket expense
Fixed Issues
$ Related to #49710, will fix it once there aren't TODO items anymore.
PROPOSAL:
Tests
https://dev.new.expensify.com:8082/settings/workspaces/${policyId}/accounting/quickbooks-desktop/export
Export out-of-pocket expenses as
Export out-of-pocket expenses as
screen was openExport as
and choose any itemExport as
was open andMark checks as “print later”
is displayed only if Check is selectedMark checks as “print later”
toggleBank account
and choose any itemBank account
was open and the сurrent value is selectedOffline tests
https://dev.new.expensify.com:8082/settings/workspaces/${policyId}/accounting/quickbooks-desktop/export
Export out-of-pocket expenses as
Export out-of-pocket expenses as
screen was openExport as
and choose any itemExport as
was open andMark checks as “print later”
is displayed only if Check is selectedMark checks as “print later”
toggleBank account
and choose any itemBank account
was open and the сurrent value is selectedQA Steps
https://dev.new.expensify.com:8082/settings/workspaces/${policyId}/accounting/quickbooks-desktop/export
Export out-of-pocket expenses as
Export out-of-pocket expenses as
screen was openExport as
and choose any itemExport as
was open andMark checks as “print later”
is displayed only if Check is selectedMark checks as “print later”
toggleBank account
and choose any itemBank account
was open and the сurrent value is selectedPR 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
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov