launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #06417
Re: [Merge] lp:~sinzui/launchpad/team-titles into lp:launchpad
Bug titles are not terse. We may want them to be a one line summary, but users place between 0 and 50k characters in it. Each browser engine implements it own rules for handling pathological titles on top the native rule that further restrict the length of text in a menu (or completion). So while we know the practical limit of the code is 64k of title, the UI rules place the limit closer to 128 characters. The W3c weighed in on the issue and recommends 64 characters.
Launchpad UI rule forbid us from doing something stupid like duplicating the heading in the bread crumbs beneath the heading so that the user can read it twice.
We could change bug titles to be what we mean but that is a separate group of bugs. I can put a truncated portion on the bug title into the page title, but that truncation will appear under the untruncated heading. Well that is not exactly true, because the bread crumbs have there own truncation rules at 40 characters.
If you really want part of the bug title in the page title, I think we want modify the BugFormatterAPI.page_title to extend the rules by injecting 40 or 64 characters of the bug title into the page title.
--
https://code.launchpad.net/~sinzui/launchpad/team-titles/+merge/93675
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~sinzui/launchpad/team-titles into lp:launchpad.
Follow ups
References