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

Improve feed rendering of user rename story

Summary:
Ref T13244. This story publishes to the feed (and I think that's reasonable and desirable) but doesn't render as nicely as it could.

Improve the rendering.

(See T9233 for some context on why we render stories like this one in this way.)

Test Plan: {F6184490}

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13244

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

+9
+9
src/applications/people/xaction/PhabricatorUserUsernameTransaction.php
··· 40 40 $this->renderNewValue()); 41 41 } 42 42 43 + public function getTitleForFeed() { 44 + return pht( 45 + '%s renamed %s from %s to %s.', 46 + $this->renderAuthor(), 47 + $this->renderObject(), 48 + $this->renderOldValue(), 49 + $this->renderNewValue()); 50 + } 51 + 43 52 public function validateTransactions($object, array $xactions) { 44 53 $actor = $this->getActor(); 45 54 $errors = array();