← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~wallyworld/launchpad/bugtask-title-truncation-1037364 into lp:launchpad

 

Ian Booth has proposed merging lp:~wallyworld/launchpad/bugtask-title-truncation-1037364 into lp:launchpad.

Requested reviews:
  Ian Booth (wallyworld)
Related bugs:
  Bug #1037364 in Launchpad itself: "Long bug titles are now truncated, obscuring important information"
  https://bugs.launchpad.net/launchpad/+bug/1037364

For more details, see:
https://code.launchpad.net/~wallyworld/launchpad/bugtask-title-truncation-1037364/+merge/119828

Quick tweak to allow bugtask titles to expand to 6 lines before they are truncated.
-- 
https://code.launchpad.net/~wallyworld/launchpad/bugtask-title-truncation-1037364/+merge/119828
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== modified file 'lib/lp/bugs/browser/bugtask.py'
--- lib/lp/bugs/browser/bugtask.py	2012-08-10 04:48:36 +0000
+++ lib/lp/bugs/browser/bugtask.py	2012-08-16 03:13:22 +0000
@@ -734,7 +734,7 @@
         self.bug_title_edit_widget = TextLineEditorWidget(
             bug, IBug['title'], "Edit this summary", 'h1',
             edit_url=canonical_url(self.context, view_name='+edit'),
-            max_width='95%', truncate_lines=2)
+            max_width='95%', truncate_lines=6)
 
         # XXX 2010-10-05 gmb bug=655597:
         # This line of code keeps the view's query count down,


Follow ups