Skip to content

[$250] Remove Onyx.connect() for the key: ONYXKEYS.COUNTRY_CODE in src/libs/LocalePhoneNumber.ts #66327

Todo

Description

@tgolen

This is part of deprecating Onyx.connect. Parent Issue

Details

Be sure to refactor methods using test driven development:

  1. Create a unit test for methods before refactoring
  2. Refactor the methods
  3. Ensure the unit test still runs after refactoring
  4. Reinforce the unit testing with a functional test and a QA test
  5. Once you are done, decrease the number of allowable ESLint warnings here to equal the number of Onyx.connect references remaining in the code
Issue OwnerCurrent Issue Owner: @FitseTLT

Activity

  1. added
    Improvement
    Bug
    on Jul 16, 2025
  2. tgolen commented on Jul 16, 2025

    @tgolen
    ContributorAuthor

    Warning

    DO NOT POST PROPOSALS ON THIS ISSUE!!

    Bug-Zero Instructions

    • This issue is CLOSED for proposals
    • It is a special issue and part of a bigger project
    • A contributor will be manually assigned to work on this issue and they do not need to submit a proposal
    • The bug-zero person only needs to take care of payments to the contributor for the PR and the C+ for reviews
    • There do not need to be any regression tests added or updated since this is only refactoring and shouldn't change any existing functionality
  3. melvin-bot commented on Jul 16, 2025

    @melvin-bot

    Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  4. added and removed
    Daily
    on Jul 16, 2025
  5. allgandalf commented on Jul 18, 2025

    @allgandalf
    Contributor

    @shubham1206agra would be the C+ here and i would be the contributor, @bfitzexpensify can you assign us both to this issue please, thanks :)

  6. tgolen commented on Jul 18, 2025

    @tgolen
    ContributorAuthor

    I got you assigned 👍

  7. 344 remaining items

  8. truph01 commented on Nov 11, 2026

    @truph01
    Contributor

    @shubham1206agra If needed, I’d be happy to take over this one if you're moving to the BEC team.

  9. marufsharifi commented on Nov 11, 2026

    @marufsharifi
    Contributor

    I will split the pr today. don't overdue

  10. thelullabyy commented on Nov 13, 2026

    @thelullabyy
    Contributor

    Hi if needed, I can continue Maruf works here

  11. added
    Reviewing
    on Nov 24, 2026
  12. daledah commented on Nov 25, 2026

    @daledah
    Contributor

    @tgolen Since I was the C+ on this PR #107897 and @mkhutornyi is no longer in the Contributor program, I can take over as the C+ for this Remove Onyx series if needed

  13. tgolen commented on Nov 25, 2026

    @tgolen
    ContributorAuthor

    That would be great! Go ahead and take it over. Thank you!

  14. added
    Daily
    and removed
    Reviewing
    Weekly
    on Dec 1, 2026
  15. melvin-bot commented on Dec 1, 2026

    @melvin-bot

    @FitseTLT / @daledah

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.55-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

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

Metadata

Metadata

Labels

BugDailyEngineeringImprovementOverdueSkip Payment

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions