Page MenuHomePhabricator

Herald support for changing task status
ClosedPublic

Authored by jasonfsmitty on Oct 28 2015, 6:36 PM.
Tags
None
Referenced Files
F14063549: D14359.diff
Mon, Nov 18, 6:58 PM
F14037338: D14359.id34669.diff
Sun, Nov 10, 3:18 PM
F14026451: D14359.id35508.diff
Fri, Nov 8, 1:19 AM
F14026450: D14359.id34669.diff
Fri, Nov 8, 1:19 AM
F14026449: D14359.id.diff
Fri, Nov 8, 1:19 AM
F14026448: D14359.diff
Fri, Nov 8, 1:19 AM
F13980334: D14359.id35508.diff
Oct 19 2024, 9:56 AM
Unknown Object (File)
Sep 19 2024, 12:02 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
27

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

29

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

55

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

56

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.