Page MenuHomePhabricator

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

Authored by epriestley on Mar 1 2019, 11:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 3:35 PM
Unknown Object (File)
Sat, Nov 16, 2:45 AM
Unknown Object (File)
Mon, Nov 11, 8:47 PM
Unknown Object (File)
Thu, Nov 7, 11:47 PM
Unknown Object (File)
Sun, Oct 27, 1:43 AM
Unknown Object (File)
Thu, Oct 24, 1:14 AM
Unknown Object (File)
Oct 2 2024, 1:40 AM
Unknown Object (File)
Sep 16 2024, 12:08 AM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable