Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15493207
D16583.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D16583.id.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -9,7 +9,7 @@
'names' => array(
'conpherence.pkg.css' => '80a3fcb3',
'conpherence.pkg.js' => '89b4837e',
- 'core.pkg.css' => 'eb1298d4',
+ 'core.pkg.css' => 'f7b03076',
'core.pkg.js' => '1d376fa9',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '3fb7f532',
@@ -27,7 +27,7 @@
'rsrc/css/aphront/notification.css' => '3f6c89c9',
'rsrc/css/aphront/panel-view.css' => '8427b78d',
'rsrc/css/aphront/phabricator-nav-view.css' => 'b29426e9',
- 'rsrc/css/aphront/table-view.css' => '832656fd',
+ 'rsrc/css/aphront/table-view.css' => '3225137a',
'rsrc/css/aphront/tokenizer.css' => '056da01b',
'rsrc/css/aphront/tooltip.css' => '1a07aea8',
'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
@@ -607,7 +607,7 @@
'aphront-list-filter-view-css' => '5d6f0526',
'aphront-multi-column-view-css' => 'fd18389d',
'aphront-panel-view-css' => '8427b78d',
- 'aphront-table-view-css' => '832656fd',
+ 'aphront-table-view-css' => '3225137a',
'aphront-tokenizer-control-css' => '056da01b',
'aphront-tooltip-css' => '1a07aea8',
'aphront-typeahead-control-css' => 'd4f16145',
diff --git a/src/infrastructure/graph/ManiphestTaskGraph.php b/src/infrastructure/graph/ManiphestTaskGraph.php
--- a/src/infrastructure/graph/ManiphestTaskGraph.php
+++ b/src/infrastructure/graph/ManiphestTaskGraph.php
@@ -51,12 +51,19 @@
$assigned = phutil_tag('em', array(), pht('None'));
}
+ $full_title = $object->getTitle();
+
+ $title = id(new PhutilUTF8StringTruncator())
+ ->setMaximumGlyphs(80)
+ ->truncateString($full_title);
+
$link = phutil_tag(
'a',
array(
'href' => $object->getURI(),
+ 'title' => $full_title,
),
- $object->getTitle());
+ $title);
$link = array(
phutil_tag(
@@ -95,8 +102,6 @@
));
}
- $link = AphrontTableView::renderSingleDisplayLine($link);
-
return array(
$marker,
$trace,
diff --git a/webroot/rsrc/css/aphront/table-view.css b/webroot/rsrc/css/aphront/table-view.css
--- a/webroot/rsrc/css/aphront/table-view.css
+++ b/webroot/rsrc/css/aphront/table-view.css
@@ -228,6 +228,10 @@
position: static;
}
+.aphront-table-view td.object-link {
+ white-space: nowrap;
+}
+
.aphront-table-view tr.closed td.object-link .object-name,
.aphront-table-view tr.alt-closed td.object-link .object-name {
text-decoration: line-through;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 13, 9:40 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7660511
Default Alt Text
D16583.id.diff (2 KB)
Attached To
Mode
D16583: Truncate and scroll task graph tables instead of fitting task titles to the display
Attached
Detach File
Event Timeline
Log In to Comment