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 2022-05-20][$250] Update Form.md with the correct input character counter and enter press behavior #8645

Closed
luacmartins opened this issue Apr 14, 2022 · 20 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Apr 14, 2022

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


Action Performed:

The Form.md doc is outdated. In particular, the sections below:

  1. https://github.com/Expensify/App/blob/main@%7B2022-04-12T19:03:07Z%7D/FORMS.md#character-limits - this feature was removed for now
    2.Additionally, ressing the enter key on any focused field should submit the form. - we should add an exception for a multiline input.

Expected Result:

The doc should be up to date and inputs.

Actual Result:

Doc is outdated.

Workaround:

Ignore the outdated sections of the doc.

Platform:

Where is this issue occurring?

Version Number:
Reproducible in staging?:
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat
Slack conversation:

View all open jobs on GitHub

Upwork Job https://www.upwork.com/jobs/~0126ebd7bae5f2670c

@luacmartins luacmartins added External Added to denote the issue can be worked on by a contributor Engineering Daily KSv2 labels Apr 14, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 14, 2022

Triggered auto assignment to @kevinksullivan (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@Puneet-here
Copy link
Contributor

Hi, I can update it.

@luacmartins luacmartins changed the title Update Form.md with the correct input character counter and enter press behavior Update Form.md with the correct input character counter and enter press behavior and make inputs auto-fill Apr 14, 2022
@Puneet-here
Copy link
Contributor

We can make these changes:-

Character Limits

If a field has a character limit we should give that field a max limit. This is done by passing the maxLength prop to TextInput.

<TextInput
    maxLength={20}
/>

Note: We shouldn't place a max limit on a field if the entered value can be formatted. eg: Phone number.
The phone number can be formatted in different ways

  • 2109400803
  • +12109400803
  • (210)-940-0803

App/FORMS.md

Line 69 in fd23073

Additionally, ressing the enter key on any focused field should submit the form.

we can add another line here:

Note: This doesn't apply to the multiline fields, pressing enter on multiline fields shouldn't submit the form

@luacmartins luacmartins changed the title Update Form.md with the correct input character counter and enter press behavior and make inputs auto-fill Update Form.md with the correct input character counter and enter press behavior Apr 14, 2022
@luacmartins
Copy link
Contributor Author

Your proposal looks good @Puneet-here!

@luacmartins luacmartins added Engineering Help Wanted Apply this label when an issue is open to proposals by contributors and removed Engineering labels Apr 14, 2022
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 14, 2022
@luacmartins
Copy link
Contributor Author

@Puneet-here please apply to the job in Upwork once it's exported.

@melvin-bot
Copy link

melvin-bot bot commented Apr 19, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (Exported)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 19, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 19, 2022

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

@melvin-bot melvin-bot bot changed the title Update Form.md with the correct input character counter and enter press behavior [$250] Update Form.md with the correct input character counter and enter press behavior Apr 19, 2022
@parasharrajat
Copy link
Member

@Puneet-here's proposal looks good here. I don't think C+ is needed for such an issue but I am fine with reviewing the PR.

cc: @Julesssss

🎀 👀 🎀 C+ reviewed

@melvin-bot
Copy link

melvin-bot bot commented Apr 20, 2022

📣 @Puneet-here You have been assigned to this job by @Julesssss!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 20, 2022
@Julesssss
Copy link
Contributor

I think we still need the UpWork job to be created first? But yep, the proposal looks good.

@Puneet-here
Copy link
Contributor

Puneet-here commented Apr 20, 2022

I have applied to the upwork job.
Thanks.

I am now hired on upwork.

@Puneet-here
Copy link
Contributor

I have raised the PR.
Thanks.

@melvin-bot melvin-bot bot added the Overdue label Apr 29, 2022
@Julesssss
Copy link
Contributor

PR merged, awaiting deploy

@melvin-bot melvin-bot bot removed the Overdue label May 3, 2022
@melvin-bot melvin-bot bot added the Overdue label May 11, 2022
@Julesssss
Copy link
Contributor

We're still awaiting deploy, had a couple of issues this week but it should occur pretty soon now.

@melvin-bot melvin-bot bot removed the Overdue label May 12, 2022
@mallenexpensify mallenexpensify changed the title [$250] Update Form.md with the correct input character counter and enter press behavior [HOLD for payment 2022-05-20][$250] Update Form.md with the correct input character counter and enter press behavior May 20, 2022
@mallenexpensify mallenexpensify added the Awaiting Payment Auto-added when associated PR is deployed to production label May 20, 2022
@melvin-bot melvin-bot bot added the Overdue label May 20, 2022
@Julesssss
Copy link
Contributor

@kevinksullivan this one is good for payment 👍

@melvin-bot melvin-bot bot removed the Overdue label May 23, 2022
@kevinksullivan
Copy link
Contributor

Paid @Puneet-here . Job was closed so I reposted a new one to cover C+ @parasharrajat here. Please let me know when you accept and I'll handle that payment!

@parasharrajat
Copy link
Member

@kevinksullivan Accepted it.

@parasharrajat
Copy link
Member

@kevinksullivan Bump.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 Daily KSv2 labels May 26, 2022
@luacmartins
Copy link
Contributor Author

@parasharrajat Kevin is ooo until Monday. Let me know if this can't wait and I'll assign another CM.

@melvin-bot melvin-bot bot added the Overdue label May 30, 2022
@kevinksullivan
Copy link
Contributor

All set thanks for your patience @parasharrajat .

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 Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

6 participants