Skip to content

Replace react-smooth-dnd with react-beautiful-dnd - #276

Merged
gregorydlogan merged 5 commits into
opencast:admin-ui-picardfrom
Arnei:replace-dnd
May 3, 2024
Merged

Replace react-smooth-dnd with react-beautiful-dnd#276
gregorydlogan merged 5 commits into
opencast:admin-ui-picardfrom
Arnei:replace-dnd

Conversation

@Arnei

@Arnei Arnei commented Jan 24, 2024

Copy link
Copy Markdown
Member

Resolves #196.

While react-smooth-dnd works perfectly fine, it is also unmaintained and will cause problems when
updating to new major versions of react. This
switches to a currently maintained library, which is a lot more boilerplate, but also designed for our
use case (the list where you can edit which columns are displayed in a table and in what order).

Also fixes a bug in the EditTable modal where changes made to the sorting (without saving) would revert
themselves after a couple seconds.

While react-smooth-dnd works perfectly fine, it is
also unmaintained and will cause problems when
updating to new major versions of react. This
switches to a currently maintained library, which is
a lot more boilerplate, but also designed for our
use case (the list where you can edit which columns
are displayed in a table and in what order).

Also fixes a bug in the EditTable modal where changes
made to the sorting (without saving) would revert
themselves after a couple seconds.
@Arnei Arnei added type:bug Something isn't working type:enhancement New feature or request type:dependencies Pull requests that update a dependency file labels Jan 24, 2024
@github-actions

github-actions Bot commented Mar 5, 2024

Copy link
Copy Markdown
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@gregorydlogan gregorydlogan self-assigned this May 3, 2024
@gregorydlogan
gregorydlogan merged commit 5109b5a into opencast:admin-ui-picard May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working type:dependencies Pull requests that update a dependency file type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get rid of react-smooth-dnd

2 participants