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

Migrate ReportActionItem.js to function component #16264

Closed
1 task done
marcaaron opened this issue Mar 20, 2023 · 12 comments
Closed
1 task done

Migrate ReportActionItem.js to function component #16264

marcaaron opened this issue Mar 20, 2023 · 12 comments
Assignees
Labels
Engineering Improvement Item broken or needs improvement. Weekly KSv2

Comments

@marcaaron
Copy link
Contributor

marcaaron commented Mar 20, 2023

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
@marcaaron marcaaron added Engineering Improvement Item broken or needs improvement. labels Mar 20, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 20, 2023
@Expensify Expensify unlocked this conversation Mar 21, 2023
@jasperhuangg jasperhuangg self-assigned this Mar 28, 2023
@jasperhuangg jasperhuangg added the Daily KSv2 label Mar 28, 2023
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Mar 29, 2023
@jasperhuangg
Copy link
Contributor

@marcaaron Does this still need to be on HOLD?

@marcaaron
Copy link
Contributor Author

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 😄

@marcaaron marcaaron changed the title [HOLD] Migrate ReportActionItem.js to function component Migrate ReportActionItem.js to function component Apr 3, 2023
@marcaaron
Copy link
Contributor Author

marcaaron commented Apr 5, 2023

@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

@jasperhuangg
Copy link
Contributor

We're still under review here

@marcaaron marcaaron changed the title Migrate ReportActionItem.js to function component [$250] Migrate ReportActionItem.js to function component Apr 13, 2023
@marcaaron
Copy link
Contributor Author

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.

@MelvinBot
Copy link

@jasperhuangg Eep! 4 days overdue now. Issues have feelings too...

@MelvinBot
Copy link

@jasperhuangg Still overdue 6 days?! Let's take care of this!

@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels May 2, 2023
@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 25, 2023
@melvin-bot melvin-bot bot changed the title [$250] Migrate ReportActionItem.js to function component [HOLD for payment 2023-06-01] [$250] Migrate ReportActionItem.js to function component May 25, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 25, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 25, 2023

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

@jasperhuangg jasperhuangg removed the Awaiting Payment Auto-added when associated PR is deployed to production label May 31, 2023
@jasperhuangg jasperhuangg changed the title [HOLD for payment 2023-06-01] [$250] Migrate ReportActionItem.js to function component Migrate ReportActionItem.js to function component May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Improvement Item broken or needs improvement. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

3 participants