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

Add basic diff coloring to CelerityDefaultProcessor

Summary: Moves basic colors into the processor.

Test Plan: Review a diff in sandbox with and without change.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+22 -14
+6 -6
resources/celerity/map.php
··· 12 12 'core.pkg.css' => '9c725fa0', 13 13 'core.pkg.js' => 'a2ead3fe', 14 14 'darkconsole.pkg.js' => 'e7393ebb', 15 - 'differential.pkg.css' => 'e0517745', 15 + 'differential.pkg.css' => '9535a7e6', 16 16 'differential.pkg.js' => '40b18f35', 17 17 'diffusion.pkg.css' => '91c5d3a6', 18 18 'diffusion.pkg.js' => '84c8f8fd', ··· 59 59 'rsrc/css/application/dashboard/dashboard.css' => 'bc6f2127', 60 60 'rsrc/css/application/diff/inline-comment-summary.css' => '51efda3a', 61 61 'rsrc/css/application/differential/add-comment.css' => 'c47f8c40', 62 - 'rsrc/css/application/differential/changeset-view.css' => 'a5a96310', 62 + 'rsrc/css/application/differential/changeset-view.css' => 'e1621fd5', 63 63 'rsrc/css/application/differential/core.css' => '5b7b8ff4', 64 64 'rsrc/css/application/differential/phui-inline-comment.css' => '5953c28e', 65 65 'rsrc/css/application/differential/revision-comment.css' => '14b8565a', ··· 574 574 'conpherence-thread-manager' => 'c8b5ee6f', 575 575 'conpherence-transaction-css' => '85129c68', 576 576 'd3' => 'a11a5ff2', 577 - 'differential-changeset-view-css' => 'a5a96310', 577 + 'differential-changeset-view-css' => 'e1621fd5', 578 578 'differential-core-view-css' => '5b7b8ff4', 579 579 'differential-inline-comment-editor' => '2e3f9738', 580 580 'differential-revision-add-comment-css' => 'c47f8c40', ··· 1756 1756 'javelin-uri', 1757 1757 'phabricator-notification', 1758 1758 ), 1759 - 'a5a96310' => array( 1760 - 'phui-inline-comment-view-css', 1761 - ), 1762 1759 'a5c57c24' => array( 1763 1760 'javelin-behavior', 1764 1761 'javelin-stratcom', ··· 2093 2090 'javelin-behavior', 2094 2091 'javelin-dom', 2095 2092 'phabricator-prefab', 2093 + ), 2094 + 'e1621fd5' => array( 2095 + 'phui-inline-comment-view-css', 2096 2096 ), 2097 2097 'e1d25dfb' => array( 2098 2098 'javelin-behavior',
+8
src/applications/celerity/postprocessor/CelerityDefaultPostprocessor.php
··· 192 192 'sh-disabledtext' => '#a6a6a6', 193 193 'sh-disabledbackground' => '#f3f3f3', 194 194 195 + // Diffs 196 + 'new-background' => '#eaffea', 197 + 'new-bright' => '#a6f3a6', 198 + 'old-background' => '#ffecec', 199 + 'old-bright' => '#f8cbcb', 200 + 'move-background' => '#fdf5d4', 201 + 'copy-background' => '#f1c40f', 202 + 195 203 // Background color for "most" themes. 196 204 'page.background' => '#f8f8fb', 197 205 'page.sidenav' => '#f0f0f2',
+8 -8
webroot/rsrc/css/application/differential/changeset-view.css
··· 122 122 } 123 123 124 124 .differential-diff th.old { 125 - border-right-color: #f8cbcb; 125 + border-right-color: {$old-bright}; 126 126 } 127 127 128 128 .differential-diff th.new { 129 - border-right-color: #a6f3a6; 129 + border-right-color: {$new-bright}; 130 130 } 131 131 132 132 .differential-diff td.old { 133 - background: #ffecec; 133 + background: {$old-background}; 134 134 } 135 135 136 136 .differential-diff td.new { 137 - background: #eaffea; 137 + background: {$new-background}; 138 138 } 139 139 140 140 .differential-diff td.old-rebase { ··· 148 148 .differential-diff td.old span.bright, 149 149 .differential-diff td.old-full, 150 150 .prose-diff span.old { 151 - background: #f8cbcb; 151 + background: {$old-bright}; 152 152 } 153 153 154 154 .differential-diff td.new span.bright, 155 155 .differential-diff td.new-full, 156 156 .prose-diff span.new { 157 - background: #a6f3a6; 157 + background: {$new-bright}; 158 158 } 159 159 160 160 .differential-diff td.copy { ··· 165 165 166 166 .differential-diff td.new-copy, 167 167 .differential-diff td.new-copy span.bright { 168 - background: {$lightyellow}; 168 + background: {$copy-background}; 169 169 } 170 170 171 171 .differential-diff td.new-move, 172 172 .differential-diff td.new-move span.bright { 173 - background: {$yellow}; 173 + background: {$move-background}; 174 174 } 175 175 176 176 .differential-diff td.comment {