Skip to content

[$1000] Migrate ReportActionCompose.js to function component #16263

Closed

Description

@marcaaron

Class Component Migration

Filenames

Task

  • We currently have some class components in our codebase that we would like to refactor to a function component.
  • Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
  • If you need additional guidance, please ask in #expensify-open-source
  • Test for any regressions and verify that there are no breaking changes
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01131d62c055beb52a
  • Upwork Job ID: 1668304833402220544
  • Last Price Increase: 2023-06-12
  • Automatic offers:
    • 0xmiroslav | Reviewer | 26454734
    • situchan | Contributor | 26454736

Activity

  1. locked and limited conversation to collaborators on Mar 20, 2023
  2. unlocked this conversation on Mar 21, 2023
  3. self-assigned this
    on Mar 21, 2023
  4. roryabraham commented on Mar 21, 2023

    @roryabraham
    Contributor

    This one seems particularly nasty, so I'd like to take a stab. I'm pretty familiar with hooks but could use a refresher.

  5. added and removed
    ReviewingHas a PR in review
    on Apr 6, 2023
  6. changed the title [-][HOLD] Migrate ReportActionCompose.js to function component[/-] [+][HOLD][$250] Migrate ReportActionCompose.js to function component[/+] on Apr 13, 2023
  7. marcaaron commented on Apr 13, 2023

    @marcaaron
    ContributorAuthor

    Heads up! The pricing for this issue has been adjusted based on the scope of the work and the fact that no complex bug investigations or proposal are required.

  8. hannojg commented on Apr 18, 2023

    @hannojg
    Contributor

    Not sure if the issue is external but I can help with that refactor? (Need it to happen to unblock another PR 😄 )

  9. marcaaron commented on Apr 18, 2023

    @marcaaron
    ContributorAuthor

    We are going to open these up soon. Our internal team has been slowly chewing through the first round of 30 or so. But would love to have you work on this one or some others @hannojg !

  10. 67 remaining items

  11. dylanexpensify commented on Aug 29, 2023

    @dylanexpensify
    Contributor

    Should be today!

  12. dylanexpensify commented on Aug 31, 2023

    @dylanexpensify
    Contributor

    Hmm, Payment isn't autopopulating, but @marcaaron we're good to pay yeah?

  13. situchan commented on Aug 31, 2023

    @situchan
    Contributor

    Hmm, Payment isn't autopopulating, but @marcaaron we're good to pay yeah?

    @roryabraham is assigned engineer here.
    PR was deployed to production on Aug 24 so yeah today is due.

    It took much efforts to review 1.3k lines of code and do full regression test as this is the most important component in the app. Also there were tens of conflicts and had to retest whenever conflict fixed.
    Hope that would be considered in payment.

  14. roryabraham commented on Sep 1, 2023

    @roryabraham
    Contributor

    Confirming that this was deployed to prod on Aug 24th so is ready to pay out.

    Regarding payment, we actually had two C+ here. My proposal for payments is:

    • @0xmiroslav, who reviewed several times but ended up having to pass the PR off. I think we should pay $500 to @0xmiroslav instead of $0 to account for the work they did in the earlier phases of the PR reviews.
    • $1000 to @situchan (i.e: 4x the normal amount for functional component migrations)

    I understand that this was a more time consuming PR to work on, and that's why I quadrupled the bounty early on here.

  15. melvin-bot commented on Sep 1, 2023

    @melvin-bot

    📣 @0xmiroslav 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

    Offer link
    Upwork job

  16. melvin-bot commented on Sep 1, 2023

    @melvin-bot

    📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

    Offer link
    Upwork job
    Please accept the offer 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 📖

  17. melvin-bot commented on Sep 11, 2023

    @melvin-bot

    @chrispader, @roryabraham, @dylanexpensify, @0xmiroslav, @situchan Huh... This is 4 days overdue. Who can take care of this?

  18. melvin-bot commented on Sep 11, 2023

    @melvin-bot

    @chrispader, @roryabraham, @dylanexpensify, @0xmiroslav, @situchan Huh... This is 4 days overdue. Who can take care of this?

  19. roryabraham commented on Sep 11, 2023

    @roryabraham
    Contributor

    This is done – @dylanexpensify bump to pay plz

  20. melvin-bot commented on Sep 18, 2023

    @melvin-bot

    @chrispader, @roryabraham, @dylanexpensify, @0xmiroslav, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!

  21. dylanexpensify commented on Sep 19, 2023

    @dylanexpensify
    Contributor

    Paying tonight!

  22. dylanexpensify commented on Sep 19, 2023

    @dylanexpensify
    Contributor

    @situchan payment sent! @0xmiroslav can you accept offer please?

  23. 0xmiroslav commented on Sep 19, 2023

    @0xmiroslav
    Contributor

    @dylanexpensify please hold my payment and just close this issue to prevent further notifications.
    I will ping here when ready. Thanks

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

Metadata

Metadata

Labels

DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorImprovementItem broken or needs improvement.ReviewingHas a PR in review

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions