-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add reset bank account modal #5828
Conversation
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.
Left a few comments. Still need to test it.
src/libs/actions/BankAccounts.js
Outdated
* | ||
* @param {String} password | ||
*/ | ||
function resetFreePlanBankAccount(password = 'Password1') { |
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.
Is there a reason we are defaulting the password to Password1
?
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.
Good catch. This can be removed. Basically, we have removed the requirement for a password entirely. I set this before that change to make dev testing easier and left it here.
src/libs/actions/BankAccounts.js
Outdated
if (!credentials || !credentials.login) { | ||
throw new Error('Missing credentials when attempting to reset free plan bank account'); | ||
} | ||
if (!password) { |
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.
Can we reach this if we default the password to Password1
?
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.
This can also be removed.
Thanks for the thorough review @luacmartins 🙇 |
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.
LGTM and tested well! Great job 🎉
✋ 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 @luacmartins in version: 1.1.8-10 🚀
|
I'm in the process of getting a test bank account set up here to complete the verifying section that QA could not get to. Almost done! |
Ok this is passing for me let's 🚢 |
🚀 Deployed to production by @roryabraham in version: 1.1.10-2 🚀
|
Details
Adds the ability to delete a bank account in setup so users can restart the VBA flow.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/180264
Tests / QA Steps
/enable
step that a "Disconnect bank account" option is availableTested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android