For bugs with >100 comments, instead of displaying first 80 comments, display the first 40 and last 40
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Bryce Harrington |
Bug Description
[Problem]
Please change the 80-comment limit to display the *last* 80 comments instead of the *first* 80.
[Discussion]
I've got several quite popular bugs with >100 comments, and have run across the new 80-comment limit feature. For example, bug #252094, with 264 comments.
As a general rule, I care more about the last few dozen or so new comments to the bugs than I do about the first 80. So I almost always end up clicking on the "view all NNN comments" link. So ironically, now I'm making two page loads (one for 80 comments, one with NNN comments) where I made only one before. Also, having to scroll the length of the page and click a second link makes the workflow to review new comments take longer than it did before.
All of this could be solved more efficiently by just changing it to display the last 80 comments (even just the last 25 would be sufficient) rather than the first.
An alternate idea would be to raise the threshold to, say, 400. I don't think I have any bugs with more than that many comments. Even so, I feel that displaying the last 80 comments would be a superior solution, at least in my case.
(As a total aside, you may be wondering why I have a bug with 264 comments open. Usually I close out bugs if they get more then 50 comments; usually that means they've ceased to be useful as bug reports. But sometimes people just need a place to discuss something and for some reason prefer doing it in a bug tracker rather than in a forum. When I close one of those kinds of bugs, within a few months there is yet another. The prior incarnation of 252094 was 177492, for example. If people have specific, solvable issues, I ask them to break those out into new reports; if they just want to discuss the symptom in general with a lot of people suffering similarly, I leave the master bug for them.)
Related branches
- Jeroen T. Vermeulen (community): Approve
- Curtis Hovey (community): Approve (ui)
- Graham Binns: Pending requested
-
Diff: 540 lines (+192/-76)8 files modifiedconfigs/development/launchpad-lazr.conf (+4/-2)
lib/canonical/config/schema-lazr.conf (+3/-2)
lib/lp/bugs/browser/bugtask.py (+89/-38)
lib/lp/bugs/browser/tests/bug-views.txt (+6/-6)
lib/lp/bugs/doc/bugcomment.txt (+34/-23)
lib/lp/bugs/stories/bugs/xx-bug-index-lots-of-comments.txt (+8/-3)
lib/lp/bugs/templates/bugcomment-macros.pt (+37/-1)
lib/lp/bugs/templates/bugtask-index.pt (+11/-1)
description: | updated |
description: | updated |
summary: |
- Display last 80 rather than first 80 comments for bugs with >100 - comments + For bugs with >100 comments, instead of displaying first 80 comments, + display the first 40 and last 40 |
Changed in malone: | |
assignee: | nobody → Bryce Harrington (bryceharrington) |
Changed in malone: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
I think the ultimate solution, is to progressively load comments into the page, so the only question remaining is whether we can do that quickly enough to solve your problem.