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-08-02] [$250] Migrate index.js to function component #16138

Closed
1 task
marcaaron opened this issue Mar 20, 2023 · 37 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 External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement.

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
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012e1cb4c2da152efa
  • Upwork Job ID: 1686847396210348032
  • Last Price Increase: 2023-08-02
  • Automatic offers:
    • shubham1206agra | Contributor | 25912631
@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
@marcaaron marcaaron changed the title [HOLD] Migrate index.js to function component [HOLD][$250] Migrate index.js to function component Apr 13, 2023
@muxriddinmuqimov77
Copy link

I'd like to work on this issue

@s-alves10
Copy link
Contributor

I'd love to work on this.

@srikarparsi srikarparsi self-assigned this Jun 7, 2023
@srikarparsi srikarparsi added the Weekly KSv2 label Jun 7, 2023
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 15, 2023
@marcaaron marcaaron changed the title [HOLD][$250] Migrate index.js to function component [$250] Migrate index.js to function component Jun 26, 2023
@marcaaron
Copy link
Contributor Author

Taking this one off HOLD.

@rayane-djouah
Copy link
Contributor

rayane-djouah commented Jun 26, 2023

@marcaaron I'd like to work on this

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Jul 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 10, 2023

This issue has not been updated in over 15 days. @srikarparsi eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@mejed-alkoutaini
Copy link

I'm able to work on this if needed!

@srikarparsi srikarparsi added Weekly KSv2 and removed Monthly KSv2 labels Jul 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

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

melvin-bot bot commented Jul 26, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 26, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.45-7 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-08-02. 🎊

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

@shubham1206agra
Copy link
Contributor

@marcaaron Since the PR was reverted. Can I try it converting this functional component?

@melvin-bot
Copy link

melvin-bot bot commented Aug 2, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 2, 2023

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

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 2, 2023

📣 @0xmiroslav We're missing your Upwork ID to automatically send you an offer for the Reviewer role.
Once you apply to the Upwork job, your Upwork ID will be stored and you will be automatically hired for future jobs!

@melvin-bot
Copy link

melvin-bot bot commented Aug 2, 2023

📣 @sobitneupane Please request via NewDot manual requests for the Contributor role ($250)

@melvin-bot
Copy link

melvin-bot bot commented Aug 2, 2023

📣 @sobitneupane Please request via NewDot manual requests for the Reviewer role ($250)

@melvin-bot
Copy link

melvin-bot bot commented Aug 2, 2023

📣 @shubham1206agra 🎉 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 📖

@melvin-bot
Copy link

melvin-bot bot commented Aug 8, 2023

@sobitneupane, @srikarparsi, @shubham1206agra Eep! 4 days overdue now. Issues have feelings too...

@srikarparsi srikarparsi added the Bug Something is broken. Auto assigns a BugZero manager. label Aug 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 9, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 9, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@srikarparsi
Copy link
Contributor

Hi @lschurr! Can you please pay @shubham1206agra for creating this PR and @sobitneupane for testing this PR whenever you get a chance?

@melvin-bot melvin-bot bot removed the Overdue label Aug 9, 2023
@lschurr
Copy link
Contributor

lschurr commented Aug 9, 2023

Sure! The automation says both are $250. Is that correct @srikarparsi?

@srikarparsi
Copy link
Contributor

Yup, that's right, thanks @lschurr!

@lschurr
Copy link
Contributor

lschurr commented Aug 9, 2023

Payment summary:

@lschurr
Copy link
Contributor

lschurr commented Aug 9, 2023

Do we need any regression tests or anything further? Can this be closed @srikarparsi?

@srikarparsi
Copy link
Contributor

Hey yeah closing this out! I don't think regression tests are needed because they already covered this case which is why the issue was reported.

@sobitneupane
Copy link
Contributor

Requested payment on newDot.

#16138 (comment)

@JmillsExpensify
Copy link

Reviewed the details for @sobitneupane. $250 approved for payment via NewDot based on BZ summary above.

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 External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement.
Projects
None yet
Development

No branches or pull requests