@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] Render full priority names on Maniphest icons

Summary: Ref T8099, Adds more infomation to the icon in Maniphest Task Lists.

Test Plan: Hover over icons in a Maniphest Task

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8099

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

+8 -2
+7 -1
src/applications/maniphest/view/ManiphestTaskListView.php
··· 50 50 51 51 $status_map = ManiphestTaskStatus::getTaskStatusMap(); 52 52 $color_map = ManiphestTaskPriority::getColorMap(); 53 + $priority_map = ManiphestTaskPriority::getTaskPriorityMap(); 53 54 54 55 if ($this->showBatchControls) { 55 56 Javelin::initBehavior('maniphest-list-editor'); ··· 69 70 } 70 71 71 72 $status = $task->getStatus(); 73 + $pri = idx($priority_map, $task->getPriority()); 74 + $status_name = idx($status_map, $task->getStatus()); 75 + $tooltip = pht('%s, %s', $status_name, $pri); 76 + 72 77 // TODO: redesign-2015 move icon map to maniphest.statuses 73 78 $icon = 'fa-exclamation-circle '; 74 79 $icon .= idx($color_map, $task->getPriority(), 'grey'); ··· 76 81 $item->setDisabled(true); 77 82 $icon = 'fa-check-square-o grey'; 78 83 } 79 - $item->setStatusIcon($icon, idx($status_map, $task->getStatus())); 84 + 85 + $item->setStatusIcon($icon, $tooltip); 80 86 81 87 $item->addIcon( 82 88 'none',
+1 -1
src/view/phui/PHUIObjectItemView.php
··· 672 672 673 673 if (strlen($label)) { 674 674 $options['sigil'] = 'has-tooltip'; 675 - $options['meta'] = array('tip' => $label); 675 + $options['meta'] = array('tip' => $label, 'size' => 300); 676 676 } 677 677 678 678 return javelin_tag('div', $options, $icon);