Resolve "Add drag and drop option to reorder questions in monitoring setup"
No mobile support
Note that the drag and drop API and drag events are only for desktop. If we wanted this on mobile we'd need to implement it also with touch events, however given that for HCP desktop is the standard use case (unless that's changed?), I figured it'd be sufficient to have it just on desktop
Dragging into another category
To indicate the drop area, we're adding a background color for the target category
Dragging to reorder questions
I'm not sure if this is wished, but it would be theoretically possible. However althought code-wise it wouldn't be much more complicated (a little, but not much), it's more complicated from a design / UX perspective.
For this reason, I've not added this functionality, but if it's wished we would probably need some design input
Design questions
- How to indicate to the user that they're not just moving to another category, but are reordering the cards
- How to handle reordering when the list is scrollable
- How to indicate what the new position will be
Closes #673 (closed)
Edited by James Jenkinson