Skip to content

[CP Stg] Wrap AddPersonalBankAccount with KeyboardAvoidingView#6672

Merged
marcaaron merged 1 commit into
mainfrom
nmurray-cp-personal-bank-keyboard-avoid
Dec 9, 2021
Merged

[CP Stg] Wrap AddPersonalBankAccount with KeyboardAvoidingView#6672
marcaaron merged 1 commit into
mainfrom
nmurray-cp-personal-bank-keyboard-avoid

Conversation

@nickmurray47

@nickmurray47 nickmurray47 commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

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
Comment thread src/pages/AddPersonalBankAccountPage.js
@nickmurray47 nickmurray47 changed the title Wrap AddPersonalBankAccount with KeyboardAvoidingView [CP Stg] Wrap AddPersonalBankAccount with KeyboardAvoidingView Dec 9, 2021
@github-actions

github-actions Bot commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

⚠️ ⚠️ 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
Copy Markdown
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
Copy Markdown
Member

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

@marcaaron

Copy link
Copy Markdown
Contributor

I'll do a run through @nickmurray47

@nickmurray47

Copy link
Copy Markdown
Contributor Author

Thanks Marc!

@marcaaron

Copy link
Copy Markdown
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
Copy Markdown
Member

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

@marcaaron

Copy link
Copy Markdown
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

nickmurray47 commented Dec 9, 2021

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
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