@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 the "added a commit/revision" stories from feed and mail

Summary:
Ref T13276. Previously, these edges were added directly with an `EdgeEditor`, so they did not generate transaction stories.

Now, they're added properly, but they aren't terribly useful in feed/mail. Hide them in those contexts, like we already do with other types of similar edges.

Test Plan: Will verify behavior on `secure`.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13276

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

+4
+4
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
··· 703 703 case DifferentialRevisionDependedOnByRevisionEdgeType::EDGECONST: 704 704 case ManiphestTaskHasCommitEdgeType::EDGECONST: 705 705 case DiffusionCommitHasTaskEdgeType::EDGECONST: 706 + case DiffusionCommitHasRevisionEdgeType::EDGECONST: 707 + case DifferentialRevisionHasCommitEdgeType::EDGECONST: 706 708 return true; 707 709 case PhabricatorProjectObjectHasProjectEdgeType::EDGECONST: 708 710 // When an object is first created, we hide any corresponding ··· 762 764 case DifferentialRevisionDependedOnByRevisionEdgeType::EDGECONST: 763 765 case ManiphestTaskHasCommitEdgeType::EDGECONST: 764 766 case DiffusionCommitHasTaskEdgeType::EDGECONST: 767 + case DiffusionCommitHasRevisionEdgeType::EDGECONST: 768 + case DifferentialRevisionHasCommitEdgeType::EDGECONST: 765 769 return true; 766 770 default: 767 771 break;