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

Reduce colors in ApplicationTransactions for subscriptions

Summary: Remove previously added colors.

Test Plan: Load page, see less color (task)

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

-15
-15
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
··· 428 428 return 'red'; 429 429 } 430 430 break; 431 - case PhabricatorTransactions::TYPE_SUBSCRIBERS: 432 - $old = $this->getOldValue(); 433 - $new = $this->getNewValue(); 434 - $add = array_diff($new, $old); 435 - $rem = array_diff($old, $new); 436 - if ($add && $rem) { 437 - return 'green'; 438 - } else if ($add) { 439 - return 'green'; 440 - } else if ($rem) { 441 - return 'black'; 442 - } else { 443 - return null; 444 - } 445 - break; 446 431 } 447 432 return null; 448 433 }