@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 a label for default home menu

Summary: Ref T12174, I think this feels slightly nicer having "Applications"

Test Plan: Review home changes

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12174

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

+8 -4
+1
src/applications/home/constants/PhabricatorHomeConstants.php
··· 6 6 const ITEM_HOME = 'home.dashboard'; 7 7 const ITEM_LAUNCHER = 'home.launcher'; 8 8 const ITEM_MANAGE = 'home.manage.menu'; 9 + const ITEM_APPS_LABEL = 'home.apps.label'; 9 10 10 11 }
+7 -4
src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
··· 26 26 // Default Home Dashboard 27 27 $items[] = $this->newItem() 28 28 ->setBuiltinKey(PhabricatorHomeConstants::ITEM_HOME) 29 - ->setMenuItemKey( 30 - PhabricatorHomeProfileMenuItem::MENUITEMKEY); 29 + ->setMenuItemKey(PhabricatorHomeProfileMenuItem::MENUITEMKEY); 30 + 31 + $items[] = $this->newItem() 32 + ->setBuiltinKey(PhabricatorHomeConstants::ITEM_APPS_LABEL) 33 + ->setMenuItemKey(PhabricatorLabelProfileMenuItem::MENUITEMKEY) 34 + ->setMenuItemProperties(array('name' => pht('Applications'))); 31 35 32 36 foreach ($applications as $application) { 33 37 if (!$application->isPinnedByDefault($viewer)) { ··· 48 52 // Hotlink to More Applications Launcher... 49 53 $items[] = $this->newItem() 50 54 ->setBuiltinKey(PhabricatorHomeConstants::ITEM_LAUNCHER) 51 - ->setMenuItemKey( 52 - PhabricatorHomeLauncherProfileMenuItem::MENUITEMKEY); 55 + ->setMenuItemKey(PhabricatorHomeLauncherProfileMenuItem::MENUITEMKEY); 53 56 54 57 $items[] = $this->newManageItem(); 55 58