Skip to content

[HOLD #333755] [$500] [MEDIUM] Distance: Create a fork for react-beautiful-dnd and remove patch #28797

Closed as not planned

Description

@hayata-suenaga

To fix some bugs found in react-beautiful-dnd, we created a patch file.

There was a discussion on whether we should consider creating a fork for better maintainability.

There is a strong argument that a fork should be created instead of leaving the patch file. Create a fork.

cc: @kosmydel @fabioh8010 @blazejkustra

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01be5681d4b0e2511a
  • Upwork Job ID: 1710111278084698112
  • Last Price Increase: 2023-10-16

Activity

  1. fabioh8010 commented on Oct 5, 2023

    @fabioh8010
    Contributor

    FYI I will be on vacations starting tomorrow for the next two weeks and will return on Oct 23, but I will leave my thoughts here.

    First of all, patches are intended to be temporary fixes until you have a newer release of the library you are patching with the proper fix. In this case, we face the first problem here: The authors of the library made it clear that they won't be addressing fixes / PRs unless is a security issue.

    This library continues to be relied upon heavily by Atlassian products, but we are focused on other priorities right now and have no current plans for further feature development or improvements.

    It will continue to be here on GitHub and we will still make critical updates (e.g. security fixes, if any) as required, but will not be actively monitoring or replying to issues and pull requests.

    We recommend that you don’t raise issues or pull requests, as they will not be reviewed or actioned until further notice.

    So we can assume that this patch file has a high probability of staying here forever in our repo if we continue to use this library.

    Then the second problem comes, that is simply hard to make changes and manage patch files. It's difficult to understand why they are there and what they are fixing exactly. Currently we have means to separate patches fixes by using different files (e.g. the react-native patch files we have), but they need extra careful when managing and creating new ones, which increases complexity.

    I understand that managing a separate fork comes with an overhead to Expensify, and I'm totally fine when you are dealing with temporary situations, but this one is different by the reasons I mentioned first.

  2. added
    External
    on Oct 6, 2023
  3. changed the title [-][Clean UP] Consider if a fork should be created for `react-beautiful-dnd`[/-] [+][$500] [Clean UP] Consider if a fork should be created for `react-beautiful-dnd`[/+] on Oct 6, 2023
  4. melvin-bot commented on Oct 6, 2023

    @melvin-bot
  5. added
    Help Wanted
    on Oct 6, 2023
  6. melvin-bot commented on Oct 6, 2023

    @melvin-bot

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

  7. changed the title [-][$500] [Clean UP] Consider if a fork should be created for `react-beautiful-dnd`[/-] [+]Create a fork for react-beautiful-dnd and remove patch[/+] on Oct 6, 2023
  8. hayata-suenaga commented on Oct 6, 2023

    @hayata-suenaga
    ContributorAuthor
  9. DylanDylann commented on Oct 6, 2023

    @DylanDylann
    Contributor

    Proposal

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

    Create a fork for react-beautiful-dnd and remove patch

    What is the root cause of that problem?

    It is a improvement

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

    1. We need to apply all changes in the patch file to fork repository
    2. Remove the patch of this lib on patch file
    3. Add the fork to package.json
    4. npm install to load this lib
    5. Test again to make sure it works well
  10. 90 remaining items

  11. DylanDylann commented on Aug 9, 2024

    @DylanDylann
    Contributor

    @rafecolton Any update here?

  12. rafecolton commented on Aug 9, 2024

    @rafecolton
    Member

    Sorry I'm not involved in this particular issue, I just removed Hayata's assignment. Please ask in Slack.

  13. trjExpensify commented on Sep 4, 2024

    @trjExpensify
    Contributor

    @DylanDylann what exactly needs to be done here? I can see we have the fork of this library, what are we waiting on?

  14. DylanDylann commented on Sep 4, 2024

    @DylanDylann
    Contributor

    Waiting for @hayata-suenaga to fix this problem #28797 (comment)

  15. DylanDylann commented on Sep 30, 2024

    @DylanDylann
    Contributor

    @hayata-suenaga Could you help to give an ETA on this issue? Or should we close this issue?

    cc @trjExpensify

  16. trjExpensify commented on Oct 1, 2024

    @trjExpensify
    Contributor

    @DylanDylann, Hayata is no longer at Expensify. I think we close it for focus and circle back if we have a need for it.

  17. DylanDylann commented on Oct 1, 2024

    @DylanDylann
    Contributor
  18. trjExpensify commented on Oct 1, 2024

    @trjExpensify
    Contributor

    Cool, done.

  19. DylanDylann commented on Oct 1, 2024

    @DylanDylann
    Contributor

    @trjExpensify In this issue, I created two PRs and one of them was merged

    As mentioned on Slack, the contributor should get fully paid because I am hired and did the work

    I am happy to hear your though. Thanks

  20. DylanDylann commented on Oct 1, 2024

    @DylanDylann
    Contributor

    It has been almost a year since I started working on this issue

  21. trjExpensify commented on Oct 2, 2024

    @trjExpensify
    Contributor

    Oh sorry, I thought you were settled on that. Cool, sent you an offer for $500 per the issue title.

  22. DylanDylann commented on Oct 2, 2024

    @DylanDylann
    Contributor

    @trjExpensify Thank you! I accepted the offer

  23. trjExpensify commented on Oct 2, 2024

    @trjExpensify
    Contributor

    Paid!

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

Metadata

Metadata

Labels

DistanceExternalMonthly

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions