Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14076404
D17277.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D17277.diff
View Options
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardEditController.php b/src/applications/dashboard/controller/PhabricatorDashboardEditController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardEditController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardEditController.php
@@ -245,7 +245,7 @@
switch ($template) {
case 'simple':
- $v_name = pht('New Simple Dashboard');
+ $v_name = pht("%s's Dashboard", $viewer->getUsername());
$welcome_panel = $this->newPanel(
$request,
@@ -260,8 +260,9 @@
"rustic, authentic feel.\n\n".
"You can drag, remove, add, and edit panels to customize the ".
"rest of this dashboard to show the information you want.\n\n".
- "To install this dashboard on the home page, use the ".
- "**Install Dashboard** action link above."),
+ "To install this dashboard on the home page, edit your personal ".
+ "or global menu on the homepage and click Dashboard under ".
+ "New Menu Item on the right."),
));
$panel_phids[] = $welcome_panel->getPHID();
@@ -276,14 +277,25 @@
));
$panel_phids[] = $feed_panel->getPHID();
+ $revision_panel = $this->newPanel(
+ $request,
+ $viewer,
+ 'query',
+ pht('Active Revisions'),
+ array(
+ 'class' => 'DifferentialRevisionSearchEngine',
+ 'key' => 'active',
+ ));
+ $panel_phids[] = $revision_panel->getPHID();
+
$task_panel = $this->newPanel(
$request,
$viewer,
'query',
- pht('Open Tasks'),
+ pht('Assigned Tasks'),
array(
'class' => 'ManiphestTaskSearchEngine',
- 'key' => 'open',
+ 'key' => 'assigned',
));
$panel_phids[] = $task_panel->getPHID();
@@ -302,6 +314,7 @@
$layout = id(new PhabricatorDashboardLayoutConfig())
->setLayoutMode($mode_2_and_1)
->setPanelLocation(0, $welcome_panel->getPHID())
+ ->setPanelLocation(0, $revision_panel->getPHID())
->setPanelLocation(0, $task_panel->getPHID())
->setPanelLocation(0, $commit_panel->getPHID())
->setPanelLocation(1, $feed_panel->getPHID());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 5:11 PM (18 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6775415
Default Alt Text
D17277.diff (2 KB)
Attached To
Mode
D17277: Slightly better "Simple Dashboard"
Attached
Detach File
Event Timeline
Log In to Comment