86504 migrate workspace quickbooks desktop part 2#86508
86504 migrate workspace quickbooks desktop part 2#86508huult wants to merge 10 commits intoExpensify:mainfrom
Conversation
|
@mananjadhav 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] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9751a9d5ab
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| const goBack = useCallback(() => { | ||
| Navigation.goBack(navigateBackTo ?? ROUTES.WORKSPACE_ACCOUNTING_QUICKBOOKS_DESKTOP_ADVANCED.getRoute(policyID)); | ||
| Navigation.goBack(navigateBackTo ?? ROUTES.POLICY_ACCOUNTING.getRoute(policyID)); |
There was a problem hiding this comment.
Route autosync fallback back to the Advanced screen
This fallback now sends users to POLICY_ACCOUNTING when navigateBackTo is missing, but this screen is opened from DynamicQuickbooksDesktopAdvancedPage without a backTo param (src/pages/workspace/accounting/qbd/advanced/DynamicQuickbooksDesktopAdvancedPage.tsx, onPress for auto sync). In refresh/direct-link cases where there is no navigation stack to pop, the header back button now jumps to the generic accounting root instead of the QBD Advanced page, which is a regression from the previous behavior and loses the user’s configuration context.
Useful? React with 👍 / 👎.
…pace-quickbooks-desktop-part-2
|
I still don't have access to the Windows machine. I'll probably have it by Tuesday and will test it then. |
|
@huult Can you resolve conflicts? @mjasikowski Can you please create adhoc build for this one once the conflicts are resolved? |
…pace-quickbooks-desktop-part-2
|
@mananjadhav Resolved |
|
🚧 @mjasikowski has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…pace-quickbooks-desktop-part-2
|
I now have access to a Windows machine. I'll get this tested tomorrow. |
…pace-quickbooks-desktop-part-2
…pace-quickbooks-desktop-part-2
Explanation of Change
Fixed Issues
$ #83840
PROPOSAL:
Tests
Same QA step
Offline tests
QA Steps
Precondition:
A workspace is connected to a QuickBooks Desktop accounting account.
Verify that no errors appear in the JS console
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))npm run compress-svg)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