svelte-kanban icon indicating copy to clipboard operation
svelte-kanban copied to clipboard

Chore: Drag and drop fixes, CRDT preparation, I18N message store refactor, etc. (#51, #60, #67, #74, #75, #80, #87, #88, 91)

Open dev-guy opened this issue 1 year ago • 0 comments

Please Select Squash and Merge

Changes

  • [x] Implement #51, #60, #67, #74, #75, #80, #87, #88, #91
  • [x] Change version to 1.1.0
  • [x] Update dependencies

Checklist

  • [x] I imported the Kanban component based on this branch into another app and tested all features to the best of my ability

Notes

#60 - This additional PR expands on this PR to add CRDT-based multiuser functionality to svelte-kanban.

#74 - Dragging a card within a column behaves the same as dragging it into a different column. The behavior might feel a little clunky and unexpected because the dragged card is rendered as an empty rectangle so the user can tell where the card will return to if they drop the card off the board (in other words: cancel the drag and drop operation). To drag a card down, you have to drag it a long way! I prototyped alternative UX's but the code was complicated and I eventually decided that it was bad UX for drag-across versus drag-within to behave differently (as it did before this PR) - at least I couldn't come up with a good enough reason. After all, that's why I created #74 in the first place. The existing behavior is semi-unpredictable.

https://github.com/V-Py/svelte-kanban/assets/12297328/96ecac1a-31d1-4996-b5a4-94c4eff8ef61

dev-guy avatar Sep 18 '23 14:09 dev-guy