@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 tooltips for numbers in workboard column headers

Summary:
The mystery has been resolved. Brave mouse pointers can now finally reveal an explanation how long forgotten generations of product managers wanted to plan and groom and such.

Closes T16106

Test Plan:
* Establish backlog bankruptcy.
* Go to a project workboard with columns and column limits and tasks.
* Hover over the numbers in the column headers.
* Switch on and off `/config/edit/maniphest.points/` and experience an exciting plot twist by repeating the previous step.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16106

Differential Revision: https://we.phorge.it/D26079

+17
+17
src/applications/project/controller/PhabricatorProjectBoardViewController.php
··· 191 191 $panel->addHeaderAction($trigger_menu); 192 192 } 193 193 194 + $column_points_tip = pht('Tasks'); 195 + $point_limit = $column->getPointLimit(); 196 + if (ManiphestTaskPoints::getIsEnabled()) { 197 + $column_points_tip .= ' | '.pht('Points'); 198 + if ($point_limit !== null) { 199 + $column_points_tip .= ' / '.pht('Point Limit'); 200 + } 201 + } else if ($point_limit !== null) { 202 + $column_points_tip .= ' / '.pht('Count Limit'); 203 + } 204 + 194 205 $count_tag = id(new PHUITagView()) 195 206 ->setType(PHUITagView::TYPE_SHADE) 196 207 ->setColor(PHUITagView::COLOR_BLUE) 197 208 ->addSigil('column-points') 209 + ->addSigil('has-tooltip') 198 210 ->setName( 199 211 javelin_tag( 200 212 'span', ··· 202 214 'sigil' => 'column-points-content', 203 215 ), 204 216 pht('-'))) 217 + ->setMetadata( 218 + array( 219 + 'tip' => $column_points_tip, 220 + 'align' => 'S', 221 + )) 205 222 ->setStyle('display: none'); 206 223 207 224 $panel->setHeaderTag($count_tag);