Skip to content

[Due for Payment 2025-10-21] Remove Onyx.connect() for the key: ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT in src/libs/DraftCommentUtils.ts #66308

Closed

Description

@tgolen

This is part of deprecating Onyx.connect. Parent Issue

Details

  • Module: src/libs/DraftCommentUtils.ts
  • Onyx Key: ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT
  • Reference: Line 6: ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT

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: @trjExpensify

Activity

  1. self-assigned this
    on Jul 16, 2025
  2. added
    Improvement
    Bug
    on Jul 16, 2025
  3. 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
  4. melvin-bot commented on Jul 16, 2025

    @melvin-bot

    Triggered auto assignment to @trjExpensify (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.

  5. added and removed
    Daily
    on Jul 16, 2025
  6. melvin-bot commented on Jul 30, 2025

    @melvin-bot

    @tgolen @trjExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

  7. trjExpensify commented on Sep 8, 2025

    @trjExpensify
    Contributor

    Waiting for a PR.

  8. added
    Reviewing
    on Sep 19, 2025
  9. DylanDylann commented on Oct 18, 2025

    @DylanDylann
    Contributor

    The PR was merged and deployed to production 4 days ago

  10. changed the title [-]Remove `Onyx.connect()` for the key: `ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT` in `src/libs/DraftCommentUtils.ts`[/-] [+][Due for Payment 2025-10-21] Remove `Onyx.connect()` for the key: `ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT` in `src/libs/DraftCommentUtils.ts`[/+] on Oct 19, 2025
  11. added
    Awaiting Payment
    and removed
    Reviewing
    on Oct 19, 2025
  12. danieldoglas commented on Oct 19, 2025

    @danieldoglas
    Contributor

    Updated the title/labels to be awaiting for payment. Value should be $250 on this one.

  13. trjExpensify commented on Oct 21, 2025

    @trjExpensify
    Contributor

    Thanks! Payment summary as follows:

    Go ahead and request!

  14. garrettmknight commented on Dec 5, 2025

    @garrettmknight
    Contributor

    Payment summary here is correct.

  15. trjExpensify commented on Dec 5, 2025

    @trjExpensify
    Contributor

    approved $250 for @DylanDylann

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringImprovementMonthly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions