Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

website: Fix SortableItem whitespace and improve cursor handling

Open rjmacarthy opened this issue 2 years ago • 1 comments

Hey, this pr fixes issue #1364 and also applies some refactoring of the code in SortableItem.

Here is a a summary of the changes:

  • Replace useState hook to manage the mouse cursor. Instead, we can use css.
  • Added a background color indicator when the item is in active state.
  • Added and updated the stories for Sortable to support these changes.

Any problems please let me know.

rjmacarthy avatar Feb 10 '23 10:02 rjmacarthy

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 10 '23 11:02 github-actions[bot]