Skip to content

Commit 62131de

Browse files
author
epriestley
committedJul 5, 2016
Don't wrap task/revision titles in graph tables
Summary: Fixes T11274. When task titles are long, we currently wrap stuff and the trace graph renders real weird. Instead, prevent taks/revision titles from wrapping/overflowing. (This works in a slightly weird way, and `text-overflow: ellipsis;` has no apparent effect on any of the containers.) Test Plan: {F1712394} Reviewers: chad Reviewed By: chad Maniphest Tasks: T11274 Differential Revision: https://secure.phabricator.com/D16233
1 parent b538311 commit 62131de

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎src/infrastructure/graph/DifferentialRevisionGraph.php

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ protected function newTableRow($phid, $object, $trace) {
5454
$link = $viewer->renderHandle($phid);
5555
}
5656

57+
$link = AphrontTableView::renderSingleDisplayLine($link);
58+
5759
return array(
5860
$trace,
5961
$status,

‎src/infrastructure/graph/ManiphestTaskGraph.php

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ protected function newTableRow($phid, $object, $trace) {
6767
$link = $viewer->renderHandle($phid);
6868
}
6969

70+
$link = AphrontTableView::renderSingleDisplayLine($link);
71+
7072
return array(
7173
$trace,
7274
$status,

0 commit comments

Comments
 (0)
Failed to load comments.