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

Don't render an action list without actions

Summary: Skips rendering of partial elements if no actions are present.

Test Plan: Tested on profile menu item page, maniphest curtain, phriction dropdown, and instance backups page (no actions at all).

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+13 -4
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => 'ff161f2d', 11 11 'conpherence.pkg.js' => 'b5b51108', 12 - 'core.pkg.css' => 'ee5f28cd', 12 + 'core.pkg.css' => 'a5a2d647', 13 13 'core.pkg.js' => '0f87a6eb', 14 14 'darkconsole.pkg.js' => '1f9a31bc', 15 15 'differential.pkg.css' => 'ea471cb0', ··· 145 145 'rsrc/css/phui/phui-comment-form.css' => '57af2e14', 146 146 'rsrc/css/phui/phui-comment-panel.css' => 'f50152ad', 147 147 'rsrc/css/phui/phui-crumbs-view.css' => '6ece3bbb', 148 - 'rsrc/css/phui/phui-curtain-view.css' => '679743bb', 148 + 'rsrc/css/phui/phui-curtain-view.css' => '55dd0e59', 149 149 'rsrc/css/phui/phui-document-pro.css' => '62c4dcbf', 150 150 'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf', 151 151 'rsrc/css/phui/phui-document.css' => 'c32e8dec', ··· 844 844 'phui-comment-form-css' => '57af2e14', 845 845 'phui-comment-panel-css' => 'f50152ad', 846 846 'phui-crumbs-view-css' => '6ece3bbb', 847 - 'phui-curtain-view-css' => '679743bb', 847 + 'phui-curtain-view-css' => '55dd0e59', 848 848 'phui-document-summary-view-css' => '9ca48bdf', 849 849 'phui-document-view-css' => 'c32e8dec', 850 850 'phui-document-view-pro-css' => '62c4dcbf',
+4
src/view/layout/PhabricatorActionListView.php
··· 16 16 } 17 17 18 18 protected function getTagName() { 19 + if (!$this->actions) { 20 + return null; 21 + } 22 + 19 23 return 'ul'; 20 24 } 21 25
+6 -1
webroot/rsrc/css/phui/phui-curtain-view.css
··· 7 7 margin: 0 4px; 8 8 } 9 9 10 + .phui-two-column-properties > .phui-curtain-panel:first-child { 11 + padding-top: 6px; 12 + } 13 + 10 14 .device .phui-curtain-panel { 11 15 padding: 8px 0; 12 16 margin: 0; 13 17 } 14 18 15 - .device-desktop .phui-curtain-panel { 19 + .device-desktop .phui-curtain-panel + .phui-curtain-panel, 20 + .device-desktop .phabricator-action-list-view + .phui-curtain-panel { 16 21 border-top: 1px solid {$greybackground}; 17 22 } 18 23