Final batches of 1~2 items are annoying

Bug #145420 reported by Matthew Paul Thomas
8
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://www.uie.com/brainsparks/2007/08/13/usability-tools-podcast-gallery-pages>.]

Changed in launchpad:
importance: Undecided → Medium
status: New → Triaged
Curtis Hovey (sinzui)
tags: removed: fix-it-friday
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
importance: Medium → Low
Jonathan Lange (jml)
affects: launchpad-foundations → launchpad-web
Revision history for this message
Lesmana Zimmer (lesmana) wrote :

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.

Revision history for this message
Lesmana Zimmer (lesmana) wrote :

also affects comment hiding

see bug #363695

the bug as 120 comments and launchpad is hiding two comments. launchpad should not hide only two comments. it should wait until there are 10 comments too many and then hide 10 comments.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.