-
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
[HOLD for payment 2024-04-15] [$500] Wallet - Back button returns to the same page after adding a bank account in Wallet page #38558
Comments
Triggered auto assignment to @alexpensify ( |
We think that this bug might be related to the #collect project. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Back button returns to the same page after adding a bank account in Wallet page What is the root cause of that problem?For App/src/pages/settings/Wallet/WalletPage/WalletPage.tsx Lines 357 to 360 in 34fa987
But when we verify the bank account, the fallback route itself is the wallet page as we were redirected to the wallet page when we added bank account What changes do you think we should make in order to solve the problem?We can set App/src/libs/Navigation/Navigation.ts Line 185 in 34fa987
Also we need to update Navigation.goBack to make it fallback to the profile settings page.
What alternative solutions did you explore? (Optional)Or, Simply update the goBack route to profile settings page: <HeaderWithBackButton
title={translate('common.wallet')}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS)} Note The Wallet Page is a Result Video:2024-03-19-19.07.33.515936459.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing back button from wallet page returns to the add personal bank account page again. What is the root cause of that problem?When we press the continue button after successfully add the bank account, it will call App/src/pages/AddPersonalBankAccountPage.tsx Lines 44 to 55 in 34fa987
Because the add bank account is the only page in the route, it will use the fallback route and push it to the nav stack. So, when we press back, we will arrive at add personal bank account page again. What changes do you think we should make in order to solve the problem?Remove the fallback route from
btw, a separate thing, I think we can force the fallback here |
ProposalPlease re-state the problem that we are trying to solve in this issue.Wallet - Back button returns to the same page after adding a bank account in Wallet page What is the root cause of that problem?The root cause is here :
we are just defining Navigation.goBack()
What changes do you think we should make in order to solve the problem?To move back to
What alternative solutions did you explore? (Optional)N/A |
Updated Proposal |
Proposal UpdatedUpdated my proposal to add result video and a side note |
I'll try to test this one tomorrow. |
No update yet |
On my testing list |
I tested this one on Android and see a double click on the back button is required to get to the Profile page. |
Job added to Upwork: https://www.upwork.com/jobs/~0172f19f6c44056361 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
@eVoloshchak - can you please review if these proposals will resolve this issue? Thanks! |
No update yet, this one needs a proposal review. |
I think we should proceed with @bernhardoj's proposal, as it's the most universal one (we don't rely on setting 🎀👀🎀 C+ reviewed! |
Triggered auto assignment to @MariaHCD, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @eVoloshchak |
Awesome, the PR is moving forward. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.60-13 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-04-15. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
I confirmed there is an Upwork job here and will continue with the payment process on Monday. |
Payouts due:
Upwork job is here. |
Regression Test Proposal
Do we agree 👍 or 👎 |
$500 approved for @eVoloshchak though re-opening for Al to handle the regression test. |
I'll work on the regression test. |
Closing - the test request has been created |
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: 1.4.54-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
App will return to Profile page.
Actual Result:
App returns to the same Wallet page.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6418351_1710793704406.RPReplay_Final1710792508.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: