@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.

Update Batch Edit and Report pages

Summary: Moves these Maniphest pages over to modern UI, components

Test Plan: Batch Edit Tasks, View some reports.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+29 -20
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => 'a3016dac', 10 + 'core.pkg.css' => '97b752c8', 11 11 'core.pkg.js' => 'e5484f37', 12 12 'darkconsole.pkg.js' => 'e7393ebb', 13 13 'differential.pkg.css' => '7ba78475', ··· 123 123 'rsrc/css/phui/phui-action-panel.css' => '91c7b835', 124 124 'rsrc/css/phui/phui-badge.css' => 'f25c3476', 125 125 'rsrc/css/phui/phui-big-info-view.css' => 'bd903741', 126 - 'rsrc/css/phui/phui-box.css' => 'b2d49bae', 126 + 'rsrc/css/phui/phui-box.css' => '9c9159a7', 127 127 'rsrc/css/phui/phui-button.css' => 'a64a8de6', 128 128 'rsrc/css/phui/phui-chart.css' => '6bf6f78e', 129 129 'rsrc/css/phui/phui-crumbs-view.css' => '79d536e5', ··· 805 805 'phui-action-panel-css' => '91c7b835', 806 806 'phui-badge-view-css' => 'f25c3476', 807 807 'phui-big-info-view-css' => 'bd903741', 808 - 'phui-box-css' => 'b2d49bae', 808 + 'phui-box-css' => '9c9159a7', 809 809 'phui-button-css' => 'a64a8de6', 810 810 'phui-calendar-css' => 'ccabe893', 811 811 'phui-calendar-day-css' => 'd1cf6f93',
+16 -7
src/applications/maniphest/controller/ManiphestBatchEditController.php
··· 194 194 195 195 $crumbs = $this->buildApplicationCrumbs(); 196 196 $crumbs->addTextCrumb($title); 197 + $crumbs->setBorder(true); 198 + 199 + $header = id(new PHUIHeaderView()) 200 + ->setHeader(pht('Batch Editor')) 201 + ->setHeaderIcon('fa-pencil-square-o'); 197 202 198 203 $task_box = id(new PHUIObjectBoxView()) 199 204 ->setHeaderText(pht('Selected Tasks')) 205 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 200 206 ->setObjectList($list); 201 207 202 208 $form_box = id(new PHUIObjectBoxView()) 203 - ->setHeaderText(pht('Batch Editor')) 209 + ->setHeaderText(pht('Actions')) 210 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 204 211 ->setForm($form); 205 212 206 - return $this->buildApplicationPage( 207 - array( 208 - $crumbs, 213 + $view = id(new PHUITwoColumnView()) 214 + ->setHeader($header) 215 + ->setFooter(array( 209 216 $task_box, 210 217 $form_box, 211 - ), 212 - array( 213 - 'title' => $title, 214 218 )); 219 + 220 + return $this->newPage() 221 + ->setTitle($title) 222 + ->setCrumbs($crumbs) 223 + ->appendChild($view); 215 224 } 216 225 217 226 }
+9 -9
src/applications/maniphest/controller/ManiphestReportController.php
··· 45 45 return new Aphront404Response(); 46 46 } 47 47 48 + $crumbs = $this->buildApplicationCrumbs() 49 + ->addTextCrumb(pht('Reports')); 50 + 48 51 $nav->appendChild($core); 49 - $nav->setCrumbs( 50 - $this->buildApplicationCrumbs() 51 - ->addTextCrumb(pht('Reports'))); 52 + $title = pht('Maniphest Reports'); 52 53 53 - return $this->buildApplicationPage( 54 - $nav, 55 - array( 56 - 'title' => pht('Maniphest Reports'), 57 - 'device' => false, 58 - )); 54 + return $this->newPage() 55 + ->setTitle($title) 56 + ->setCrumbs($crumbs) 57 + ->setNavigation($nav); 58 + 59 59 } 60 60 61 61 public function renderBurn() {
+1 -1
webroot/rsrc/css/phui/phui-box.css
··· 97 97 color: {$bluetext}; 98 98 } 99 99 100 - .phui-box-blue-property .phui-object-item-list-view.phui-object-list-flush { 100 + .phui-box-blue-property .phui-object-item-list-view { 101 101 padding: 2px 8px; 102 102 } 103 103