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)
Fri, Nov 22, 8:35 AM
Unknown Object (File)
Sun, Nov 17, 1:30 AM
Unknown Object (File)
Oct 26 2024, 2:46 PM
Unknown Object (File)
Oct 22 2024, 2:11 PM
Unknown Object (File)
Oct 20 2024, 5:13 PM
Unknown Object (File)
Oct 18 2024, 12:25 AM
Unknown Object (File)
Oct 15 2024, 5:54 AM
Unknown Object (File)
Oct 9 2024, 11:25 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

Lint
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.