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

[HOLD for payment 2021-10-07] Use number pad keyboard when field input will only include numbers in VBA flow #5321

Closed
kevinksullivan opened this issue Sep 17, 2021 · 15 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@kevinksullivan
Copy link
Contributor

kevinksullivan commented Sep 17, 2021

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Problem

The keyboard does not "match" certain fields that should only include numbers within the VBA flow, which requires users to tap through to numbers within their keyboard manually. Here is where this occurs:

Company Information Step

  • Zip Code
  • Incorporation Date

Personal Information Step

  • DOB
  • SSN
  • Zip Code

Action Performed:

  1. Create workspace
  2. Go through VBA flow with test credentials

Solution

Use the number pad whenever a field within the VBA flow will only include digits, like so:

9AEA0125-71FF-4240-A754-212413B02881_1_105_c

Platform:

  • iOS
  • Android

Reproducible in staging?: Yes
Reproducible in production?: Yes

Notes/Photos/Videos:

We should use the number pad in scenarios like this one:

image

View all open jobs on GitHub

@kevinksullivan kevinksullivan added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Sep 17, 2021
@MelvinBot
Copy link

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

@MelvinBot MelvinBot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Sep 17, 2021
@kevinksullivan kevinksullivan changed the title User number pad keyboard when field input will only include numbers in VBA flow Use number pad keyboard when field input will only include numbers in VBA flow Sep 17, 2021
@thesahindia
Copy link
Member

Proposal

Adding keyboardType={CONST.KEYBOARD_TYPE.PHONE_PAD} on the respective ExpensiTextInput(s) should fix this issue.

@JmillsExpensify
Copy link

Upwork job is here: https://www.upwork.com/jobs/~010b5eef0fab29284e

@JmillsExpensify JmillsExpensify added Engineering Exported Help Wanted Apply this label when an issue is open to proposals by contributors labels Sep 17, 2021
@MelvinBot MelvinBot added Weekly KSv2 and removed Daily KSv2 labels Sep 17, 2021
@MelvinBot
Copy link

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

@MelvinBot
Copy link

Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@Jag96
Copy link
Contributor

Jag96 commented Sep 17, 2021

@kevinksullivan it looks like we ask for hyphens for Incorporation Date in the field label seen below, I think we should use a different keyboard type for that one.

image

@thesahindia your proposal makes sense for the fields except for Incorporation Date since there is no hyphen for number pad on iOS. Can you propose a different keyboardType for that one to ensure it can be filled out on iOS?

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Sep 18, 2021

@Jag96

Proposal

We need to use keyBoardType

For fields DOB, Incorporation Date -

iOS - numbers-and-punctuation
Android - numeric or phone-pad

We can write a new method getDateKeyboardType in libs folder to get approritate keyboardType for platforms.
Implementation like we already do for getEmailKeyboardType
Or even simpler one like this -> getOperatingSystem

For other fields

numeric or phone-pad is enough, we can use the existing constants

@thesahindia
Copy link
Member

@thesahindia your proposal makes sense for the fields except for Incorporation Date since there is no hyphen for number pad on iOS. Can you propose a different keyboardType for that one to ensure it can be filled out on iOS

I think we can just leave it as it is for now it is already being handled here

@JmillsExpensify
Copy link

@Jag96 I agree with @thesahindia. We already have a separate issue for that one

@Jag96
Copy link
Contributor

Jag96 commented Sep 21, 2021

Sounds good, @thesahindia your proposal looks good then, feel free to start on a PR once you've been hired in Upwork. @JmillsExpensify let's hire @thesahindia for this one.

@MelvinBot MelvinBot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 21, 2021
@thesahindia
Copy link
Member

Upwork job is here: https://www.upwork.com/jobs/~010b5eef0fab29284e

Hey @JmillsExpensify, I think this job is for an another issue:#5303

@madmax330 madmax330 removed their assignment Sep 23, 2021
@thesahindia thesahindia mentioned this issue Sep 24, 2021
5 tasks
@Jag96 Jag96 added the Reviewing Has a PR in review label Sep 27, 2021
@botify botify added Weekly KSv2 and removed Weekly KSv2 labels Sep 30, 2021
@botify botify added the Awaiting Payment Auto-added when associated PR is deployed to production label Sep 30, 2021
@botify botify changed the title Use number pad keyboard when field input will only include numbers in VBA flow [HOLD for payment 2021-10-07] Use number pad keyboard when field input will only include numbers in VBA flow Sep 30, 2021
@botify
Copy link

botify commented Sep 30, 2021

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.3-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2021-10-07. 🎊

@thesahindia
Copy link
Member

Hi team, I couldn't find the job for this issue on Upwork.

cc: @JmillsExpensify @Jag96

@Jag96
Copy link
Contributor

Jag96 commented Oct 4, 2021

@thesahindia I couldn't find it either, I just created a new posting and invited you, thanks for the heads up! https://www.upwork.com/jobs/~01a1e4563f1db799d8

@Jag96
Copy link
Contributor

Jag96 commented Oct 18, 2021

Paid!

@Jag96 Jag96 closed this as completed Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants