@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.

Archiving badge needs meaningful Badge timeline event title

Summary: Ref T10677, archiving/activating a badge should create non-generic timeline events.

Test Plan: Archive/activate badge, view badge timeline, see story corresponding to archiving/activating actions.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T10677

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

+12
+12
src/applications/badges/storage/PhabricatorBadgesTransaction.php
··· 73 73 $this->renderHandleLink($author_phid)); 74 74 } 75 75 break; 76 + case self::TYPE_STATUS: 77 + switch ($new) { 78 + case PhabricatorBadgesBadge::STATUS_ACTIVE: 79 + return pht( 80 + '%s activated this badge.', 81 + $this->renderHandleLink($author_phid)); 82 + case PhabricatorBadgesBadge::STATUS_ARCHIVED: 83 + return pht( 84 + '%s archived this badge.', 85 + $this->renderHandleLink($author_phid)); 86 + } 87 + break; 76 88 case self::TYPE_ICON: 77 89 if ($old === null) { 78 90 return pht(