observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Drag all selected cells #398

Open mootari opened 2 years ago

mootari commented 2 years ago

Is your feature request related to a problem? Please describe.

When multiple cells are selected they can be moved as a group via the arrow buttons in the cell toolbars. However, dragging any of the selected cells will only move that particular cell.

Describe the solution you'd like

Drag cells as a group, the same way they are moved with the arrow buttons.

Additional context

I prefer dragging over the buttons because:

  1. It doesn't create unneccessary intermediate versions for each cell that the group is moved past.
  2. Orientation is easier because I can scroll to the target offset. Moving cells via the buttons happens abruptly and is often very disorienting at each individual step, especially when the group is moved past cells that are higher than the viewport.