@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 toolip to Mock History in Pholio

Summary: Fixes T8985, Adds a tooltip with the filename

Test Plan: Update a few Pholio mocks, see names when hovering

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8985

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

+4 -1
+4 -1
src/applications/pholio/view/PholioMockThumbGridView.php
··· 116 116 117 117 $preview_key = PhabricatorFileThumbnailTransform::TRANSFORM_THUMBGRID; 118 118 $xform = PhabricatorFileTransform::getTransformByKey($preview_key); 119 + Javelin::initBehavior('phabricator-tooltips'); 119 120 120 121 $attributes = array( 121 122 'class' => 'pholio-mock-thumb-grid-image', ··· 161 162 return javelin_tag( 162 163 'a', 163 164 array( 164 - 'sigil' => 'mock-thumbnail', 165 + 'sigil' => 'mock-thumbnail has-tooltip', 165 166 'class' => implode(' ', $classes), 166 167 'href' => '#', 167 168 'meta' => array( 168 169 'imageID' => $image->getID(), 170 + 'tip' => $image->getName(), 171 + 'align' => 'N', 169 172 ), 170 173 ), 171 174 array(