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

Clean up some minor commit list CSS

Summary: Ref T13552. Some of the CSS can be removed or simplified now that essentially all lists of commits are on a single rendering pathway.

Test Plan: Grepped for affected CSS, viewed commit graph.

Maniphest Tasks: T13552

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

+16 -26
+2 -2
resources/celerity/map.php
··· 73 73 'rsrc/css/application/diffusion/diffusion-icons.css' => '23b31a1b', 74 74 'rsrc/css/application/diffusion/diffusion-readme.css' => 'b68a76e4', 75 75 'rsrc/css/application/diffusion/diffusion-repository.css' => 'b89e8c6c', 76 - 'rsrc/css/application/diffusion/diffusion.css' => 'db8bbf58', 76 + 'rsrc/css/application/diffusion/diffusion.css' => 'e46232d6', 77 77 'rsrc/css/application/feed/feed.css' => 'd8b6e3f8', 78 78 'rsrc/css/application/files/global-drag-and-drop.css' => '1d2713a4', 79 79 'rsrc/css/application/flag/flag.css' => '2b77be8d', ··· 567 567 'differential-revision-history-css' => '8aa3eac5', 568 568 'differential-revision-list-css' => '93d2df7d', 569 569 'differential-table-of-contents-css' => 'bba788b9', 570 - 'diffusion-css' => 'db8bbf58', 570 + 'diffusion-css' => 'e46232d6', 571 571 'diffusion-icons-css' => '23b31a1b', 572 572 'diffusion-readme-css' => 'b68a76e4', 573 573 'diffusion-repository-css' => 'b89e8c6c',
+11 -18
src/applications/diffusion/view/DiffusionCommitGraphView.php
··· 164 164 $item_date = phabricator_date($item_epoch, $viewer); 165 165 if ($item_date !== $last_date) { 166 166 $last_date = $item_date; 167 - $date_view = phutil_tag( 168 - 'div', 169 - array( 170 - 'class' => 'diffusion-commit-graph-date-header', 171 - ), 172 - $item_date); 167 + $header = $item_date; 173 168 } else { 174 - $date_view = null; 169 + $header = null; 175 170 } 176 171 177 - $item_view = idx($views, $hash); 178 - if ($item_view) { 179 - $list_view = id(new PHUIObjectItemListView()) 180 - ->setFlush(true) 181 - ->addItem($item_view); 182 - } else { 183 - $list_view = null; 172 + $item_view = $views[$hash]; 173 + 174 + $list_view = id(new PHUIObjectItemListView()) 175 + ->setFlush(true) 176 + ->addItem($item_view); 177 + 178 + if ($header !== null) { 179 + $list_view->setHeader($header); 184 180 } 185 181 186 - $rows[] = array( 187 - $date_view, 188 - $list_view, 189 - ); 182 + $rows[] = $list_view; 190 183 } 191 184 192 185 return $rows;
+3 -6
webroot/rsrc/css/application/diffusion/diffusion.css
··· 102 102 color: {$darkbluetext}; 103 103 } 104 104 105 - .diffusion-history-list .diffusion-differential-tag { 106 - margin-left: 4px; 107 - } 108 - 109 105 /* - Branch Styles ----------------------------------------------------------*/ 110 106 111 107 .diffusion-branch-list .phui-oi-attribute a { ··· 238 234 display: block; 239 235 } 240 236 241 - .diffusion-commit-graph-date-header { 237 + .diffusion-commit-graph-table .phui-oi-list-header { 242 238 color: {$darkgreytext}; 243 239 font-weight: bold; 244 - padding: 4px 0; 240 + padding: 4px 4px; 241 + font-size: {$normalfontsize}; 245 242 }