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 2023-06-19] [$250] Migrate IOUConfirmationList.js to function component #16162

Closed
1 task
marcaaron opened this issue Mar 20, 2023 · 26 comments
Closed
1 task
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Improvement Item broken or needs improvement.

Comments

@marcaaron
Copy link
Contributor

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
@luacmartins luacmartins self-assigned this Mar 20, 2023
@luacmartins luacmartins added the Weekly KSv2 label Mar 21, 2023
@Expensify Expensify unlocked this conversation Mar 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Mar 30, 2023
@luacmartins
Copy link
Contributor

on hold

@melvin-bot melvin-bot bot removed the Overdue label Mar 30, 2023
@marcaaron marcaaron changed the title [HOLD] Migrate IOUConfirmationList.js to function component Migrate IOUConfirmationList.js to function component Apr 5, 2023
@marcaaron
Copy link
Contributor Author

@luacmartins 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

@luacmartins
Copy link
Contributor

Cool! Thanks for letting me know. I’ll work on it some time next week.

@marcaaron marcaaron changed the title Migrate IOUConfirmationList.js to function component [$250] Migrate IOUConfirmationList.js to function component Apr 13, 2023
@melvin-bot melvin-bot bot added the Overdue label Apr 13, 2023
@luacmartins
Copy link
Contributor

We are refactoring this component as part of a manual requests issue, so I'll wait a bit to migrate it after we merge those changes.

@melvin-bot melvin-bot bot removed the Overdue label Apr 13, 2023
@melvin-bot melvin-bot bot added the Overdue label Apr 24, 2023
@luacmartins
Copy link
Contributor

No updates. I'm working on Manual Requests as my top priority, so won't get to this for a few days.

@melvin-bot melvin-bot bot removed the Overdue label Apr 24, 2023
@melvin-bot melvin-bot bot added the Overdue label May 2, 2023
@luacmartins
Copy link
Contributor

no updates yet. focused on manual requests

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

no updates yet. focused on manual requests which hopefully means I can get to this next week.

@melvin-bot melvin-bot bot removed the Overdue label May 15, 2023
@luacmartins
Copy link
Contributor

no updates yet. focused on manual requests which hopefully means I can get to this next week.

@melvin-bot melvin-bot bot added the Overdue label May 23, 2023
@luacmartins
Copy link
Contributor

Gonna work on it this week.

@melvin-bot melvin-bot bot removed the Overdue label May 23, 2023
@luacmartins luacmartins added the Bug Something is broken. Auto assigns a BugZero manager. label Jun 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

Triggered auto assignment to @stephanieelliott (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot

This comment was marked as off-topic.

@luacmartins
Copy link
Contributor

@stephanieelliott we just need to pay @mananjadhav for their review on this PR - #19561

@stephanieelliott
Copy link
Contributor

stephanieelliott commented Jun 12, 2023

Posted to Upwork and extended offer to @mananjadhav, please accept when you get a chance!

https://www.upwork.com/jobs/~01d2fcc4e33b3ad5f6

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

melvin-bot bot commented Jun 12, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.26-4 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-19. 🎊

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mananjadhav] The PR that introduced the bug has been identified. Link to the PR:
  • [@mananjadhav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mananjadhav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mananjadhav] Determine if we should create a regression test for this bug.
  • [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@stephanieelliott] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@stephanieelliott stephanieelliott added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Jun 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 15, 2023
@melvin-bot

This comment was marked as duplicate.

@stephanieelliott
Copy link
Contributor

Reapplying the Bug label to get another BZ member to issue payment on this as I am OOO til July 30. Thanks @trjExpensify, this issue is for C+ payment only and I have already hired in Upwork -- the only thing to do here is issue payment on the 19th!

@melvin-bot melvin-bot bot added the Overdue label Jun 19, 2023
@luacmartins
Copy link
Contributor

Just waiting on payment

@melvin-bot melvin-bot bot added Daily KSv2 and removed Overdue Daily KSv2 labels Jun 19, 2023
@trjExpensify
Copy link
Contributor

Just waiting on payment

Alright, alright.. I get the hint! ;)

Settled up, closing!

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Improvement Item broken or needs improvement.
Projects
None yet
Development

No branches or pull requests

5 participants