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

[Redesign] Provide more color to object states in headers

Summary: Ref T8099, Now that we have cleaner headers, we can add more pop to important items, like the state of an Object. This makes it easier to just note the color and generally understand the state of the object (closed, returned, accepted, open). @epriestley, I think you previously thought this was a bug, but if it still feels bad, let me know.

Test Plan:
Review Differential, Maniphest, Polls for various object states.

{F520973}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8099

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

+18 -7
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => '604293a7', 10 + 'core.pkg.css' => '1071965d', 11 11 'core.pkg.js' => 'f1e8abd7', 12 12 'darkconsole.pkg.js' => 'e7393ebb', 13 13 'differential.pkg.css' => 'fe951924', ··· 134 134 'rsrc/css/phui/phui-fontkit.css' => '6790f776', 135 135 'rsrc/css/phui/phui-form-view.css' => 'a0e8f168', 136 136 'rsrc/css/phui/phui-form.css' => '17ce37a9', 137 - 'rsrc/css/phui/phui-header-view.css' => 'c9c4a432', 137 + 'rsrc/css/phui/phui-header-view.css' => '318097b5', 138 138 'rsrc/css/phui/phui-icon.css' => '88ba9081', 139 139 'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8', 140 140 'rsrc/css/phui/phui-info-panel.css' => '27ea50a1', ··· 775 775 'phui-fontkit-css' => '6790f776', 776 776 'phui-form-css' => '17ce37a9', 777 777 'phui-form-view-css' => 'a0e8f168', 778 - 'phui-header-view-css' => 'c9c4a432', 778 + 'phui-header-view-css' => '318097b5', 779 779 'phui-icon-view-css' => '88ba9081', 780 780 'phui-image-mask-css' => '5a8b09c8', 781 781 'phui-info-panel-css' => '27ea50a1',
+3 -3
src/applications/differential/constants/DifferentialRevisionStatus.php
··· 42 42 ArcanistDifferentialRevisionStatus::NEEDS_REVIEW => 43 43 'fa-square-o bluegrey', 44 44 ArcanistDifferentialRevisionStatus::NEEDS_REVISION => 45 - 'fa-square-o red', 45 + 'fa-refresh red', 46 46 ArcanistDifferentialRevisionStatus::CHANGES_PLANNED => 47 - 'fa-square-o red', 47 + 'fa-headphones red', 48 48 ArcanistDifferentialRevisionStatus::ACCEPTED => 49 - 'fa-square-o green', 49 + 'fa-check green', 50 50 ArcanistDifferentialRevisionStatus::CLOSED => 51 51 'fa-check-square-o', 52 52 ArcanistDifferentialRevisionStatus::ABANDONED =>
+12 -1
webroot/rsrc/css/phui/phui-header-view.css
··· 146 146 147 147 .phui-header-subheader .phui-header-status-dark { 148 148 color: {$sh-indigotext}; 149 + background: {$sh-indigobackground}; 149 150 margin-right: 8px; 151 + padding: 4px 8px; 152 + border-radius: 3px; 150 153 } 151 154 152 155 .phui-header-subheader .phui-header-status-dark .phui-icon-view { 153 - color: {$indigo}; 156 + color: {$sh-indigotext}; 154 157 } 155 158 156 159 .phui-header-subheader .phui-header-status-red { 157 160 color: {$sh-redtext}; 161 + background: {$sh-redbackground}; 162 + margin-right: 8px; 163 + padding: 4px 8px; 164 + border-radius: 3px; 158 165 margin-right: 8px; 159 166 } 160 167 161 168 .phui-header-subheader .phui-header-status-green { 162 169 color: {$sh-greentext}; 170 + background: {$sh-greenbackground}; 171 + margin-right: 8px; 172 + padding: 4px 8px; 173 + border-radius: 3px; 163 174 margin-right: 8px; 164 175 } 165 176