Skip to content

[Due for payment 2025-09-09] [$625] Remove remaining withOnyx HOCs from the project | AuthScreens.tsx #65970

Description

@fabioh8010

Parent issue: #64225

Let's refactor AuthScreens.tsx to use useOnyx instead of withOnyx. All the work must be done in one PR.

After refactor please test it extensively and provide test steps in your PR. In case of questions please ask in #expensify-open-source channel.

Note: Several attempts were already made in the past, so please go to that issue and read all the comments and previous PR in order to have full context about the challenge of this file!

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021944840376811306738
  • Upwork Job ID: 1944840376811306738
  • Last Price Increase: 2025-07-14
  • Automatic offers:
    • LorenzoBloedow | Contributor | 108044310

Activity

  1. self-assigned this
    on Jul 14, 2025
  2. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jul 14, 2025
  3. changed the title [-]Remove remaining withOnyx HOCs from the project | AuthScreens.tsx[/-] [+][$250] Remove remaining withOnyx HOCs from the project | AuthScreens.tsx[/+] on Jul 14, 2025
  4. melvin-bot commented on Jul 14, 2025

    @melvin-bot
  5. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jul 14, 2025
  6. melvin-bot commented on Jul 14, 2025

    @melvin-bot

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

  7. roryabraham commented on Jul 14, 2025

    @roryabraham
    Contributor

    @fabioh8010 maybe you want to handle this one yourself? It's funny, we had proposals for all the other withOnyx refactors. People don't want to touch this one 😂

  8. roryabraham commented on Jul 14, 2025

    @roryabraham
    Contributor

    Bumping the bounty a bit here

  9. changed the title [-][$250] Remove remaining withOnyx HOCs from the project | AuthScreens.tsx[/-] [+][$375] Remove remaining withOnyx HOCs from the project | AuthScreens.tsx[/+] on Jul 14, 2025
  10. melvin-bot commented on Jul 14, 2025

    @melvin-bot

    Upwork job price has been updated to $375

  11. LorenzoBloedow commented on Jul 14, 2025

    @LorenzoBloedow
    Contributor

    Can I get this one assigned or does it still need a proposal? Seems a bit verbose for a proposal :P

  12. roryabraham commented on Jul 14, 2025

    @roryabraham
    Contributor

    I mean, technically we need a proposal but I think it can be pretty basic (though the PR itself will be subject to a lot of scrutiny).

    It would be helpful to link to some of the past bugs we're encountered when trying to attempt this same migration in the past

  13. LorenzoBloedow commented on Jul 14, 2025

    @LorenzoBloedow
    Contributor

    Proposal

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

    We need to remove the HOC withOnyx from AuthScreens.tsx.

    What is the root cause of that problem?

    N/A (migration to useOnyx in AuthScreens.tsx)

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

    1. Remove the withOnyx HOC.
    2. Test PR extensively and make sure the following bugs don't surface again:

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    There's a lot of bugs associated with this issue, I'll try to create as many tests as possible for the bugs encountered previously if the tests don't already exist.

    What alternative solutions did you explore? (Optional)

    N/A

    PS: Fixing this issue seems extremely complex in terms of bugs that may arise because of the fix, so this proposal is more of a high-level overview because it'll probably take a while to actually implement it.

  14. 35 remaining items

  15. melvin-bot commented on Sep 9, 2025

    @melvin-bot

    Issue is ready for payment but no BZ is assigned. @lschurr you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

  16. roryabraham commented on Sep 9, 2025

    @roryabraham
    Contributor

    The process for requesting a bounty change is pretty simple - just post in the GitHub as you have done. It's mostly up to the Contributor Manager Engineer (me in this case) to decide whether a compensation adjustment is appropriate, and typically we'll discuss it further in an internal slack room. We don't really have a robust framework for making these decisions uniformly, but I will say that the time it takes isn't really considered as a main deciding factor - more so the complexity, testing, any scope changes, or other unforeseen challenges.

    In this case, my thoughts are:

    1. I already set it higher than average for the higher-than-average complexity
    2. When you posted your proposal, you laid out pretty clearly the scope of known regressions and the testing that would be needed. This indicates that you had a good idea of the scope when the bounty was listed at $375 and you posted your proposal (which to us indicates that you're willing to do that work for the listed price)
    3. I agreed to pay a $125 bonus if you added automated tests, which you did
    4. You managed to get the PR to prod without any regressions or reverts, which the record shows was challenging to do with this migration.

    So while it's not the norm, I think we could pay a $125 discretionary bonus based on your active communication and diligent testing on this challenging issue. This would bring the total to:

    $375 base + $125 for automated tests + $125 discretionary bonus = $625 total

  17. changed the title [-][Due for payment 2025-09-09] [$375] Remove remaining withOnyx HOCs from the project | AuthScreens.tsx[/-] [+][Due for payment 2025-09-09] [$625] Remove remaining withOnyx HOCs from the project | AuthScreens.tsx[/+] on Sep 9, 2025
  18. melvin-bot commented on Sep 9, 2025

    @melvin-bot

    ⚠️ Failed to update price automatically. The BZ team member will need to update the price manually in Upwork.

  19. LorenzoBloedow commented on Sep 10, 2025

    @LorenzoBloedow
    Contributor

    @roryabraham Sounds good.

    Thanks for taking all these factors into consideration, and also for sharing more details on how bounty changes are considered.
    🙂

  20. lschurr commented on Sep 10, 2025

    @lschurr
    Contributor

    Just clarifying @roryabraham - It's $625 for both @eVoloshchak and @LorenzoBloedow, correct?

  21. roryabraham commented on Sep 10, 2025

    @roryabraham
    Contributor

    yes @lschurr that's correct. Thanks!

  22. lschurr commented on Sep 10, 2025

    @lschurr
    Contributor

    @LorenzoBloedow - can you link your Upwork profile here? Thanks!

  23. lschurr commented on Sep 10, 2025

    @lschurr
    Contributor

    Just kidding - I see the offer here: https://www.upwork.com/nx/wm/workroom/41105684/overview

    I'll just update the price on that.

  24. lschurr commented on Sep 10, 2025

    @lschurr
    Contributor

    Payment Summary

    Contributor: @LorenzoBloedow paid $625 via Upwork
    Contributor+: @eVoloshchak due $625 via NewDot

  25. garrettmknight commented on Dec 1, 2025

    @garrettmknight
    Contributor

    $250 approved for @eVoloshchak

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 productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions