Closed
Bug 291397
Opened 20 years ago
Closed 17 years ago
integrate Jesse Ruderman's buglist sorting script into Bugzilla
Categories
(Bugzilla :: Query/Bug List, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 151686
People
(Reporter: myk, Unassigned)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
It should be possible to resort buglists without having to rerun the query.
Jesse Ruderman's Greasemonkey script does just that. We should incorporate it
into Bugzilla.
Comment 1•20 years ago
|
||
See also bug 151686, "sort buglist on the client rather than resubmit the query".
Summary: integrate Jess Ruderman's buglist sorting script into Bugzilla → integrate Jesse Ruderman's buglist sorting script into Bugzilla
integrate's jesse's code, first cut.
i didn't put a mozilla mpl boilerplate on the javascript file as i'm not sure
what license jesse released his code under.
this works but isn't ready for review, as it has the severity, status and
resolution enums hardcoded (and it doesn't work on ie).
Assignee: query-and-buglist → bugzilla
Status: NEW → ASSIGNED
Comment 3•20 years ago
|
||
I plan to make the code open-source under a license that will allow it to be
included in Bugzilla. I also plan to add some setTimeouts to make it not hang
Firefox so badly as it sorts long lists.
Comment 4•20 years ago
|
||
BugSort is now MPL. See
http://www.squarefree.com/2005/05/02/faster-bug-sort-user-script/.
Some things that would probably have to be done for BugSort to be incorporated
into Bugzilla:
1. Make sure it uses cross-browser DOM, etc.
2. Provide some way to change the default sorting method. This could be a "Use
this sorting method for subsequent searches" button on resorted bug lists that
changes the cookie, or it could be a dropdown in the userprefs page.
3. Provide a "URL for this resorted list" link.
4. Make it sort the date, target milestone, and version columns better.
5. Find a way to display sorting arrows (e.g. \u25B2 and \u25BC) without
changing the column width.
Updated•19 years ago
|
Severity: normal → enhancement
OS: Linux → All
Hardware: PC → All
Comment 5•19 years ago
|
||
I think i have a better script for this, just because it's easier to add. It's based on the kryogenix table sorting script. Look at it here: http://www.joostdevalk.nl/code/ it's very inobtrusive in that it only requires loading the script, and giving a table a class "sortable". It's MIT licensed, don't think we'd have a problem there. This might not do the fancy things your script does, but i think it does the trick.
Comment 6•19 years ago
|
||
We should be able to take care of sorting with one of the many ajax frameworks/toolkits. Here are examples of two approaches:
http://archive.dojotoolkit.org/nightly/tests/widget/test_SortableTable.html
http://openrico.org/rico/livegrid.page
I think it would be best to use one of the existing frameworks so that we do not have to reinvent the wheel and so that there is not a fragmented base of these features. The only thing that would need work is connecting the JS framework to the cookie that remembers the sort field...
Comment 7•17 years ago
|
||
As neither bug has seen any activity, in the interest of having only one bug, I'm duping this bug to the older bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•