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-09-27] [$250] Migrate PressableWithSecondaryInteraction/index.js to function component #16192

Closed
1 task
marcaaron opened this issue Mar 20, 2023 · 36 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

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/~0153701f0a1ebdfe82
  • Upwork Job ID: 1691869303041654784
  • Last Price Increase: 2023-08-16
@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
@melvin-bot melvin-bot bot added the Daily KSv2 label Jun 6, 2023
@s-alves10
Copy link
Contributor

I'd love to work on this.

@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Jun 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 13, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

@melvin-bot
Copy link

melvin-bot bot commented Jun 19, 2023

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

@melvin-bot melvin-bot bot removed the Daily KSv2 label Jun 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 22, 2023

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Overdue labels Jun 22, 2023
@olexyt
Copy link
Contributor

olexyt commented Jul 7, 2023

I can work on this issue.

@melvin-bot melvin-bot bot added the Overdue label Jul 7, 2023
@rayane-djouah
Copy link
Contributor

Can I work on this?

1 similar comment
@Vishrut19
Copy link
Contributor

Can I work on this?

@ghost
Copy link

ghost commented Jul 11, 2023

Dibs

@mkhutornyi
Copy link
Contributor

I'd like to work on this.

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

melvin-bot bot commented Jul 17, 2023

This issue has not been updated in over 15 days. 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!

@melvin-bot melvin-bot bot removed the Overdue label Jul 17, 2023
@BeeMargarida
Copy link
Contributor

Hi, I'm Ana from Callstack - expert contributor group - and I would like to take a look at this issue 👋

@marcaaron marcaaron removed Monthly KSv2 Improvement Item broken or needs improvement. labels Aug 16, 2023
@marcaaron marcaaron changed the title [$250] Migrate index.js to function component [$250] Migrate PressableWithSecondaryInteraction/index.js to function component Aug 16, 2023
@studentofcoding
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue

Migrate index.native.js to the function component

What changes do you think we should make in order to solve the problem?

The refactored code can be seen here @marcaaron

https://github.com/studentofcoding/Expensify-App/blob/733b4e2a3b5e29b50c0d23ef3dd52accc62adf19/src/components/PressableWithSecondaryInteraction/index.js#L1-L79

@Umesh-Bhati
Copy link

can I work on this issue?

@melvin-bot
Copy link

melvin-bot bot commented Sep 5, 2023

📣 @Umesh-Bhati! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@Umesh-Bhati
Copy link

Contributor details
Your Expensify account email: [email protected]
Upwork Profile Link: https://www.upwork.com/freelancers/~018f1a33b14bc5e0a1

@melvin-bot
Copy link

melvin-bot bot commented Sep 5, 2023

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Sep 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 11, 2023

This issue has not been updated in over 15 days. @BeeMargarida, @isabelastisser, @marcaaron, @0xmiroslav 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!

@BeeMargarida
Copy link
Contributor

PR updated with main, ready for merge

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Monthly KSv2 Weekly KSv2 labels Sep 16, 2023
@melvin-bot melvin-bot bot changed the title [$250] Migrate PressableWithSecondaryInteraction/index.js to function component [HOLD for payment 2023-09-27] [$250] Migrate PressableWithSecondaryInteraction/index.js to function component Sep 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 20, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 20, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.71-12 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-09-27. 🎊

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

For reference, here are some details about the assignees on this issue:

  • @BeeMargarida does not require payment (Contractor)
  • @0xmiroslav requires payment

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 melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 26, 2023
@isabelastisser
Copy link
Contributor

I need clarification from the team here before I can process the payment, what's the amount that @0xmiroslav needs to be paid for the C+ review for this newfeature issue? @marcaaron

The C+ was assigned on Aug 16 but the PR was merged on Sept 16 because of a merge freeze. Do newfeature issues qualify for urgency bonus? Thanks!

@0xmiros
Copy link
Contributor

0xmiros commented Sep 27, 2023

This is function migration work and bounty is flatten as $250

@isabelastisser
Copy link
Contributor

@0xmiroslav what's your profile in Upwork?

@0xmiros
Copy link
Contributor

0xmiros commented Sep 27, 2023

My payment is on hold. Please close this issue for now. I am tracking so will ping here once ready to get payment.

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 Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests