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

Remove AphrontMiniPanelView

Summary: Swaps out AphrontMiniPanelView usage with PHUIErrorView. Only used on homepage.

Test Plan:
Grepped for usage, only home. Revisit a new home, see modern componant.

{F310934}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

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

+5 -31
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => '26a65a65', 10 + 'core.pkg.css' => 'd31eec13', 11 11 'core.pkg.js' => '23d653bb', 12 12 'darkconsole.pkg.js' => '8ab24e01', 13 13 'differential.pkg.css' => '380f07e5', ··· 25 25 'rsrc/css/aphront/multi-column.css' => '41a848c0', 26 26 'rsrc/css/aphront/notification.css' => '9c279160', 27 27 'rsrc/css/aphront/pager-view.css' => '2e3539af', 28 - 'rsrc/css/aphront/panel-view.css' => 'a5fee23a', 28 + 'rsrc/css/aphront/panel-view.css' => '7e0c3a56', 29 29 'rsrc/css/aphront/phabricator-nav-view.css' => '7aeaf435', 30 30 'rsrc/css/aphront/table-view.css' => 'b22b7216', 31 31 'rsrc/css/aphront/tokenizer.css' => '82ce2142', ··· 505 505 'aphront-list-filter-view-css' => '2ae43867', 506 506 'aphront-multi-column-view-css' => '41a848c0', 507 507 'aphront-pager-view-css' => '2e3539af', 508 - 'aphront-panel-view-css' => 'a5fee23a', 508 + 'aphront-panel-view-css' => '7e0c3a56', 509 509 'aphront-table-view-css' => 'b22b7216', 510 510 'aphront-tokenizer-control-css' => '82ce2142', 511 511 'aphront-tooltip-css' => '4099b97e',
-2
src/__phutil_library_map__.php
··· 144 144 'AphrontJavelinView' => 'view/AphrontJavelinView.php', 145 145 'AphrontKeyboardShortcutsAvailableView' => 'view/widget/AphrontKeyboardShortcutsAvailableView.php', 146 146 'AphrontListFilterView' => 'view/layout/AphrontListFilterView.php', 147 - 'AphrontMiniPanelView' => 'view/layout/AphrontMiniPanelView.php', 148 147 'AphrontMoreView' => 'view/layout/AphrontMoreView.php', 149 148 'AphrontMultiColumnView' => 'view/layout/AphrontMultiColumnView.php', 150 149 'AphrontMySQLDatabaseConnectionTestCase' => 'infrastructure/storage/__tests__/AphrontMySQLDatabaseConnectionTestCase.php', ··· 3293 3292 'AphrontJavelinView' => 'AphrontView', 3294 3293 'AphrontKeyboardShortcutsAvailableView' => 'AphrontView', 3295 3294 'AphrontListFilterView' => 'AphrontView', 3296 - 'AphrontMiniPanelView' => 'AphrontView', 3297 3295 'AphrontMoreView' => 'AphrontView', 3298 3296 'AphrontMultiColumnView' => 'AphrontView', 3299 3297 'AphrontMySQLDatabaseConnectionTestCase' => 'PhabricatorTestCase',
+2 -1
src/applications/home/controller/PhabricatorHomeMainController.php
··· 327 327 } 328 328 329 329 private function renderMiniPanel($title, $body) { 330 - $panel = new AphrontMiniPanelView(); 330 + $panel = new PHUIErrorView(); 331 + $panel->setSeverity(PHUIErrorView::SEVERITY_NODATA); 331 332 $panel->appendChild( 332 333 phutil_tag( 333 334 'p',
-12
src/view/layout/AphrontMiniPanelView.php
··· 1 - <?php 2 - 3 - final class AphrontMiniPanelView extends AphrontView { 4 - 5 - public function render() { 6 - return phutil_tag( 7 - 'div', 8 - array('class' => 'aphront-mini-panel-view'), 9 - $this->renderChildren()); 10 - } 11 - 12 - }
-13
webroot/rsrc/css/aphront/panel-view.css
··· 118 118 background: #ccffcc; 119 119 border-color: #669966; 120 120 } 121 - 122 - .aphront-mini-panel-view { 123 - background: #fff; 124 - padding: 10px; 125 - margin: 16px 16px 0 16px; 126 - border: 1px solid {$lightgreyborder}; 127 - border-bottom: 1px solid {$greyborder}; 128 - } 129 - 130 - .aphront-mini-panel-view p { 131 - font-size: 12px; 132 - color: {$greytext}; 133 - }