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
Unknown Object (File)
Tue, Nov 19, 4:02 PM
Unknown Object (File)
Oct 21 2024, 8:45 AM
Unknown Object (File)
Oct 15 2024, 2:04 PM
Unknown Object (File)
Sep 4 2024, 9:25 PM
Unknown Object (File)
Sep 3 2024, 1:56 PM
Unknown Object (File)
Aug 28 2024, 2:56 PM
Unknown Object (File)
Aug 27 2024, 1:31 PM
Unknown Object (File)
Aug 26 2024, 11:23 PM
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