@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow "Assign/Claim" stacked action on closed tasks

Summary: Ref T9908. Now that you can submit multiple actions, you can "Open + Assign/Claim" a closed task, which is a reasonable action.

Test Plan: Assign/claim'd a closed task.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9908

Differential Revision: https://secure.phabricator.com/D14692

+1 -3
+1 -3
src/applications/maniphest/editor/ManiphestEditEngine.php
··· 56 56 57 57 if ($object->isClosed()) { 58 58 $priority_label = null; 59 - $owner_label = null; 60 59 $default_status = ManiphestTaskStatus::getDefaultStatus(); 61 60 } else { 62 61 $priority_label = pht('Change Priority'); 63 - $owner_label = pht('Assign / Claim'); 64 62 $default_status = ManiphestTaskStatus::getDefaultClosedStatus(); 65 63 } 66 64 ··· 94 92 ->setDescription(pht('User who is responsible for the task.')) 95 93 ->setTransactionType(ManiphestTransaction::TYPE_OWNER) 96 94 ->setSingleValue($object->getOwnerPHID()) 97 - ->setCommentActionLabel($owner_label) 95 + ->setCommentActionLabel(pht('Assign / Claim')) 98 96 ->setCommentActionDefaultValue($owner_value), 99 97 id(new PhabricatorSelectEditField()) 100 98 ->setKey('priority')