From 62131de8cd1614c4ca0cc54853f48d1c624237c6 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 5 Jul 2016 06:50:40 -0700 Subject: [PATCH] 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 --- src/infrastructure/graph/DifferentialRevisionGraph.php | 2 ++ src/infrastructure/graph/ManiphestTaskGraph.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/infrastructure/graph/DifferentialRevisionGraph.php b/src/infrastructure/graph/DifferentialRevisionGraph.php index 3b5d638ec7..892540f610 100644 --- a/src/infrastructure/graph/DifferentialRevisionGraph.php +++ b/src/infrastructure/graph/DifferentialRevisionGraph.php @@ -54,6 +54,8 @@ final class DifferentialRevisionGraph $link = $viewer->renderHandle($phid); } + $link = AphrontTableView::renderSingleDisplayLine($link); + return array( $trace, $status, diff --git a/src/infrastructure/graph/ManiphestTaskGraph.php b/src/infrastructure/graph/ManiphestTaskGraph.php index b793493cd3..1568c8c656 100644 --- a/src/infrastructure/graph/ManiphestTaskGraph.php +++ b/src/infrastructure/graph/ManiphestTaskGraph.php @@ -67,6 +67,8 @@ final class ManiphestTaskGraph $link = $viewer->renderHandle($phid); } + $link = AphrontTableView::renderSingleDisplayLine($link); + return array( $trace, $status,