Final batches of 1~2 items are annoying
Bug #145420 reported by
Matthew Paul Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
In any batched list of things (such as search results, branches, or translatable items), it is possible for the last batch to have only one or two items in it. This is annoying.
This could be avoided by combining the second-to-last and last batches if the number of items in the last batch would be less than, perhaps, 1/4 of the batch size.
[Originally suggested by Jared Spool in <http://
Changed in launchpad: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | removed: fix-it-friday |
Changed in launchpad-foundations: | |
importance: | Medium → Low |
affects: | launchpad-foundations → launchpad-web |
To post a comment you must log in.
this also affects the truncation of comments which are too long.
see comment #30 in bug #18864 for example
in this case the truncation algorithm cut the last 19 characters from the last line. the comment should only be truncated if it is at least 10 (or 20) lines too long, and truncation should leave lines intact.