Page MenuHomePhabricator

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

Authored by epriestley on Jan 12 2014, 11:36 PM.



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.


Diff Detail

Lint Skipped
Unit Tests Skipped

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.