Page MenuHomePhabricator

Herald support for changing task status
ClosedPublic

Authored by jasonfsmitty on Oct 28 2015, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 3:35 AM
Unknown Object (File)
Mon, Apr 29, 3:29 PM
Unknown Object (File)
Thu, Apr 25, 12:40 PM
Unknown Object (File)
Wed, Apr 24, 11:27 PM
Unknown Object (File)
Fri, Apr 19, 3:51 PM
Unknown Object (File)
Sun, Apr 14, 4:27 PM
Unknown Object (File)
Thu, Apr 11, 7:55 AM
Unknown Object (File)
Wed, Apr 10, 11:35 AM

Details

Summary

Ref T7848. This patch is incomplete and has the following issues:

  • Multiple statuses can be entered on the edit rule page (only the first one is used).
  • Statuses are not rendered correctly when re-editing a rule.
Test Plan

Applied to our local phab instance and verified it works with our task workflow.

Diff Detail

Repository
rP Phabricator
Branch
herald-status
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 8476
Build 9761: arc lint + arc unit

Event Timeline

jasonfsmitty retitled this revision from to T7848: herald support for changing task status.
jasonfsmitty updated this object.
jasonfsmitty edited the test plan for this revision. (Show Details)
jasonfsmitty added a subscriber: jsmith.
joshuaspence retitled this revision from T7848: herald support for changing task status to Herald support for changing task status.Nov 13 2015, 9:35 AM
joshuaspence updated this object.
joshuaspence edited edge metadata.
joshuaspence added a subscriber: joshuaspence.
epriestley added a reviewer: epriestley.

Some minor inlines, I'll just clean these up in the pull.

src/applications/maniphest/herald/ManiphestTaskStatusHeraldAction.php
26

Prefer head() to reset() in this codebase.

28

This should be DO_STANDARD_EMPTY (empty rule), not DO_STANDARD_NO_EFFECT (valid rule with no effect considering current state).

54

Use ManiphestTaskStatus::getTaskStatusName() to render a name.

55

Debugging/testing code.

This revision is now accepted and ready to land.Dec 5 2015, 6:50 PM
Closed by commit rPa77bf877d4f1: Herald support for changing task status (authored by Jason Smith <jsmith@rajant.com>, committed by epriestley). · Explain WhyDec 5 2015, 6:55 PM
This revision was automatically updated to reflect the committed changes.

Statuses are not rendered correctly when re-editing a rule.

Sorry, totally skipped over this. Following up in T7848.