Skip to content

Migrate ReportActionItem.js to function component #16264

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

Activity

  1. added
    Improvement
    on Mar 20, 2023
  2. locked and limited conversation to collaborators on Mar 20, 2023
  3. unlocked this conversation on Mar 21, 2023
  4. self-assigned this
    on Mar 28, 2023
  5. added
    Reviewing
    on Mar 29, 2023
  6. jasperhuangg commented on Apr 3, 2023

    @jasperhuangg
    Contributor

    @marcaaron Does this still need to be on HOLD?

  7. marcaaron commented on Apr 3, 2023

    @marcaaron
    ContributorAuthor

    We've already started so I think this can come off HOLD. But maybe we can wait for some more "official" word before continuing with the others.

    The official word is just me posting an update somewhere soon saying that we should start looking into them 😄

  8. changed the title [-][HOLD] Migrate ReportActionItem.js to function component[/-] [+]Migrate ReportActionItem.js to function component[/+] on Apr 3, 2023
  9. marcaaron commented on Apr 5, 2023

    @marcaaron
    ContributorAuthor

    @jasperhuangg taking this issue off HOLD as per this Slack post

    IMPORTANT: If anything unexpected pops up during the refactor/review:

    • Take it to #expensify-open-source to get clarification on.
    • Prefix the conversation with [HOOK REFACTOR] so that we can find it easily.
    • Link the result of the conversation in this section of the Design Doc titled “Best Practices Conversations”
    • Add it to the STYLE.md guide in this open PR so we can reference it and apply any teachings in the next phase
  10. jasperhuangg commented on Apr 7, 2023

    @jasperhuangg
    Contributor

    We're still under review here

  11. changed the title [-]Migrate ReportActionItem.js to function component[/-] [+][$250] Migrate ReportActionItem.js to function component[/+] on Apr 13, 2023
  12. 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.

  13. 2 remaining items

  14. MelvinBot commented on Apr 21, 2023

    @MelvinBot
    Contributor

    @jasperhuangg Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  15. MelvinBot commented on Apr 25, 2023

    @MelvinBot
    Contributor

    @jasperhuangg 12 days overdue now... This issue's end is nigh!

  16. added
    Weekly
    and removed
    Daily
    on May 2, 2023
  17. MelvinBot commented on May 2, 2023

    @MelvinBot
    Contributor

    This issue has not been updated in over 14 days. @jasperhuangg eroding to Weekly issue.

  18. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on May 25, 2023
  19. changed the title [-][$250] Migrate ReportActionItem.js to function component[/-] [+][HOLD for payment 2023-06-01] [$250] Migrate ReportActionItem.js to function component[/+] on May 25, 2023
  20. removed
    Reviewing
    on May 25, 2023
  21. melvin-bot commented on May 25, 2023

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  22. melvin-bot commented on May 25, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.17-5 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 2023-06-01. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  23. removed
    Awaiting Payment
    on May 31, 2023
  24. changed the title [-][HOLD for payment 2023-06-01] [$250] Migrate ReportActionItem.js to function component[/-] [+]Migrate ReportActionItem.js to function component[/+] on May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EngineeringImprovementWeekly

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions