Page MenuHomePhabricator

Herald support for changing task status
ClosedPublic

Authored by jasonfsmitty on Oct 28 2015, 6:36 PM.
Tags
None
Referenced Files
F15476459: D14359.id34669.diff
Mon, Apr 7, 6:10 AM
F15476458: D14359.id.diff
Mon, Apr 7, 6:10 AM
F15476457: D14359.id35508.diff
Mon, Apr 7, 6:10 AM
F15476381: D14359.diff
Mon, Apr 7, 5:57 AM
F15475470: D14359.id35508.diff
Sun, Apr 6, 7:53 PM
F15474705: D14359.diff
Sun, Apr 6, 11:18 AM
F15466790: D14359.id35508.diff
Thu, Apr 3, 9:52 AM
F15465607: D14359.id.diff
Wed, Apr 2, 9:17 PM

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.