Open
Bug 1193778
Opened 10 years ago
Updated 6 years ago
Enhance filter panel to support searching multiple fields with boolean operators (AND/OR)
Categories
(Tree Management :: Treeherder: Frontend, defect, P3)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
Details
As I have seen today the filter has problems with the following setting:
https://treeherder.allizom.org/#/jobs?repo=mozilla-central&filter-job_group_symbol=Ff&filter-job_group_symbol=Fr&filter-job_group_symbol=Fu&filter-job_type_symbol=N
As talked with Cameron and Jonathan on IRC the problem is the multiple filter usage. Here the group AND the type filter is used. So they are combined with ADD and as result nothing gets shown.
It would be good to have a more flexible filter with maybe filter groups and a setting for how to combine them (OR, AND).
Comment 1•10 years ago
|
||
I think we should remove that filter panel and replace it with more advanced functionality in the quick filter input field (ie free form text entry like GMail search or bugzilla quicksearch, with optional dropdown UI for helping construct the query, like GMail).
Some related bugs
https://bugzil.la/filter+:treeherder
Reporter | ||
Comment 2•10 years ago
|
||
Hm, maybe something DXR is using? See https://dxr.readthedocs.org/en/latest/
Comment 7•9 years ago
|
||
The work for this would be in this file, at this function:
https://github.com/mozilla/treeherder/blob/master/ui/js/services/jobfilters.js#L184-184
However, this would probably be/could be a fairly big re-work of our filtering. I would suggest making this additive (adding the operators for fields) in the search bar. Then when it's working well we could remove or revise the "Filters" panel.
Updated•7 years ago
|
Component: Treeherder → Treeherder: Frontend
Comment 8•7 years ago
|
||
Making summary more keyword dense.
Summary: Enhance filter panel to support multiple fields with boolean operators → Enhance filter panel to support searching multiple fields with boolean operators (AND/OR)
Updated•6 years ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•