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-12-29] [$250] Migrate SearchPage.js to function component #16251

Closed
1 task
marcaaron opened this issue Mar 20, 2023 · 71 comments
Closed
1 task
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

  • src/pages/SearchPage.js
    • type: React.Component
    • has state values: true
    • has refs: false
    • has context: false
    • lifecycle methods: none

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/~015fa113b288776a75
  • Upwork Job ID: 1681356452396900352
  • Last Price Increase: 2023-07-18
@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 SearchPage.js to function component [HOLD][$250] Migrate SearchPage.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.

@s-alves10
Copy link
Contributor

I'd love to work on this.

@dayana7204
Copy link
Contributor

I am ready to work on this ticket. :)

@Piotrfj
Copy link
Contributor

Piotrfj commented Jul 5, 2023

Hi I'm Piotr from Callstack - expert contributor group - will start investigation in this area

@melvin-bot
Copy link

melvin-bot bot commented Jul 5, 2023

📣 @Piotrfj! 📣
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>

@disha-np
Copy link

disha-np commented Jul 6, 2023

Can I work on this?

@olexyt
Copy link
Contributor

olexyt commented Jul 7, 2023

I can work on this issue.

@rayane-djouah
Copy link
Contributor

Can I work on this?

@mejed-alkoutaini
Copy link

I'm able to work on this if needed!

@to-ai
Copy link

to-ai commented Jul 11, 2023

I am able to work on this task.

@ghost
Copy link

ghost commented Jul 14, 2023

Dibs

@marcaaron marcaaron changed the title [HOLD][$250] Migrate SearchPage.js to function component [$250] Migrate SearchPage.js to function component Jul 18, 2023
@marcaaron marcaaron added External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. labels Jul 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 18, 2023

Job added to Upwork: https://www.upwork.com/jobs/~015fa113b288776a75

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 18, 2023

@melvin-bot
Copy link

melvin-bot bot commented Jul 18, 2023

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

@melvin-bot melvin-bot bot added Weekly KSv2 Daily KSv2 labels Jul 18, 2023
@allroundexperts
Copy link
Contributor

Yep. On my list for tomorrow!

@ghost
Copy link

ghost commented Dec 1, 2023

Can I work on it?

@isabelastisser
Copy link
Contributor

@allroundexperts @marcaaron what's next here?

@allroundexperts
Copy link
Contributor

@isabelastisser The update is that @koko57 has taken over the PR and has resolved my pending comments. I'll take a look at it again tomorrow.

@isabelastisser
Copy link
Contributor

Hey @allroundexperts, please provide an update. Thanks!

@allroundexperts
Copy link
Contributor

I've approved the PR. @marcaaron requested some changes which were recently fixed by @koko57. The PR is ready for marc's review again.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Monthly KSv2 Weekly KSv2 labels Dec 21, 2023
@melvin-bot melvin-bot bot changed the title [$250] Migrate SearchPage.js to function component [HOLD for payment 2023-12-29] [$250] Migrate SearchPage.js to function component Dec 22, 2023
Copy link

melvin-bot bot commented Dec 22, 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 Dec 22, 2023
Copy link

melvin-bot bot commented Dec 22, 2023

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

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:

Copy link

melvin-bot bot commented Dec 22, 2023

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

  • [@allroundexperts] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@isabelastisser] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Dec 28, 2023
Copy link

melvin-bot bot commented Jan 1, 2024

@allroundexperts, @isabelastisser, @marcaaron, @Piotrfj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Jan 2, 2024

@allroundexperts, @isabelastisser, @marcaaron, @Piotrfj Eep! 4 days overdue now. Issues have feelings too...

@isabelastisser
Copy link
Contributor

@allroundexperts please complete this task before I can close the issue. Thanks!

[@allroundexperts] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.

@melvin-bot melvin-bot bot removed the Overdue label Jan 2, 2024
@isabelastisser
Copy link
Contributor

Payment summary:

$250 to @allroundexperts for C+ review.

requires payment through NewDot Manual Requests

@isabelastisser
Copy link
Contributor

Bump @allroundexperts to complete the checklist above.

@allroundexperts
Copy link
Contributor

@isabelastisser I don't think that we have checklists for component migrations.

@JmillsExpensify
Copy link

$250 payment to @allroundexperts based on this comment.

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