1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-11 15:21:03 +01:00

Add Dashboards as a default pinned application

Summary: Ref T10390. Dashboard usability is high enough that I think we should pin it by default for users to create custom home pages.

Test Plan: Review order of applications in sandbox.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10390

Differential Revision: https://secure.phabricator.com/D17527
This commit is contained in:
Chad Little 2017-03-21 11:06:44 -07:00
parent d6f7da8685
commit 3a838ba312
2 changed files with 12 additions and 0 deletions

View file

@ -18,6 +18,14 @@ final class PhabricatorDashboardApplication extends PhabricatorApplication {
return 'fa-dashboard';
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return true;
}
public function getApplicationOrder() {
return 0.160;
}
public function getRoutes() {
return array(
'/W(?P<id>\d+)' => 'PhabricatorDashboardPanelViewController',

View file

@ -138,6 +138,10 @@ final class PhabricatorProjectApplication extends PhabricatorApplication {
);
}
public function getApplicationOrder() {
return 0.150;
}
public function getHelpDocumentationArticles(PhabricatorUser $viewer) {
return array(
array(