Skip to content

[$1000] [HOLD for payment 2023-02-10] [Form Refactor] ACHContractStep #9578

Closed

Description

@luacmartins

Coming from the New Expensify Forms design doc, we should refactor ACHContractStep to use the new form component, follow the guidelines below:

Here's an example of a Form refactor: #9056

Guidelines

  1. Replace the form component with Form.js.
  2. Create a unique Onyx key in ONYXKEYS.FORM and pass it as the formID prop to Form.
  3. Pass a validate callback prop.
  4. Pass an onSubmit callback prop that calls the API via an action.
  5. Update all inputs wrapped by Form, following the guidelines in Refactor inputs.
  6. Remove any unused code.

Testing

Verify that:

  • UI looks as it did before the refactor
  • Values can be added and edited
  • Errors are highlighted correctly (input border)
  • Error messages show up correctly
  • Draft values are saved properly
  • Form alerts are displayed correctly
  • Clicking the fix the errors link focuses the first input with error
  • No duplicate submission of the form occurs (when it's already submitting)
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f33cb0c356b601a0
  • Upwork Job ID: 1625948861270761472
  • Last Price Increase: 2023-02-15

Activity

  1. added
    External
    Daily
    on Jun 27, 2022
  2. melvin-bot commented on Jun 27, 2022

    @melvin-bot

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

  3. mallenexpensify commented on Jun 28, 2022

    @mallenexpensify
    Contributor

    @luacmartins couple questions before posting the job on Upwork

    1. The Design Doc linked isn't accessible to those outside of Expensify, will a contributor need any details from the doc in order to do this job?
    2. Should we start at $250 like most other jobs?
  4. luacmartins commented on Jun 28, 2022

    @luacmartins
    ContributorAuthor

    Great questions @mallenexpensify!

    The Design Doc linked isn't accessible to those outside of Expensify, will a contributor need any details from the doc in order to do this job?

    The issue description should have everything the contributor needs to work on this.

    Should we start at $250 like most other jobs?

    Yes! Let's start at $250.

    Thanks for the help!

  5. luacmartins commented on Jun 29, 2022

    @luacmartins
    ContributorAuthor

    This issue is being put on hold due to push to page discussions, as per this comment.

  6. changed the title [-][Form Refactor] ACHContractStep[/-] [+][HOLD] [Form Refactor] ACHContractStep[/+] on Jun 29, 2022
  7. added
    Weekly
    and removed
    Daily
    on Jun 29, 2022
  8. mallenexpensify commented on Jun 29, 2022

    @mallenexpensify
    Contributor

    Bumped to weekly since it's on hold, let me know if/when the job should be posted @luacmartins

  9. 124 remaining items

  10. changed the title [-][HOLD for payment 2023-02-10] [Form Refactor] ACHContractStep[/-] [+][$1000] [HOLD for payment 2023-02-10] [Form Refactor] ACHContractStep[/+] on Feb 15, 2023
  11. MelvinBot commented on Feb 15, 2023

    @MelvinBot
    Contributor
  12. MelvinBot commented on Feb 15, 2023

    @MelvinBot
    Contributor

    Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new.

  13. MelvinBot commented on Feb 15, 2023

    @MelvinBot
    Contributor

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

  14. MelvinBot commented on Feb 15, 2023

    @MelvinBot
    Contributor

    Current assignee @grgia is eligible for the External assigner, not assigning anyone new.

  15. MelvinBot commented on Feb 15, 2023

    @MelvinBot
    Contributor

    📣 @mollfpr You have been assigned to this job by @JmillsExpensify!
    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 📖

  16. JmillsExpensify commented on Feb 15, 2023

    @JmillsExpensify
    Contributor

    @mollfpr Can you apply to the Upwork job above? We can get it kicked off.

  17. mollfpr commented on Feb 15, 2023

    @mollfpr
    Contributor

    @JmillsExpensify applied, thank you!

  18. JmillsExpensify commented on Feb 16, 2023

    @JmillsExpensify
    Contributor

    Cool, offer sent.

  19. mollfpr commented on Feb 16, 2023

    @mollfpr
    Contributor

    @JmillsExpensify Accepted 👍

  20. JmillsExpensify commented on Feb 16, 2023

    @JmillsExpensify
    Contributor

    Awesome, paid out. Closing this as well. Great work all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDailyEngineeringExternalInternalNewFeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions