-
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] Desktop -BA - Bank account page doesn't load after redirecting from desktop #55241
Comments
Triggered auto assignment to @jliexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~021879312300881229146 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Been chatting to Stites about this, as he wrote the design doc for adding VBA's to ND. He mentioned this seems like a general bug, not tied to a project, and can be worked on by contributors. |
🚨 Edited by proposal-police: This proposal was edited at 2025-01-15 06:12:37 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.BA page shows infinite loading view when redirected from the desktop. What is the root cause of that problem?In our case, when redirected from the desktop app, the App/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx Lines 409 to 411 in 7b9e55e
If we see the open reimbursement onyx data, App/src/libs/actions/BankAccounts.ts Lines 452 to 481 in 7b9e55e
we already set it to false either success or failure. But in this case, It's set to true whenever the page is mounted. App/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx Lines 276 to 291 in 7b9e55e
It was first added by this old PR. At that time, But in #52812, we prevent calling App/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx Lines 269 to 271 in 7b9e55e
Thus, But why
But we open the link using
Lines 197 to 207 in 7b9e55e
We previously using Since the What changes do you think we should make in order to solve the problem?
(or we can do it inside
or only set the loading immediately if there is a policyID
or remove it at all. If we see the reason why it was added, it was mentioned
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can probably test rendering the ReimbursementAccountPage without policyID and verify the loading page won't show infinitely. |
|
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: v9.0.85-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5454828&group_by=cases:section_id&group_order=asc&group_id=283225
Issue reported by: Applause Internal Team
Device used: Mac 15.2
App Component: Workspace Settings
Action Performed:
2.Go to Settings > WS > Workflow > Connect Bank account
3.Click on "Note: To connect with Chase, Wells Fargo, Capital One or Bank of America, please click here to complete this process in a browser."
Expected Result:
The bank account page should open in a new browser or tab when trying to add a bank account via Desktop app.
Actual Result:
Bank account page doesn't load after redirecting from desktop.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6714196_1736881182130.Untitled.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eVoloshchakThe text was updated successfully, but these errors were encountered: