Ticket #7342 (new enhancement)
Opened 4 years ago
Last modified 9 months ago
Add filter parameters to milestone view
| Reported by: | techtonik <techtonik@…> | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | unscheduled |
| Component: | roadmap | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: | ivan@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
Milestone view support only one milestone per page. Roadmap can display several milestones, but there is almost no control on order and scope of shown stats. The only option is to show completed milestones (show=all) or not.
I propose to extend "show=all" to allow queries like "show=^0.5" or "show=0.5|0.5.1", but it can create a conflict if somebody defines milestone named "all".
It can be convenient to extend milestone view as well to allow URLs like /milestone/6.0|6.2|6.4
Attached is a simple patch to select several milestones in roadmap using piped /roadmap?milestone=6.0|6.2|6.4 syntax. No advanced filtering using ~= or ^=
Attachments
Change History
Changed 4 years ago by techtonik <techtonik@…>
- Attachment 0.10.4.roadmap.py.txt added
Changed 4 years ago by techtonik <techtonik@…>
- Attachment 0.11.roadmap.py.txt added
comment:1 Changed 3 years ago by rblank
- Milestone set to 2.0
- Owner jonas deleted
comment:2 Changed 3 years ago by cboos
- Component changed from general to roadmap
For example, the prefs form, in addition to the Show already completed milestones checkbox could have a Filter by name: field, which would accept a glob pattern. If you fill it with e.g. 0.11*, the roadmap module would show all the Milestone starting with 0.11.
comment:3 Changed 3 years ago by ivan@…
- Cc ivan@… added
comment:4 Changed 2 years ago by john.williams@…
I'm interested in this (adding this comment so I can follow it)
comment:5 Changed 22 months ago by cboos
- Milestone changed from 2.0 to unscheduled
Milestone 2.0 deleted
comment:6 Changed 21 months ago by trac-delcock@…
RoadmapFilterPlugin might suit your needs, but it's for 0.11 only.
comment:7 Changed 17 months ago by cboos
- Milestone changed from triaging to unscheduled
Milestone triaging deleted
comment:8 Changed 9 months ago by anonymous
RoadmapPlugin might suit your needs (uses largely code of RoadmapFilterPlugin); but it's only available in English and German.



Why not. However, the current patch requires editing the page URL, which is not really convenient. For this to be included, some more thought should be given to the user interface side.