Opened 14 years ago
Closed 14 years ago
#7664 closed enhancement (fixed)
Add filters for watchlist table content
Reported by: | Martin Scharrer | Owned by: | Martin Scharrer |
---|---|---|---|
Priority: | normal | Component: | WatchlistPlugin |
Severity: | normal | Keywords: | filter |
Cc: | Steffen Hoffmann | Trac Release: | 0.12 |
Description
Dynamic filters should be added to all watchlist tables, e.g. using the dataTables functions (see below for links), to only show specific rows. This is not to be confused with #7647, which "filters" columns.
Some ideas:
- Only show all entries which changed since the last time the user looked at the watchlist.
- Only show all entries which changed in a user definable range (Extra: provide JS data pickers)
- Add filters (like in link 1.) to all columns, e.g. in the table footer.
- Extra: Regular expressions could also be supported.
- Extra: Filter selections should be saved in a cookie to survive between page views.
With this it should be possible to e.g. filter all wiki pages changed in a certain time range, which start (or include) with 'ABC/' and where changed by a certain user.
--
Links:
Attachments (0)
Change History (7)
comment:1 Changed 14 years ago by
comment:2 follow-up: 7 Changed 14 years ago by
Idea:
The version filter input syntax should be "min-max", which one of "min" or "max" optional, as well as the "-" if only one value is given.
Examples:
4-8
Versions 4 till 8-9
All version <=97-
All version >=75
Only version 5- empty All versions
Note: The same syntax should be supported by the python code for adding and removing tickets.
comment:3 Changed 14 years ago by
Status: | new → assigned |
---|
Done so far [8742:8753]:
- Add filters (like in link 1.) to all columns, e.g. in the table footer.
- Extra: Filter selections should be saved in a cookie to survive between page views.
comment:4 Changed 14 years ago by
comment:5 follow-up: 6 Changed 14 years ago by
TODO
- Implement search/selection ranges for ticket ids (python and JS).
- Implement date/time picker.
- Needs JS library
- Needs Option to switch on/off
- Selection must be saved as cookie manually
- Code since last visit button
comment:6 Changed 14 years ago by
comment:7 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to martin_s:
Idea:
The version filter input syntax should be "min-max", which one of "min" or "max" optional, as well as the "-" if only one value is given.
Finished in [8925]. Now implemented for all numeric data (Wiki page version, ticket id and comment number). Supported format is:
a-b
numbers a till b, both inclusive-b
All numbers <=ba-
All numbers >=aa
Only number a- empty or invalid All numbers
Multiple ranges can be given as comma separated list. A number will test positive when in any of this ranges:
Examples:
a-b,c-d
All numbers which are between a and b OR between c and d.-a,b,c-
All numbers which are either <= a, ==b or >=c
There should be some simple help text on the watchlist to explain this, or at least a link to a help page.
However, the implementation of all suggested filters is complete so I close this ticket.
(In [8743]) dev/tracwatchlist/htdocs/css/style.css::
<span>
for later numeric filtering. See #7664.