Page MenuHomePhabricator

When dragging nodes between different columns on an ordered board, don't reorder them by making secondary edits

Authored by epriestley on Mar 1 2019, 11:24 PM.
Referenced Files
F11625511: D20242.diff
Tue, Mar 21, 8:58 PM
Unknown Object (File)
Fri, Mar 17, 8:15 PM
Unknown Object (File)
Feb 19 2023, 2:53 AM
Unknown Object (File)
Feb 18 2023, 12:04 AM
Unknown Object (File)
Jan 14 2023, 8:28 AM
Unknown Object (File)
Jan 6 2023, 7:45 PM
Unknown Object (File)
Jan 6 2023, 4:42 PM
Unknown Object (File)
Jan 2 2023, 9:26 PM



Ref T10334. When a workboard is ordered by priority, dragging from column "A" to a particular place in column "B" currently means "move this task to column B, and adjust its priority so that it naturally sorts into the location under my mouse cursor".

Users frequently find this confusing / undesirable.

To begin improving this, make "drag from column A to column B" and "drag from somewhere in column A to somewhere else in column A" into different operations. The first operation, a movement between columns, no longer implies an ordering change. The second action still does.

So if you actually want to change the priority of a task, you drag it within its current column. If you just want to move it to a different column, you drag it between columns.

This creates some possible problems:

  • Some users may love the current behavior and just not be very vocal about it. I doubt it, but presumably we'll hear from them if we break it.
  • If you actualy want to move + reorder, it's a bit more cumbersome now. We could possibly add something like "shift + drag" for this if there's feedback.
  • The new behavior is probably less surprising, but may not be much more obvious. Future changes (for example, in T10335) should help make it more clear.
  • When you mouse cursor goes over column B, the card dashed-rectangle preview target thing jumps to the correct position in the column -- but that may not be under your mouse cursor. This feels pretty much fine if the whole column fits on screen. It may not be so great if the column does not fit on screen and the dashed-rectangle-thing has vanished. This is just a UI feedback issue and we could refine this later (scroll/highlight the column).
Test Plan
  • Created several tasks at different priority levels, sorted a board by priority, dragged tasks between columns. Dragging from "A" to "B" no longer causes a priority edit.
  • Also, dragged within a column. This still performs priority edits.

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable