Closed Bug 103523 Opened 24 years ago Closed 17 years ago

don't split buglist table every 100 bugs for new browsers

Categories

(Bugzilla :: Query/Bug List, enhancement)

2.15
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: jruderman, Assigned: mkanat)

References

Details

Attachments

(1 file, 1 obsolete file)

The bug list table should not be split every 200 bugs. This causes several problems: - It looks ugly to have the column widths change in the middle of what is conceptually one table. - I can't select an entire column in order to generate statistics. For example, I might want to select the reporter column of the unconfirmed list, and then use `sort', `uniq --count', and `sort -g' in order to get a list like 5 plairo@cs.com 7 tuscontester1@netscape.net 71 tuscontester2@netscape.net <http://www.gnu.org/manual/textutils/html_chapter/textutils_7.html> (Note: I also run into bug 103522 when I try to do this.) - I can't use the sort table bookmarklet effectively, so I have to ask the server to do the sort and wait for the results to be re-sent. <http://www.squarefree.com/bookmarklets/pagedata.html#sort_table>
Summary: bug list should be one table (instead of being split every 200 bugs) → bug list table should not be split every 200 bugs
I think the current behaviour is for 4.x which is supposed to be very slow and to use a lot of memory for tables with many rows.
Yes this is necessary for backward compatibility with non-reflowing browsers. It also causes the columns to reflow in a more sensible manner. As for statistics, that's properly done over at bug #12282, which will hopefully get some loving one of these days.
For now we need this for backward compatibility. Marking Future... I hate it too. Once we succeed in getting people to stop using Nav 4 maybe we'll dump it.
Target Milestone: --- → Future
Why leave this hardcoded to 200... If we were to use HTTP::BrowserDetect, you could an # Pseudocode sub HandlesLargeTables { return 1 if mozilla > 4; return 1 if ie > 4; return 1 if opera > xxx; etc etc return 0; } And then only apply the 200 cell limit if the browser can't handle large tables. I'd be happy to add the code if someone doesn't mind adding the installation requirement of HTTP::BrowserDetect... or if we want to make sure it goes along, we go always refactor the module into Bugzilla::BrowserDetect, and add it to CVS. Say the word...
For a pure aesthetic purpose, a good workaround patch would just add a width attribute to the TDs, or preferably a stylesheet... Surely this wouldn't be overly time consuming and might be worth getting in sometime soon (2.16?) just for minimizing the annoyance factor.
Updated summary to reflect changes made in bug 107379.
Summary: bug list table should not be split every 200 bugs → bug list table should not be split every 100 bugs
OS: Windows 98 → All
Hardware: PC → All
We could make this dependent on the user-agent without too much trouble; it would be a tweak to the table.html.tmpl template. Gerv
Severity: normal → enhancement
Summary: bug list table should not be split every 100 bugs → don't split bug list table every 100 bugs for new browsers
*** Bug 209002 has been marked as a duplicate of this bug. ***
Summary: don't split bug list table every 100 bugs for new browsers → don't split buglist table every 100 bugs for new browsers
Assignee: endico → nobody
*** Bug 271453 has been marked as a duplicate of this bug. ***
Ok, it is now 2005 and there are 27 million copies of Firefox out there. Can we remove this split now?
Actually, today I think this is a WONTFIX. Having the column names repeated every so often is helpful for a user, and those who want unadulterated results for further processing can now use &format=csv. Gerv
If this is WONTFIX, could it at least become a feature request to keep the columns aligned across the split?
Gerv, how is it useful to have the column names repeated every once in a while?
If you're on bug 300 of 1000 and can't remember which column is which ... However I believe there are some attributes that can be set (see http://juicystudio.com/experiments/accessibletables.asp ) One thing I do when using Excel is freeze the top row with the column headers so that they never move while I'm scrolling. This could be done by creating a scrolling div to hold the whole table, but have an additional dummy row of headers above the div. The problem with that is table width to make the columns line up. But we can be creative with styles and have some default column widths based on em.
What alanjstr said. Maybe we actually want something like this: http://www.imaputz.com/cssStuff/bigFourVersion.html Gerv
Fantastic find, gerv. That's exactly what I was thinking of.
I don't understand alanjstr's argument. What if you're on bug 350 of 1000?
(In reply to comment #17) > I don't understand alanjstr's argument. What if you're on bug 350 of 1000? How would you remember which column was the assigneee and which was the qa and which was the reporter?
*** Bug 291398 has been marked as a duplicate of this bug. ***
QA Contact: mattyt-bugzilla → default-qa
Target Milestone: Future → ---
Assignee: nobody → query-and-buglist
Attached patch v1 (obsolete) — Splinter Review
Easy-peasy. Pyrzak's students' research pointed this out as an issue: "There is no apparent reason as to why the heading information is repeated at this position in the page or why the columns are offset. The user will not understand what is going on."
Assignee: query-and-buglist → mkanat
Status: NEW → ASSIGNED
Attachment #373429 - Flags: review?(LpSolit)
Target Milestone: --- → Bugzilla 3.6
Comment on attachment 373429 [details] [diff] [review] v1 >@@ -222,7 +219,7 @@ > [%# At the end of every hundred bugs in the list, or at the end of the list, > # end the current table. Please fix the comment. "every hundred bugs" is no longer true. >+ [% IF loop.last() %] > [% IF loop.last() && time_info.time_present == 1 %] The 2nd loop.last() can go away.
Attached patch v2Splinter Review
Thanks for catching those things!
Attachment #373429 - Attachment is obsolete: true
Attachment #373451 - Flags: review?(LpSolit)
Attachment #373429 - Flags: review?(LpSolit)
Attachment #373451 - Flags: review?(LpSolit) → review+
Comment on attachment 373451 [details] [diff] [review] v2 r=LpSolit
Flags: approval+
Checking in template/en/default/list/table.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl,v <-- table.html.tmpl new revision: 1.43; previous revision: 1.42 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: