1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-18 09:48:39 +01:00

Allow task graph task titles to go full width

Summary: Fixes T12213. Removes truncation and allows titles to be full width if needed.

Test Plan:
Chrome / Firefox / Safari on Mac, mobile and desktop widths.

{F2754679}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12213

Differential Revision: https://secure.phabricator.com/D17336
This commit is contained in:
Chad Little 2017-02-10 10:38:00 -08:00
parent e0675b28d8
commit 4176bdeb5b
3 changed files with 8 additions and 8 deletions

View file

@ -9,7 +9,7 @@ return array(
'names' => array( 'names' => array(
'conpherence.pkg.css' => 'a520d619', 'conpherence.pkg.css' => 'a520d619',
'conpherence.pkg.js' => '6249a1cf', 'conpherence.pkg.js' => '6249a1cf',
'core.pkg.css' => '2a5c3505', 'core.pkg.css' => '76a0e8c9',
'core.pkg.js' => '1fa7c0c5', 'core.pkg.js' => '1fa7c0c5',
'darkconsole.pkg.js' => 'e7393ebb', 'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '4815647b', 'differential.pkg.css' => '4815647b',
@ -27,7 +27,7 @@ return array(
'rsrc/css/aphront/notification.css' => '3f6c89c9', 'rsrc/css/aphront/notification.css' => '3f6c89c9',
'rsrc/css/aphront/panel-view.css' => '8427b78d', 'rsrc/css/aphront/panel-view.css' => '8427b78d',
'rsrc/css/aphront/phabricator-nav-view.css' => 'e58a4a30', 'rsrc/css/aphront/phabricator-nav-view.css' => 'e58a4a30',
'rsrc/css/aphront/table-view.css' => '213a5981', 'rsrc/css/aphront/table-view.css' => '6ca8e057',
'rsrc/css/aphront/tokenizer.css' => '9a8cb501', 'rsrc/css/aphront/tokenizer.css' => '9a8cb501',
'rsrc/css/aphront/tooltip.css' => '173b9431', 'rsrc/css/aphront/tooltip.css' => '173b9431',
'rsrc/css/aphront/typeahead-browse.css' => '8904346a', 'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
@ -552,7 +552,7 @@ return array(
'aphront-list-filter-view-css' => '5d6f0526', 'aphront-list-filter-view-css' => '5d6f0526',
'aphront-multi-column-view-css' => '84cc6640', 'aphront-multi-column-view-css' => '84cc6640',
'aphront-panel-view-css' => '8427b78d', 'aphront-panel-view-css' => '8427b78d',
'aphront-table-view-css' => '213a5981', 'aphront-table-view-css' => '6ca8e057',
'aphront-tokenizer-control-css' => '9a8cb501', 'aphront-tokenizer-control-css' => '9a8cb501',
'aphront-tooltip-css' => '173b9431', 'aphront-tooltip-css' => '173b9431',
'aphront-typeahead-control-css' => 'd4f16145', 'aphront-typeahead-control-css' => 'd4f16145',

View file

@ -53,17 +53,13 @@ final class ManiphestTaskGraph
$full_title = $object->getTitle(); $full_title = $object->getTitle();
$title = id(new PhutilUTF8StringTruncator())
->setMaximumGlyphs(80)
->truncateString($full_title);
$link = phutil_tag( $link = phutil_tag(
'a', 'a',
array( array(
'href' => $object->getURI(), 'href' => $object->getURI(),
'title' => $full_title, 'title' => $full_title,
), ),
$title); $full_title);
$link = array( $link = array(
phutil_tag( phutil_tag(

View file

@ -232,6 +232,10 @@ span.single-display-line-content {
.aphront-table-view td.object-link { .aphront-table-view td.object-link {
white-space: nowrap; white-space: nowrap;
word-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
max-width: 0;
} }
.aphront-table-view tr.closed td.object-link .object-name, .aphront-table-view tr.closed td.object-link .object-name,