Page MenuHomePhabricator

Split "Edit Blocking Tasks" into "Edit Parent Tasks" and "Edit Subtasks"
ClosedPublic

Authored by epriestley on Jun 22 2016, 5:36 PM.
Tags
None
Referenced Files
F13085333: D16166.diff
Wed, Apr 24, 11:47 PM
Unknown Object (File)
Fri, Apr 19, 4:57 PM
Unknown Object (File)
Wed, Apr 17, 10:25 AM
Unknown Object (File)
Wed, Apr 17, 10:19 AM
Unknown Object (File)
Tue, Apr 9, 12:08 PM
Unknown Object (File)
Sun, Apr 7, 1:19 PM
Unknown Object (File)
Tue, Apr 2, 9:17 PM
Unknown Object (File)
Mon, Apr 1, 4:17 PM
Subscribers
None
Tokens
"Like" token, awarded by Luke081515.2.

Details

Summary

Ref T11179. This splits "Edit Blocking Tasks" into two options now that we have more room ("Edit Parent Tasks", "Edit Subtasks").

This also renames "Blocking" tasks to "Subtasks", and "Blocked" tasks to "Parent" tasks. My goals here are:

  • Make the relationship direction more clear: it's more clear which way is up with "parent" and "subtask" at a glance than with "blocking" and "blocked" or "dependent" and "dependency".
  • Align language with "Create Subtask".
  • To some small degree, use more flexible/general-purpose language, although I haven't seen any real confusion here.

Fixes T6815. I think I narrowed this down to two issues:

  • Just throwing a bare exeception (we now return a dialog explicitly).
  • Not killing open transactions when the cyclec check fails (we now kill them).
Test Plan
  • Edited parent tasks.
  • Edited subtasks.
  • Tried to introduce graph cycles, got a nice error dialog.

Screen Shot 2016-06-22 at 10.25.06 AM.png (267×369 px, 23 KB)

Screen Shot 2016-06-22 at 10.35.10 AM.png (202×578 px, 19 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Split "Edit Blocking Tasks" into "Edit Parent Tasks" and "Edit Subtasks".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

Those tests are likely me, let me look at 'em.

(I don't love these icons but didn't immediately see anything better.)

  • Fix tests by moving an existing transaction kill up a level.

I think I got all the "blocking / blocked" language except Maniphest search filters, but those have some outstanding bugs (T8126, some others?) so I figured I'd wait until I resolve those to sort them out.

chad edited edge metadata.
This revision is now accepted and ready to land.Jun 22 2016, 6:10 PM
This revision was automatically updated to reflect the committed changes.