App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-09-27] Do not show `Save & Continue` as a floating button in the VBA flow, only show it at the bottom of each step

Open kevinksullivan opened this issue 5 years ago β€’ 26 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Problem

As a result of https://github.com/Expensify/App/issues/5182 , the Save & Continue button will be "active" at all times in the VBA flow, meaning a user can tap/click it at any time regardless of whether all required fields are complete. This means a user might think a step ends prematurely if they are seeing a floating button that can be tapped at any time to move forward. This will lead to unnecessary failures, where a user simply wasn't aware that there were more required fields below an additional scroll.

Action Performed:

  1. Create Workspace
  2. Select Get Started
  3. Choose Connect Manually option to add bank account via routing/account number, continue
  4. See the Save & Continue option regardless of scroll position on the Company Information step

Solution

Do not show Save & Continue as a floating button, and only show it at the bottom of each step in the VBA flow. This will prevent any confusion with the newly enabled Save & Continue button as a result of https://github.com/Expensify/App/issues/5182

Notes/Photos/Videos: Note that Save & Continue exists on my screen while I am not scrolled all the way down in this step and other fields exist below the fold.

image

Slack conversation: link

View all open jobs on GitHub

kevinksullivan avatar Sep 09 '21 23:09 kevinksullivan

Triggered auto assignment to @stephanieelliott (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Sep 09 '21 23:09 MelvinBot

Proposed Solution

We have to move Button component from FixedFooter to ScrollView i.e. before line 355 and remove empty FixedFooter component. Similar process we have follow other page also if need. Thanks.

https://github.com/Expensify/App/blob/01f351c41f59c1c991d068dd0cecca2e34f17d11/src/pages/ReimbursementAccount/CompanyStep.js#L355-L365

PrashantMangukiya avatar Sep 10 '21 11:09 PrashantMangukiya

Triggered auto assignment to @roryabraham (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Sep 10 '21 15:09 MelvinBot

Looks good, left as a daily since it's on the N6 milestone.

stephanieelliott avatar Sep 10 '21 15:09 stephanieelliott

@PrashantMangukiya your proposal looks good. @stephanieelliott please hire @PrashantMangukiya on Upwork, and @PrashantMangukiya feel free to submit a pull request as soon as you're ready.

roryabraham avatar Sep 10 '21 17:09 roryabraham

Hi @roryabraham, thank you for the message.

At present I suggested solution by analysing source code file. To prepare pull request I will prefer to test VBA steps within contributor account, but I am wandering that within my contributor account I can not see VBA flow related step.

I created workspace, also added private domain email as secondary login and verified it. Although I am not able to see Add Bank Account related flow. It shows only paypal.me method.

Any suggestion how to activate VBA flow as contributor to reproduce this issue and testing before creating pr.

Below is screenshot how my workspace looks: Screenshot 2021-09-10 at 9 41 47 AM

PrashantMangukiya avatar Sep 10 '21 18:09 PrashantMangukiya

@PrashantMangukiya Try going to http://localhost:8080/bank-account/new

roryabraham avatar Sep 10 '21 18:09 roryabraham

@roryabraham Thank you very much. I can see Add Bank Account step now. Also Connect manually shows Add Bank account steps.

Attaching screenshots just to confirm that I am in right direction. Thank you again.

Screenshot 2021-09-10 at 11 51 43 PM

Screenshot 2021-09-10 at 11 51 48 PM

PrashantMangukiya avatar Sep 10 '21 18:09 PrashantMangukiya

Hi @roryabraham, Sorry to ask many question, I am adding bank account for testing purpose, but it is not allowing to create. Is there any specific Routing and Account Number I suppose to enter in this field.

Screenshot 2021-09-11 at 12 21 59 AM Screenshot 2021-09-11 at 12 22 04 AM

PrashantMangukiya avatar Sep 10 '21 18:09 PrashantMangukiya

@PrashantMangukiya I don't think you'll actually need to fill out the form. There is an issue open to ensure that users can't link to VBA steps they can't complete, but it's not yet been implemented. This is good news for you, because it means that you can link directly to each individual step to test the button layout:

  • http://localhost:8080/bank-account/new
  • http://localhost:8080/bank-account/company
  • http://localhost:8080/bank-account/personal-information
  • http://localhost:8080/bank-account/contract
  • http://localhost:8080/bank-account/validate

roryabraham avatar Sep 10 '21 19:09 roryabraham

@roryabraham ok I got it. I will open given url and correct button layout. I think it will works to solve this issue. Thanks.

PrashantMangukiya avatar Sep 10 '21 19:09 PrashantMangukiya

@roryabraham, Corrected floating button within VBA flow, Now button shows at bottom of each step.

I was not able to open this http://localhost:8080/bank-account/personal-information, So within ReimbursementAccount folder I check all files and corrected button wherever it was.

Corrected button within below js file. src/pages/ReimbursementAccount/BankAccountStep.js src/pages/ReimbursementAccount/BeneficialOwnersStep.js src/pages/ReimbursementAccount/CompanyStep.js src/pages/ReimbursementAccount/RequestorStep.js src/pages/ReimbursementAccount/ValidationStep.js

As per my knowledge button updated in all page within vba flow. If any page missing then kindly inform me, I will update it soon. I will also create pr soon, so it will give clear idea about code update.

Below screenshot shows how it looks:

account-new Company Contract Validate

PrashantMangukiya avatar Sep 10 '21 20:09 PrashantMangukiya

Hi @stephanieelliott, Can you please create Upwork job for me as suggested in https://github.com/Expensify/App/issues/5183#issuecomment-917092471 So I can submit proposal. I already submit pr https://github.com/Expensify/App/pull/5208 for this issue, it is in review at present.

PrashantMangukiya avatar Sep 13 '21 13:09 PrashantMangukiya

PR in review.

roryabraham avatar Sep 13 '21 23:09 roryabraham

Grabbing the admin side of this one since it's urgent and it's late on EST for steph.

@PrashantMangukiya I invited you to apply for the job - https://www.upwork.com/jobs/~01fe011945cf85a2ad

kevinksullivan avatar Sep 13 '21 23:09 kevinksullivan

@kevinksullivan Thank for the invitation, I accepted and applied for the job.

PrashantMangukiya avatar Sep 14 '21 00:09 PrashantMangukiya

hired!

kevinksullivan avatar Sep 14 '21 01:09 kevinksullivan

@kevinksullivan Accepted the offer, thank you.

PrashantMangukiya avatar Sep 14 '21 01:09 PrashantMangukiya

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

botify avatar Sep 15 '21 08:09 botify

πŸš€ Deployed to staging by @roryabraham in version: 1.0.98-2 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 15 '21 21:09 botify