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

Add basic Watching filter to /projects/

Summary: Ref T12707. Adds a simple filter for the viewer if logged in.

Test Plan: Watch a project, click on watching list, see project I'm watching.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley

Maniphest Tasks: T12707

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

+8
+8
src/applications/project/query/PhabricatorProjectSearchEngine.php
··· 128 128 $names['joined'] = pht('Joined'); 129 129 } 130 130 131 + if ($this->requireViewer()->isLoggedIn()) { 132 + $names['watching'] = pht('Watching'); 133 + } 134 + 131 135 $names['active'] = pht('Active'); 132 136 $names['all'] = pht('All'); 133 137 ··· 152 156 case 'joined': 153 157 return $query 154 158 ->setParameter('memberPHIDs', array($viewer_phid)) 159 + ->setParameter('status', 'active'); 160 + case 'watching': 161 + return $query 162 + ->setParameter('watcherPHIDs', array($viewer_phid)) 155 163 ->setParameter('status', 'active'); 156 164 } 157 165