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

Tweak audit status colors.

Summary: Fixes T3242. Changes the red and orange objects to match the transactions. Also adds a highlight color to 'cards'.

Test Plan: Review my audits in my sandbox

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T3242

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

+55 -49
+45 -45
src/__celerity_resource_map__.php
··· 3233 3233 ), 3234 3234 'phabricator-object-item-list-view-css' => 3235 3235 array( 3236 - 'uri' => '/res/b9f7acb9/rsrc/css/layout/phabricator-object-item-list-view.css', 3236 + 'uri' => '/res/4ba9eeaf/rsrc/css/layout/phabricator-object-item-list-view.css', 3237 3237 'type' => 'css', 3238 3238 'requires' => 3239 3239 array( ··· 4048 4048 ), array( 4049 4049 'packages' => 4050 4050 array( 4051 - '927f8f60' => 4051 + '1378b4c7' => 4052 4052 array( 4053 4053 'name' => 'core.pkg.css', 4054 4054 'symbols' => ··· 4096 4096 40 => 'phabricator-property-list-view-css', 4097 4097 41 => 'phabricator-tag-view-css', 4098 4098 ), 4099 - 'uri' => '/res/pkg/927f8f60/core.pkg.css', 4099 + 'uri' => '/res/pkg/1378b4c7/core.pkg.css', 4100 4100 'type' => 'css', 4101 4101 ), 4102 4102 'f2ad0683' => ··· 4290 4290 'reverse' => 4291 4291 array( 4292 4292 'aphront-attached-file-view-css' => 'a7ca34a9', 4293 - 'aphront-dialog-view-css' => '927f8f60', 4294 - 'aphront-error-view-css' => '927f8f60', 4295 - 'aphront-form-view-css' => '927f8f60', 4296 - 'aphront-list-filter-view-css' => '927f8f60', 4297 - 'aphront-pager-view-css' => '927f8f60', 4298 - 'aphront-panel-view-css' => '927f8f60', 4299 - 'aphront-table-view-css' => '927f8f60', 4300 - 'aphront-tokenizer-control-css' => '927f8f60', 4301 - 'aphront-tooltip-css' => '927f8f60', 4302 - 'aphront-typeahead-control-css' => '927f8f60', 4293 + 'aphront-dialog-view-css' => '1378b4c7', 4294 + 'aphront-error-view-css' => '1378b4c7', 4295 + 'aphront-form-view-css' => '1378b4c7', 4296 + 'aphront-list-filter-view-css' => '1378b4c7', 4297 + 'aphront-pager-view-css' => '1378b4c7', 4298 + 'aphront-panel-view-css' => '1378b4c7', 4299 + 'aphront-table-view-css' => '1378b4c7', 4300 + 'aphront-tokenizer-control-css' => '1378b4c7', 4301 + 'aphront-tooltip-css' => '1378b4c7', 4302 + 'aphront-typeahead-control-css' => '1378b4c7', 4303 4303 'differential-changeset-view-css' => 'dd27a69b', 4304 4304 'differential-core-view-css' => 'dd27a69b', 4305 4305 'differential-inline-comment-editor' => '9488bb69', ··· 4313 4313 'differential-table-of-contents-css' => 'dd27a69b', 4314 4314 'diffusion-commit-view-css' => 'c8ce2d88', 4315 4315 'diffusion-icons-css' => 'c8ce2d88', 4316 - 'global-drag-and-drop-css' => '927f8f60', 4316 + 'global-drag-and-drop-css' => '1378b4c7', 4317 4317 'inline-comment-summary-css' => 'dd27a69b', 4318 4318 'javelin-aphlict' => 'f2ad0683', 4319 4319 'javelin-behavior' => 'a9f14d76', ··· 4387 4387 'javelin-util' => 'a9f14d76', 4388 4388 'javelin-vector' => 'a9f14d76', 4389 4389 'javelin-workflow' => 'a9f14d76', 4390 - 'lightbox-attachment-css' => '927f8f60', 4390 + 'lightbox-attachment-css' => '1378b4c7', 4391 4391 'maniphest-task-summary-css' => 'a7ca34a9', 4392 4392 'maniphest-transaction-detail-css' => 'a7ca34a9', 4393 - 'phabricator-action-list-view-css' => '927f8f60', 4394 - 'phabricator-application-launch-view-css' => '927f8f60', 4393 + 'phabricator-action-list-view-css' => '1378b4c7', 4394 + 'phabricator-application-launch-view-css' => '1378b4c7', 4395 4395 'phabricator-busy' => 'f2ad0683', 4396 4396 'phabricator-content-source-view-css' => 'dd27a69b', 4397 - 'phabricator-core-buttons-css' => '927f8f60', 4398 - 'phabricator-core-css' => '927f8f60', 4399 - 'phabricator-crumbs-view-css' => '927f8f60', 4397 + 'phabricator-core-buttons-css' => '1378b4c7', 4398 + 'phabricator-core-css' => '1378b4c7', 4399 + 'phabricator-crumbs-view-css' => '1378b4c7', 4400 4400 'phabricator-drag-and-drop-file-upload' => '9488bb69', 4401 4401 'phabricator-dropdown-menu' => 'f2ad0683', 4402 4402 'phabricator-file-upload' => 'f2ad0683', 4403 - 'phabricator-filetree-view-css' => '927f8f60', 4404 - 'phabricator-flag-css' => '927f8f60', 4405 - 'phabricator-form-view-css' => '927f8f60', 4406 - 'phabricator-header-view-css' => '927f8f60', 4403 + 'phabricator-filetree-view-css' => '1378b4c7', 4404 + 'phabricator-flag-css' => '1378b4c7', 4405 + 'phabricator-form-view-css' => '1378b4c7', 4406 + 'phabricator-header-view-css' => '1378b4c7', 4407 4407 'phabricator-hovercard' => 'f2ad0683', 4408 - 'phabricator-jump-nav' => '927f8f60', 4408 + 'phabricator-jump-nav' => '1378b4c7', 4409 4409 'phabricator-keyboard-shortcut' => 'f2ad0683', 4410 4410 'phabricator-keyboard-shortcut-manager' => 'f2ad0683', 4411 - 'phabricator-main-menu-view' => '927f8f60', 4411 + 'phabricator-main-menu-view' => '1378b4c7', 4412 4412 'phabricator-menu-item' => 'f2ad0683', 4413 - 'phabricator-nav-view-css' => '927f8f60', 4413 + 'phabricator-nav-view-css' => '1378b4c7', 4414 4414 'phabricator-notification' => 'f2ad0683', 4415 - 'phabricator-notification-css' => '927f8f60', 4416 - 'phabricator-notification-menu-css' => '927f8f60', 4417 - 'phabricator-object-item-list-view-css' => '927f8f60', 4415 + 'phabricator-notification-css' => '1378b4c7', 4416 + 'phabricator-notification-menu-css' => '1378b4c7', 4417 + 'phabricator-object-item-list-view-css' => '1378b4c7', 4418 4418 'phabricator-object-selector-css' => 'dd27a69b', 4419 4419 'phabricator-phtize' => 'f2ad0683', 4420 4420 'phabricator-prefab' => 'f2ad0683', 4421 4421 'phabricator-project-tag-css' => 'a7ca34a9', 4422 - 'phabricator-property-list-view-css' => '927f8f60', 4423 - 'phabricator-remarkup-css' => '927f8f60', 4422 + 'phabricator-property-list-view-css' => '1378b4c7', 4423 + 'phabricator-remarkup-css' => '1378b4c7', 4424 4424 'phabricator-shaped-request' => '9488bb69', 4425 - 'phabricator-side-menu-view-css' => '927f8f60', 4426 - 'phabricator-standard-page-view' => '927f8f60', 4427 - 'phabricator-tag-view-css' => '927f8f60', 4425 + 'phabricator-side-menu-view-css' => '1378b4c7', 4426 + 'phabricator-standard-page-view' => '1378b4c7', 4427 + 'phabricator-tag-view-css' => '1378b4c7', 4428 4428 'phabricator-textareautils' => 'f2ad0683', 4429 4429 'phabricator-tooltip' => 'f2ad0683', 4430 - 'phabricator-transaction-view-css' => '927f8f60', 4431 - 'phabricator-zindex-css' => '927f8f60', 4432 - 'phui-form-css' => '927f8f60', 4433 - 'phui-icon-view-css' => '927f8f60', 4434 - 'spacing-css' => '927f8f60', 4435 - 'sprite-apps-large-css' => '927f8f60', 4436 - 'sprite-gradient-css' => '927f8f60', 4437 - 'sprite-icons-css' => '927f8f60', 4438 - 'sprite-menu-css' => '927f8f60', 4439 - 'syntax-highlighting-css' => '927f8f60', 4430 + 'phabricator-transaction-view-css' => '1378b4c7', 4431 + 'phabricator-zindex-css' => '1378b4c7', 4432 + 'phui-form-css' => '1378b4c7', 4433 + 'phui-icon-view-css' => '1378b4c7', 4434 + 'spacing-css' => '1378b4c7', 4435 + 'sprite-apps-large-css' => '1378b4c7', 4436 + 'sprite-gradient-css' => '1378b4c7', 4437 + 'sprite-icons-css' => '1378b4c7', 4438 + 'sprite-menu-css' => '1378b4c7', 4439 + 'syntax-highlighting-css' => '1378b4c7', 4440 4440 ), 4441 4441 ));
+2 -2
src/applications/audit/constants/PhabricatorAuditStatusConstants.php
··· 35 35 public static function getStatusColor($code) { 36 36 switch ($code) { 37 37 case self::CONCERNED: 38 - $color = 'orange'; 38 + $color = 'red'; 39 39 break; 40 40 case self::AUDIT_REQUIRED: 41 - $color = 'red'; 41 + $color = 'orange'; 42 42 break; 43 43 default: 44 44 $color = null;
+1 -1
src/applications/audit/view/PhabricatorAuditListView.php
··· 146 146 ->addByline(pht('Auditor: %s', $auditor_handle->renderLink())); 147 147 148 148 if (array_key_exists($audit->getID(), $this->getHighlightedAudits())) { 149 - $item->setBarColor('yellow'); 149 + $item->setEffect('highlighted'); 150 150 } 151 151 152 152 $list->addItem($item);
+7 -1
webroot/rsrc/css/layout/phabricator-object-item-list-view.css
··· 345 345 */ 346 346 347 347 .phabricator-object-item-highlighted { 348 - background: #ffffb2; 348 + background: rgb(253, 255, 221); 349 + } 350 + 351 + .phabricator-object-list-cards 352 + .phabricator-object-item.phabricator-object-item-highlighted { 353 + background-image: linear-gradient(to bottom, rgb(253, 255, 221), rgb(243, 245, 206)); 354 + background-image: -webkit-linear-gradient(top, rgb(253, 255, 221), rgb(243, 245, 206)); 349 355 } 350 356 351 357 .phabricator-object-item-selected {