-
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] Next Steps - Next steps still shows "Waiting for you to add a bank account" after adding BA #53468
Comments
Triggered auto assignment to @rlinoz ( |
Triggered auto assignment to @garrettmknight ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@garrettmknight FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
I think this might be reproducible in the production branch, let me see |
Job added to Upwork: https://www.upwork.com/jobs/~021863967066967992824 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
it seems to me like a backend issue, next_step value from onyx does not get updated as soon as bank account is added, after a minute or so it gets updated(or with a reload) : |
I mean, backend might be at play here as well, but the fact that we instantly remove the add bank account button makes me think that we can improve this on the App side as well. Maybe even just a better optimistic data. |
Edited by proposal-police: This proposal was edited at 2024-12-05 23:55:30 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Next Steps - Next steps still shows "Waiting for you to add a bank account" after adding BA What is the root cause of that problem?no optimistic data for this case in App/src/libs/actions/BankAccounts.ts Lines 212 to 222 in da7252d
What changes do you think we should make in order to solve the problem?in this case, we are coming from here:
we'll use ExitReportID, after it's merged in onyx: App/src/libs/actions/BankAccounts.ts Line 79 in 840c227
by updating
and we'll update
changes are in this branch What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?cases to test:
What alternative solutions did you explore? (Optional)for optimisticNextStep we can use instead buildNextStep:
and in buildNextStep we to update the REIMBURSED case:
i still have a question in terms of the backend, if a report is paid, will it always send same response |
@M00rish Thanks for the proposal:
I don't think we can be completely sure that the payment will be completed within five days. Could you share why you chose this value? I believe we should align with the logic used in the backend, if possible. There’s a |
yes we can't be sure about that period, during my testing it added 5 five days, but it's something that we have to confirm with backend on how they calculate that value(is it based on days or hours etc...) so we simulate on the front end. i updated my proposal with alternative solution to use |
@rlinoz How should we estimate the date for the payment completion in the frontend? Could you please share the backend logic? |
Ah crap, we actually have a |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
After a lot of digging I think this might get fixed entirely with a change in the backend, sorry about that. |
PR is in staging |
@garrettmknight, @rlinoz, @sobitneupane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Deployed to prod |
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.0.70-1
Reproducible in staging?: Yes
Reproducible in production?: Unable to validate in Production because of BA setup
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: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
After adding bank account the next steps shouldn't show "Waiting for you to add a bank account"
Actual Result:
Next steps says "Waiting for you to add a bank account" even after adding bank account
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rlinozThe text was updated successfully, but these errors were encountered: