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

Hide revision dependency stories from feed/notifications

Summary:
See PHI1134. Generally, "alice added a dependent revision: ..." isn't a very interesting story. This relationship itself is valuable, but the creation of the relationship is usually pretty obvious from context.

In the specific case of PHI1134, various scripts are racing one another, but I don't think this story is of much value in the general case anyway.

Test Plan: Edited parent/child revisions, no more feed stories.

Reviewers: amckinley

Reviewed By: amckinley

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

+8 -2
+8 -2
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
··· 657 657 case PhabricatorMutedEdgeType::EDGECONST: 658 658 case PhabricatorMutedByEdgeType::EDGECONST: 659 659 return true; 660 - break; 661 660 case PhabricatorObjectMentionedByObjectEdgeType::EDGECONST: 662 661 $record = PhabricatorEdgeChangeRecord::newFromTransaction($this); 663 662 $add = $record->getAddedPHIDs(); ··· 700 699 switch ($edge_type) { 701 700 case PhabricatorObjectMentionsObjectEdgeType::EDGECONST: 702 701 case PhabricatorObjectMentionedByObjectEdgeType::EDGECONST: 702 + case DifferentialRevisionDependsOnRevisionEdgeType::EDGECONST: 703 + case DifferentialRevisionDependedOnByRevisionEdgeType::EDGECONST: 704 + case ManiphestTaskHasCommitEdgeType::EDGECONST: 705 + case DiffusionCommitHasTaskEdgeType::EDGECONST: 703 706 return true; 704 707 case PhabricatorProjectObjectHasProjectEdgeType::EDGECONST: 705 708 // When an object is first created, we hide any corresponding ··· 755 758 switch ($edge_type) { 756 759 case PhabricatorObjectMentionsObjectEdgeType::EDGECONST: 757 760 case PhabricatorObjectMentionedByObjectEdgeType::EDGECONST: 761 + case DifferentialRevisionDependsOnRevisionEdgeType::EDGECONST: 762 + case DifferentialRevisionDependedOnByRevisionEdgeType::EDGECONST: 763 + case ManiphestTaskHasCommitEdgeType::EDGECONST: 764 + case DiffusionCommitHasTaskEdgeType::EDGECONST: 758 765 return true; 759 - break; 760 766 default: 761 767 break; 762 768 }