Last modified: 2014-07-03 21:58:58 UTC
A nice addition to the software would be a way to filter the rows of a table based on an entered (or selected) expression. What I mean by this is that if you have a large table with one field of nominal values, you would be able to select one of the values. Only rows containing that value in the field would be shown. Then, you could sort the table seeing only the rows with this specific value in the field.
Examples of this in action can be seen at:
It should be easily implemented by end users, such as by adding another class to the table.
Another example is that which appears on Special:Allmessages, which is horribly slow... good speed on large tables would help. :)
I've added a little script to the Countervandalism Networks' MegaTable at the Toolserver last week:
Perhaps something like that ?
It's just a proof-of-concept, but you get the idea (type in the searchbar and hit enter. The latter triggers the search but that could be triggered after keyup instead to make it live).
I could make it into a jQuery plugin.
would be treated by the plugin into:
<div> <input type=text /> </div>
<table class="mw-makefiltertable mw-madefiltertable">
Yes, Krinkle - that's just what I had in mind with the usage you suggested. Your code seems to be case sensitive, but other than that, it looks good!
Krinkle, this report is assigned to you. Do you plan to work on it?
The current priority is Normal. However, nobody seems to have this feature in their plans? Should it be Lowest instead?
Krinkle: I am resetting the assignee of this issue to default because there has been no progress in the last months. Feel free to take it again when you are actually planning to fix this. Thanks.