@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 unused feed/feed.css and maniphest/task-edit.css

Summary:
* `webroot/rsrc/css/application/feed/feed.css: .phabricator-public-feed-frame .phui-feed-story-foot`, `webroot/rsrc/css/application/feed/feed.css: .phabricator-public-feed-frame .phui-feed-story`, `webroot/rsrc/css/application/feed/feed.css: .phabricator-public-feed-frame .phui-feed-wrap`
** Added in https://we.phorge.it/rP6e86a04ab106f4d3c9e32f2b3890a0fa137e43a2, usage removed in https://we.phorge.it/rP6a996d76fd1a1a144177b1fb9e10c816f0e8e98e
* `webroot/rsrc/css/application/feed/feed.css: .phabricator-feed-newer-link`, `webroot/rsrc/css/application/feed/feed.css: .phabricator-feed-older-link`
** Added in https://we.phorge.it/rP29acc848c14a1680a54a3a744610f8c83e27bb12, usage removed in https://we.phorge.it/rP310cf00fc3cce6a023ad160a29def26845d82e26
* `webroot/rsrc/css/application/maniphest/task-edit.css: .maniphest-auxiliary-header`
** Added in https://we.phorge.it/rP3c1a0b76fac86c9f40222c5bb79fcddb996d1c9e, usage removed in https://we.phorge.it/rP5251e2f14d8e54157cc33094e7c29d8a6c2f9259

Note: This is always a bit dangerous because of some concatenation like `'class' => 'toggle'.$more` in the codebase.

Test Plan:
Grep the code for the parent CSS selector, also doing a partial search. Example:

$ grep --exclude="*.css" -R 'feed-newer-link' .
$ grep --exclude="*.css" -R 'feed-older-link' .
$ grep --exclude="*.css" -R 'public-feed-frame ' .
$ grep --exclude="*.css" -R 'auxiliary-header' .

No results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25985

+1 -46
+1 -6
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => '79a197f6', 11 11 'conpherence.pkg.js' => '020aebcf', 12 - 'core.pkg.css' => '267f6955', 12 + 'core.pkg.css' => '42c4119d', 13 13 'core.pkg.js' => '086da722', 14 14 'dark-console.pkg.js' => '187792c2', 15 15 'differential.pkg.css' => '91ac6214', ··· 73 73 'rsrc/css/application/diffusion/diffusion-readme.css' => 'b68a76e4', 74 74 'rsrc/css/application/diffusion/diffusion-repository.css' => 'b89e8c6c', 75 75 'rsrc/css/application/diffusion/diffusion.css' => 'e46232d6', 76 - 'rsrc/css/application/feed/feed.css' => 'd8b6e3f8', 77 76 'rsrc/css/application/files/global-drag-and-drop.css' => '1d2713a4', 78 77 'rsrc/css/application/flag/flag.css' => '2b77be8d', 79 78 'rsrc/css/application/harbormaster/harbormaster.css' => '9346e08b', 80 79 'rsrc/css/application/herald/herald-test.css' => '7e7bbdae', 81 80 'rsrc/css/application/herald/herald.css' => '648d39e2', 82 81 'rsrc/css/application/maniphest/report.css' => '3d53188b', 83 - 'rsrc/css/application/maniphest/task-edit.css' => '272daa84', 84 82 'rsrc/css/application/maniphest/task-summary.css' => '61d1667e', 85 83 'rsrc/css/application/objectselector/object-selector.css' => 'ee77366f', 86 84 'rsrc/css/application/owners/owners-path-editor.css' => 'fa7c13ef', ··· 758 756 'javelin-workboard-order-template' => '03e8891f', 759 757 'javelin-workflow' => 'cc1553f3', 760 758 'maniphest-report-css' => '3d53188b', 761 - 'maniphest-task-edit-css' => '272daa84', 762 759 'maniphest-task-summary-css' => '61d1667e', 763 760 'multirow-row-manager' => '5b54c823', 764 761 'owners-path-editor' => '2a8b62d9', ··· 785 782 'phabricator-draggable-list' => '0169e425', 786 783 'phabricator-fatal-config-template-css' => '20babf50', 787 784 'phabricator-favicon' => '7930776a', 788 - 'phabricator-feed-css' => 'd8b6e3f8', 789 785 'phabricator-file-upload' => '331676ea', 790 786 'phabricator-flag-css' => '2b77be8d', 791 787 'phabricator-keyboard-shortcut' => '1a844c06', ··· 2287 2283 'auth-css', 2288 2284 'phui-status-list-view-css', 2289 2285 'phui-feed-story-css', 2290 - 'phabricator-feed-css', 2291 2286 'phabricator-dashboard-css', 2292 2287 'aphront-multi-column-view-css', 2293 2288 'phui-curtain-object-ref-view-css',
-1
resources/celerity/packages.php
··· 159 159 160 160 'phui-status-list-view-css', 161 161 'phui-feed-story-css', 162 - 'phabricator-feed-css', 163 162 'phabricator-dashboard-css', 164 163 'aphront-multi-column-view-css', 165 164 'phui-curtain-object-ref-view-css',
-2
src/applications/feed/builder/PhabricatorFeedBuilder.php
··· 37 37 38 38 $null_view = new AphrontNullView(); 39 39 40 - require_celerity_resource('phabricator-feed-css'); 41 - 42 40 $last_date = null; 43 41 foreach ($stories as $story) { 44 42 $story->setHovercard($this->hovercards);
-25
webroot/rsrc/css/application/feed/feed.css
··· 1 - /** 2 - * @provides phabricator-feed-css 3 - */ 4 - 5 - .phabricator-feed-newer-link { 6 - float: left; 7 - font-weight: bold; 8 - } 9 - 10 - .phabricator-feed-older-link { 11 - float: right; 12 - font-weight: bold; 13 - } 14 - 15 - .phabricator-public-feed-frame .phui-feed-story-foot { 16 - background: none; 17 - } 18 - 19 - .phabricator-public-feed-frame .phui-feed-story { 20 - box-shadow: none; 21 - } 22 - 23 - .phabricator-public-feed-frame .phui-feed-wrap { 24 - border: none; 25 - }
-12
webroot/rsrc/css/application/maniphest/task-edit.css
··· 1 - /** 2 - * @provides maniphest-task-edit-css 3 - */ 4 - 5 - .maniphest-auxiliary-header { 6 - font-weight: bold; 7 - font-size: {$biggerfontsize}; 8 - color: {$darkbluetext}; 9 - border-bottom: 1px solid {$lightgreytext}; 10 - padding: 12px 0 4px; 11 - margin-bottom: 4px; 12 - }