Skip to content

[HOLD for payment 2023-06-30] [$250] Migrate PronounsPage.js to function component #16296

Closed

Description

@marcaaron

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/~010517ed943d1f3420
  • Upwork Job ID: 1665691072385675264
  • Last Price Increase: 2023-06-05

Activity

  1. locked and limited conversation to collaborators on Mar 20, 2023
  2. self-assigned this
    on Mar 20, 2023
  3. unlocked this conversation on Mar 21, 2023
  4. changed the title [-][HOLD] Migrate PronounsPage.js to function component[/-] [+]Migrate PronounsPage.js to function component[/+] on Apr 5, 2023
  5. marcaaron commented on Apr 5, 2023

    @marcaaron
    ContributorAuthor

    @mountiny 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
  6. mountiny commented on Apr 5, 2023

    @mountiny
    Contributor

    Thanks, making this weekly as I am currrently working on Roadmap issue.

  7. changed the title [-]Migrate PronounsPage.js to function component[/-] [+][$250] Migrate PronounsPage.js to function component[/+] on Apr 13, 2023
  8. MelvinBot commented on Apr 13, 2023

    @MelvinBot
    Contributor

    ⚠️ 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.

  9. marcaaron commented on Apr 13, 2023

    @marcaaron
    ContributorAuthor

    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.

  10. mountiny commented on Apr 17, 2023

    @mountiny
    Contributor

    havent priritized this with manual requests and app deploy

  11. 83 remaining items

  12. priyeshshah11 commented on Jul 7, 2023

    @priyeshshah11
    Contributor

    Hi @laurenreidexpensify & @mountiny, I asked this question in #20095 & had a chat with @Christinadobrzyn (the bug-zero member in that issue) & was told to ask that question here.

    So I am just asking that if there are two issues & someone fixes them both within one PR shouldn't they get paid for the one that has the higher compensation if not for both?

  13. aimane-chnaif commented on Jul 7, 2023

    @aimane-chnaif
    Contributor

    @priyeshshah11 how much did you get paid in both issues?
    Maybe $250 here and another $250 in #20095?

    There was a recent compensation discussion about one PR fixing multiple issues.
    And we landed:

    • if same root cause, no more compensation
    • if different root cause, sum up issue prices

    Example GH: #15757 + #15229, contributor got paid 8k total

  14. priyeshshah11 commented on Jul 7, 2023

    @priyeshshah11
    Contributor

    @aimane-chnaif I only got paid $250 for this one & nothing for the other one. I think root cause does not really apply in this case as one was a bug & the other one was just a dev task.

  15. Christinadobrzyn commented on Jul 7, 2023

    @Christinadobrzyn
    Contributor

    Oh sorry, maybe I shouldn't have reopened this GH just trying to bring attention to @priyeshshah11 comments ^. I can help with questions about #20095 - @priyeshshah11 was not compensated in that GH because I only paid the reporter on the GH.

    I suggested @priyeshshah11 bring the compensation into this GH since this is where the fix happened.

  16. Christinadobrzyn commented on Jul 7, 2023

    @Christinadobrzyn
    Contributor

    I'll close the issue - sorry I don't think it needs to be open to discuss payment

  17. mountiny commented on Jul 7, 2023

    @mountiny
    Contributor

    @priyeshshah11 sorry for this, it would be helpful to write it down here.

    • what PR you have written
    • which issues did it solve
    • how much you got paid?

    That will help us quickly take a loook if we should add more compensation, thanks!

  18. priyeshshah11 commented on Jul 8, 2023

    @priyeshshah11
    Contributor

    @priyeshshah11 sorry for this, it would be helpful to write it down here.

    • what PR you have written
    • which issues did it solve
    • how much you got paid?

    That will help us quickly take a loook if we should add more compensation, thanks!

    @mountiny yeah sure

  19. mountiny commented on Jul 8, 2023

    @mountiny
    Contributor

    Thanks reopened the other issue

  20. aimane-chnaif commented on Jul 8, 2023

    @aimane-chnaif
    Contributor

    Curious if it's applicable to C+ as well 🙂

  21. mountiny commented on Jul 8, 2023

    @mountiny
    Contributor

    Yes, feel free to comment there

  22. melvin-bot commented on Aug 28, 2023

    @melvin-bot

    ⚠️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorImprovementItem broken or needs improvement.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions