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

Use new menu contsants in home menu item

Summary: Ref T11957, just lays in some minor bug fixes. Sets correct menu, removes sidebar on edit.

Test Plan: Test /menu/ on home with Admin and Normal accounts.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T11957

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

+5 -1
+5 -1
src/applications/home/controller/PhabricatorHomeMenuItemController.php
··· 7 7 $viewer = $this->getViewer(); 8 8 $type = $request->getURIData('type'); 9 9 $custom_phid = null; 10 + $menu = PhabricatorProfileMenuEngine::MENU_GLOBAL; 10 11 if ($type == 'personal') { 11 12 $custom_phid = $viewer->getPHID(); 13 + $menu = PhabricatorProfileMenuEngine::MENU_PERSONAL; 12 14 } 13 15 14 16 $application = 'PhabricatorHomeApplication'; ··· 21 23 $engine = id(new PhabricatorHomeProfileMenuEngine()) 22 24 ->setProfileObject($home_app) 23 25 ->setCustomPHID($custom_phid) 24 - ->setController($this); 26 + ->setMenuType($menu) 27 + ->setController($this) 28 + ->setShowNavigation(false); 25 29 26 30 return $engine->buildResponse(); 27 31 }