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-21] [$250] Migrate ReportTypingIndicator.js to function component #16269

Closed
1 task
marcaaron opened this issue Mar 20, 2023 · 32 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 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/~017bb70fdccbb440b5
  • Upwork Job ID: 1664734515678191616
  • Last Price Increase: 2023-06-02
@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
@danieldoglas danieldoglas self-assigned this Mar 21, 2023
@marcaaron marcaaron changed the title [HOLD] Migrate ReportTypingIndicator.js to function component Migrate ReportTypingIndicator.js to function component Apr 5, 2023
@marcaaron
Copy link
Contributor Author

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

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

⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

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

@marcaaron marcaaron added the Weekly KSv2 label Apr 25, 2023
@danieldoglas
Copy link
Contributor

I'll actually unassign this one from me and leave it open for when we reach external people.

@danieldoglas danieldoglas removed their assignment May 31, 2023
@marcaaron marcaaron added the External Added to denote the issue can be worked on by a contributor label Jun 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

Job added to Upwork: https://www.upwork.com/jobs/~017bb70fdccbb440b5

@marcaaron marcaaron removed the Weekly KSv2 label Jun 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

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

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

melvin-bot bot commented Jun 2, 2023

Triggered auto assignment to @hayata-suenaga (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@jayeshmangwani
Copy link
Contributor

I would like to take this

@chychkoi
Copy link
Contributor

chychkoi commented Jun 2, 2023

I'd like to work on this issue

@Vishrut19
Copy link
Contributor

I would like to work on it.

@jaybarnes33
Copy link

Title: Migrate ReportTypingIndicator.js to function component

Problem: ReportTypingIndicator.js was written as a class component and hence not in accordance with latest react conventions.

Suggested Solution: Rewrite ReportTypingIndicator.js as a functional component so that we are up to date with latest react conventions and also to be able to use hooks.

@MahmudjonToraqulov
Copy link
Contributor

I would like to take this

@melvin-bot
Copy link

melvin-bot bot commented Jun 4, 2023

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

@achmadk
Copy link

achmadk commented Jun 4, 2023

Contributor details
Your Expensify account email: achmad.kurnianto@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01f7ee376ef5018bba

@melvin-bot
Copy link

melvin-bot bot commented Jun 4, 2023

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

@hayata-suenaga
Copy link
Contributor

@eVoloshchak I think the first one who posts a comment is picked for migration issues

@melvin-bot melvin-bot bot removed the Overdue label Jun 5, 2023
@eVoloshchak
Copy link
Contributor

@hayata-suenaga, agree, for the issues where the investigation isn't needed and the scope of work is clearly defined - whoever posts the comment first is assigned to the issue seems like the logical approach, so let's proceed with @jayeshmangwani's proposal

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

melvin-bot bot commented Jun 6, 2023

📣 @jayeshmangwani You have been assigned to this job by @hayata-suenaga!
Please apply to this job in Upwork 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 📖

@achmadk
Copy link

achmadk commented Jun 7, 2023

Thanks for the wise consideration, @eVoloshchak @hayata-suenaga. Maybe I can contribute to the Expensify app in another issue.

@jayeshmangwani, please do your best!

@jayeshmangwani
Copy link
Contributor

PR is ready for review
cc: @hayata-suenaga @eVoloshchak

@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

@eVoloshchak, @miljakljajic, @jayeshmangwani, @hayata-suenaga Whoops! This issue is 2 days overdue. Let's get this updated quick!

@eVoloshchak
Copy link
Contributor

Not overdue, this was deployed to staging 2 days ago

@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 14, 2023
@melvin-bot melvin-bot bot changed the title [$250] Migrate ReportTypingIndicator.js to function component [HOLD for payment 2023-06-21] [$250] Migrate ReportTypingIndicator.js to function component Jun 14, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.27-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-06-21. 🎊

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

@miljakljajic
Copy link
Contributor

Just to confirm - will @eVoloshchak and @jayeshmangwani be owed 250 USD each for this issue? I will send out the offers today so we're ready to pay on the 21st.

@hayata-suenaga
Copy link
Contributor

@miljakljajic I found a slack comment by Marc on contributor compensation being $250

@miljakljajic
Copy link
Contributor

I'll issue payment today!

@miljakljajic
Copy link
Contributor

contracts extended @jayeshmangwani and @eVoloshchak

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 21, 2023
@miljakljajic
Copy link
Contributor

Paid, contracts ended.

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 Improvement Item broken or needs improvement.
Projects
None yet
Development

No branches or pull requests