@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 a sort order to the favorites menu

Summary: These were once ordered, but I think we switched to being defined in the Engine and never implemented the sorts there. This adds sort ordering to Tasks, Projects, and Repositories.

Test Plan: Review Favorites Menu in local install, see order is now set per the engine. Click Edit Favorites, and re-order. See order sticks.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+12
+4
src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
··· 24 24 return true; 25 25 } 26 26 27 + public function getQuickCreateOrderVector() { 28 + return id(new PhutilSortVector())->addInt(300); 29 + } 30 + 27 31 public function getEngineName() { 28 32 return pht('Repositories'); 29 33 }
+4
src/applications/maniphest/editor/ManiphestEditEngine.php
··· 25 25 return true; 26 26 } 27 27 28 + public function getQuickCreateOrderVector() { 29 + return id(new PhutilSortVector())->addInt(100); 30 + } 31 + 28 32 protected function newEditableObject() { 29 33 return ManiphestTask::initializeNewTask($this->getViewer()); 30 34 }
+4
src/applications/project/engine/PhabricatorProjectEditEngine.php
··· 30 30 return true; 31 31 } 32 32 33 + public function getQuickCreateOrderVector() { 34 + return id(new PhutilSortVector())->addInt(200); 35 + } 36 + 33 37 public function getEngineName() { 34 38 return pht('Projects'); 35 39 }