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:
@@ -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',
|
||||
|
||||
@@ -138,6 +138,10 @@ final class PhabricatorProjectApplication extends PhabricatorApplication {
|
||||
);
|
||||
}
|
||||
|
||||
public function getApplicationOrder() {
|
||||
return 0.150;
|
||||
}
|
||||
|
||||
public function getHelpDocumentationArticles(PhabricatorUser $viewer) {
|
||||
return array(
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user