-
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
Fix: navigate to enable-payment page after adding Bank account #29847
Fix: navigate to enable-payment page after adding Bank account #29847
Conversation
@abdulrahuman5196 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] |
@abdulrahuman5196 removed the redundant param. |
Thank you checking again |
@getusha Kindly add information in the details section of the PR. Curious question: I was testing and the |
@abdulrahuman5196 could you help me understand what kind of information i should add? |
Like What is this PR for? What are we changing here? Same as other PRs 🤔 Since we also don't have a proposal it would be hard for someone else to understand in future the change made here |
@abdulrahuman5196 added some details, tried to explain what's going on here. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-10-18.at.11.40.03.PM.mp4Mobile Web - ChromeScreen.Recording.2023-10-18.at.11.47.52.PM.mp4Mobile Web - SafariScreen.Recording.2023-10-18.at.11.45.53.PM.mp4DesktopScreen.Recording.2023-10-19.at.12.00.01.AM.mp4iOSScreen.Recording.2023-10-18.at.11.52.25.PM.mp4AndroidScreen.Recording.2023-10-18.at.11.53.52.PM.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @MariaHCD
🎀 👀 🎀
C+ Reviewed
We did not find an internal engineer to review this PR, trying to assign a random engineer to #29726 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@MariaHCD Do check the attached videos as well on the reviewers checklist |
/** | ||
* Whether after adding a bank account we should continue with the KYC flow | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: Stores a route that is navigated to after successfully adding a bank account
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.3.87-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.3.87-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.87-12 🚀
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.3.88-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.88-11 🚀
|
@getusha After some testing it looks like the flow still drops you back into the wallet page instead of wallet/enable-payments. Any ideas why that might be happening? |
@getusha Sorry missed this message. Was this fixed now? |
@abdulrahuman5196 I was unable to reproduce the issue following the steps described on the issue |
Thanks for the thread link @getusha. I wasn't aware of it. Seems good in the thread. |
Details
Previously we were navigating to wallet page after adding PBA
App/src/pages/AddPersonalBankAccountPage.js
Lines 93 to 95 in 3b86da6
Added
setPersonalBankAccountContinueKYCOnSuccess
with fallback route parameter which will be used to navigate to any route we passed after adding PBA, in this case since the expected result is to land on Additional Information page, we are setting the fallback route toROUTES.ENABLE_PAYMENTS
. we can't expect the route to be ENABLE_PAYMENTS always, there are cases where we want to navigate the user back to wallet page e.g.Fixed Issues
$ #29726
PROPOSAL:
Tests
User A:
User B:
Offline tests
N/a
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2023-10-18.at.2.39.59.PM.mov
Android: mWeb Chrome
confirm-pg-mweban.mov
iOS: Native
confirm-pg-ios.mov
iOS: mWeb Safari
confirm-pg-ba-msafari.mov
MacOS: Chrome / Safari
confirm-pg-ba.mov
MacOS: Desktop
Screen.Recording.2023-10-18.at.1.35.36.PM.mov