Page MenuHomePhabricator

Allow tasks to be dragged-and-dropped between workboard columns (UI only)
ClosedPublic

Authored by epriestley on Jan 12 2014, 11:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 7:24 PM
Unknown Object (File)
Mon, Apr 15, 11:55 PM
Unknown Object (File)
Sun, Apr 14, 3:27 AM
Unknown Object (File)
Sat, Apr 6, 4:56 AM
Unknown Object (File)
Sat, Apr 6, 4:56 AM
Unknown Object (File)
Sat, Apr 6, 4:56 AM
Unknown Object (File)
Sat, Apr 6, 4:22 AM
Unknown Object (File)
Sat, Apr 6, 4:00 AM
Subscribers

Details

Summary

Ref T1344. Allows you to drag tasks within a column and between columns, and handles all the multi-column state / targeting / ghosting stuff.

This is a UI-only change; you can't actually do anything meaningful with these yet.

Roughly, I added the idea of a DraggableList existing within a "group" of draggable lists. Normally, that group only has one item, but on boards it has all of the columns. Then I made all of the relevant operations just apply to the whole group of lists.

Test Plan
  • Verified existing funtionality in Maniphest and ApplicationSearch is unaffected, by dragging around tasks to reprioritize them and dragging around search items.
  • Dragged tasks between columns on a board view.

{F101196}

Diff Detail

Branch
board5
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

UI is all placeholdery too, particularly the red debug background and total lack of special rotation effects.

epriestley updated this revision to Unknown Object (????).Jan 12 2014, 11:41 PM
  • Slightly simplify the number of variables some methods require.