Skip to content
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

[CP Stg] Wrap AddPersonalBankAccount with KeyboardAvoidingView #6672

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

nickmurray47
Copy link
Contributor

@nickmurray47 nickmurray47 commented Dec 9, 2021

Details

Keyboard being hidden when attempting to add a personal bank account from

Fixed Issues

$ GH_LINK

Tests / QA Steps

  1. Launch the app and login
  2. Navigate to Settings > Payments > Add payment method and select "Bank account"
  3. Verify the Plaid modal is presented and login with Chase test credentials.
  4. Select an account from the list
  5. Enter incorrect or correct password
  6. Verify the "Save and continue" button displayed above the keyboard or scrollable to the keyboard

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Screen Shot 2021-12-09 at 10 57 23 AM

Mobile Web

Desktop

iOS

Android

@nickmurray47 nickmurray47 self-assigned this Dec 9, 2021
@nickmurray47 nickmurray47 requested a review from a team as a code owner December 9, 2021 18:52
@MelvinBot MelvinBot requested review from danieldoglas and removed request for a team December 9, 2021 18:53
@nickmurray47 nickmurray47 changed the title Wrap AddPersonalBankAccount with KeyboardAvoidingView [CP Stg] Wrap AddPersonalBankAccount with KeyboardAvoidingView Dec 9, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2021

⚠️ ⚠️ Heads up! This pull request has the CP Staging label. ⚠️ ⚠️
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

@nickmurray47
Copy link
Contributor Author

My XCode environment stopped working yesterday (I think related to Flipper) so if someone has a spare cycle to quickly run through the QA steps and screenshot/confirm the steps work, that would be amazing (maybe @parasharrajat if you can)

@parasharrajat
Copy link
Member

Unfortunately, I can't run VBA flow. Don't have access to Chase test credentials

@marcaaron
Copy link
Contributor

I'll do a run through @nickmurray47

@nickmurray47
Copy link
Contributor Author

Thanks Marc!

@marcaaron
Copy link
Contributor

@parasharrajat for future reference the Chase credentials should work when testing against the staging "secure API" (where the Plaid sandbox is running and all the bank account logic goes through a separate endpoint, but this would need to be set up in the .env file).

The credentials are the same ones recommended by Plaid and described in this doc.

Login: user_good
Password: pass_good

@parasharrajat
Copy link
Member

Thanks, @marcaaron, I will keep this as a reference.

@marcaaron
Copy link
Contributor

Passes QA steps for Personal Bank Account flow.

I am a little curious if we can try to make this a feature of the ReimbursementAccountForm instead of having to add it to AddPlaidBankAccount which is used by both VBA and PBA flow. VBA already has a KeyboardAvoidingView here:

https://github.com/Expensify/App/blob/main/src/pages/ReimbursementAccount/ReimbursementAccountPage.js#L209

But the presence of two of them doesn't seem to cause any issues for the VBA flow so it's NAB for me.

@marcaaron marcaaron merged commit 9a27ef2 into main Dec 9, 2021
@marcaaron marcaaron deleted the nmurray-cp-personal-bank-keyboard-avoid branch December 9, 2021 20:09
OSBotify pushed a commit that referenced this pull request Dec 9, 2021
…oard-avoid

[CP Stg] Wrap AddPersonalBankAccount with KeyboardAvoidingView

(cherry picked from commit 9a27ef2)
@nickmurray47
Copy link
Contributor Author

nickmurray47 commented Dec 9, 2021

I am a little curious if we can try to make this a feature of the ReimbursementAccountForm instead of having to add it to AddPlaidBankAccount which is used by both VBA and PBA flow. VBA already has a KeyboardAvoidingView here:

Good point, happy to go for the refactor as soon as I get my environment working again.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @marcaaron in version: 1.1.19-5 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @Julesssss in version: 1.1.21-1 🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants