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

Truncate and scroll task graph tables instead of fitting task titles to the display

Summary: Fixes T11676. Instead of trying to fit task titles to the display, truncate them and let the table scroll.

Test Plan:
Table now scrolls when cramped:

{F1843396}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11676

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

+15 -6
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => '80a3fcb3', 11 11 'conpherence.pkg.js' => '89b4837e', 12 - 'core.pkg.css' => 'eb1298d4', 12 + 'core.pkg.css' => 'f7b03076', 13 13 'core.pkg.js' => '1d376fa9', 14 14 'darkconsole.pkg.js' => 'e7393ebb', 15 15 'differential.pkg.css' => '3fb7f532', ··· 27 27 'rsrc/css/aphront/notification.css' => '3f6c89c9', 28 28 'rsrc/css/aphront/panel-view.css' => '8427b78d', 29 29 'rsrc/css/aphront/phabricator-nav-view.css' => 'b29426e9', 30 - 'rsrc/css/aphront/table-view.css' => '832656fd', 30 + 'rsrc/css/aphront/table-view.css' => '3225137a', 31 31 'rsrc/css/aphront/tokenizer.css' => '056da01b', 32 32 'rsrc/css/aphront/tooltip.css' => '1a07aea8', 33 33 'rsrc/css/aphront/typeahead-browse.css' => '8904346a', ··· 607 607 'aphront-list-filter-view-css' => '5d6f0526', 608 608 'aphront-multi-column-view-css' => 'fd18389d', 609 609 'aphront-panel-view-css' => '8427b78d', 610 - 'aphront-table-view-css' => '832656fd', 610 + 'aphront-table-view-css' => '3225137a', 611 611 'aphront-tokenizer-control-css' => '056da01b', 612 612 'aphront-tooltip-css' => '1a07aea8', 613 613 'aphront-typeahead-control-css' => 'd4f16145',
+8 -3
src/infrastructure/graph/ManiphestTaskGraph.php
··· 51 51 $assigned = phutil_tag('em', array(), pht('None')); 52 52 } 53 53 54 + $full_title = $object->getTitle(); 55 + 56 + $title = id(new PhutilUTF8StringTruncator()) 57 + ->setMaximumGlyphs(80) 58 + ->truncateString($full_title); 59 + 54 60 $link = phutil_tag( 55 61 'a', 56 62 array( 57 63 'href' => $object->getURI(), 64 + 'title' => $full_title, 58 65 ), 59 - $object->getTitle()); 66 + $title); 60 67 61 68 $link = array( 62 69 phutil_tag( ··· 94 101 'align' => 'E', 95 102 )); 96 103 } 97 - 98 - $link = AphrontTableView::renderSingleDisplayLine($link); 99 104 100 105 return array( 101 106 $marker,
+4
webroot/rsrc/css/aphront/table-view.css
··· 228 228 position: static; 229 229 } 230 230 231 + .aphront-table-view td.object-link { 232 + white-space: nowrap; 233 + } 234 + 231 235 .aphront-table-view tr.closed td.object-link .object-name, 232 236 .aphront-table-view tr.alt-closed td.object-link .object-name { 233 237 text-decoration: line-through;