-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] Company cards - QBO: user stays on Export tab when click back arrow #57030
Comments
Triggered auto assignment to @mallenexpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-18 15:55:08 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Company cards - QBO: user stays on Export tab when click back arrow What is the root cause of that problem?This is because we are navigating back to App/src/pages/workspace/accounting/qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx Line 58 in 84885ab
but the QBO route below it has a backTo param so it identifies it as a new route so this will add two duplicate qbo export screens in the stack. What changes do you think we should make in order to solve the problem?We have two options Option B: Use export page route as a backTo Lines 835 to 838 in 84885ab
Navigate with the active route with as App/src/pages/workspace/accounting/qbo/export/QuickbooksExportConfigurationPage.tsx Line 64 in 84885ab
Then we will need to goBack to the backTo param here App/src/pages/workspace/accounting/qbo/export/QuickbooksCompanyCardExpenseAccountPage.tsx Line 58 in 84885ab
Note What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N / A navigation bug What alternative solutions did you explore? (Optional) |
Gonna take me a day or so to get to so adding |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
I can reproduce based on the OP steps Screen.Recording.2025-02-19.at.09.07.06.mov
|
Please assign me, per: https://expensify.slack.com/archives/C02NK2DQWUX/p1739929083385659 |
Job added to Upwork: https://www.upwork.com/jobs/~021892050947866480756 |
Current assignee @hungvu193 is eligible for the External assigner, not assigning anyone new. |
Thanks @hungvu193 , please review @FitseTLT 's proposal above. thx |
@FitseTLT 's proposal here looks good to me! 🎀 👀 🎀 C+ reviewed |
🎀 👀 🎀 |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Proposal LGTM. Let's use the simpler option 🅰 to fix this @FitseTLT |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
But if we use Option A @arosiclair it will not navigate back to export page after page refresh. It could also be considered as a regression compared to the current behavior. Are we ok with that? |
I agree with @FitseTLT. I remember we also had kind of bug after refreshing. I think we probably still need the backTo param |
Alright fair enough - let's go with option B 👍 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.0-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/cases/view/3809602
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Precondition: workspace with added Company cards and QBO connected. Some card is assigned to the user
Expected Result:
The title of the page is now 'QuickBooks Online debit (or credit) card export'
Actual Result:
User is on the Export tab. He need to click < again to navigate to 'QuickBooks Online debit (or credit) card export' tab
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6746761_1739887424002.bandicam_2025-02-18_15-52-57-449.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: