Page MenuHomePhabricator

When creating or editing a card on a sorted/grouped workboard, adjust headers appropriately
ClosedPublic

Authored by epriestley on Mar 11 2019, 5:12 AM.
Tags
None
Referenced Files
F13166297: D20271.diff
Tue, May 7, 6:05 AM
Unknown Object (File)
Fri, May 3, 3:41 AM
Unknown Object (File)
Mon, Apr 29, 6:56 PM
Unknown Object (File)
Mon, Apr 29, 3:43 PM
Unknown Object (File)
Sat, Apr 27, 11:49 AM
Unknown Object (File)
Fri, Apr 26, 4:27 AM
Unknown Object (File)
Thu, Apr 25, 9:40 AM
Unknown Object (File)
Wed, Apr 24, 11:42 PM
Subscribers
None

Details

Summary

Depends on D20270. Ref T10333. If you create a task with a new owner, or edit a task and change the priority/owner, we want to move it (and possibly create a new header) when the response comes back.

Make sure the response includes the appropriate details about the object's header and position.

Test Plan
  • Grouped by Owner.
  • Created a new task with a new owner, saw the header appear.
  • Edited a task and changed it to give it a new owner, saw the header appear.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 12 2019, 8:02 PM
src/applications/maniphest/controller/ManiphestController.php
40

(This lost all its callers when I got rid of the global list-view drag-and-drop priority behavior in D20263, it just didn't get cleaned up in that change.)

This revision was automatically updated to reflect the committed changes.