Page MenuHomePhabricator

Make drag-and-drop on workboards interact with priority column headers
ClosedPublic

Authored by epriestley on Mar 5 2019, 7:13 PM.
Tags
None
Referenced Files
F15504873: D20248.id48318.diff
Mon, Apr 14, 9:55 PM
F15450955: D20248.id48318.diff
Fri, Mar 28, 7:16 PM
F15447750: D20248.id48377.diff
Fri, Mar 28, 1:22 AM
F15439549: D20248.id.diff
Wed, Mar 26, 8:03 AM
F15436058: D20248.diff
Mar 25 2025, 11:42 AM
F15423377: D20248.id.diff
Mar 22 2025, 3:14 PM
F15391726: D20248.diff
Mar 15 2025, 11:21 AM
Unknown Object (File)
Mar 3 2025, 8:59 AM
Subscribers
None

Details

Summary

Ref T10333. Ref T8135. Depends on D20247. Allow users to drag-and-drop cards on a priority-sorted workboard under headers, even if the header has no other cards.

As of D20247, headers show up but they aren't really interactive. Now, you can drag cards directly underneath a header (instead of only between other cards). For example, if a column has only one "Wishlist" task, you may drag it under the "High", "Normal", or "Low" priority headers to select a specific priority.

(Some of this code still feels a little rough, but I think it will generalize once other types of sorting are available.)

Test Plan

Dragged cards within and between priority groups, saw appropriate priority edits applied in every case I could come up with.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable