Closed Anonycoders closed 1 year ago
I was wondering the same thing. How to have combined filters (with AND or OR conditions)
like !label1 && !label2
)
This would be a great addition. I have more use of an allow-list than a block-list.
Hi, sorry for not spotting this a little earlier - on the menus you can exclude multiple labels like this:
Things are ORed inside a single label:
prefix, so, e.g.:
label:enhancement,bug
would show items that have the enhancement
or bug
labels
label:!enhancement,!bug
would exclude items that contain the enhancement
or bug
labels
If you want to AND things, you can add multiple label:
statements, since separate items get ANDed in filters. So for instance:
label:enhancement label:bug
will show items that have both the enhancement
or bug
labels.
This rule holds for all filtering settings, not just labels. I hope this helps!
Coming back to this issue, it does sound like a great option could be to add a "only show items that..." toggle to the current exclusion lists in the same way we do for statuses:
Adding this to the TODO list 👍
Hi, this build contains a first version of this feature - each of the exclusion lists now has an dropdown that can change its behaviour to act differently, for example only showing items with specific labels. If you get a chance to try it out and have and feedback or suggestions they'd be very welcome.
Closing this as it has been sent out with the latest update, but please feel free to create issues with feedback and/or more suggestions related to this or other bits! 👍
Hi,
I'm trying to discover all the features and parts in this amazing application, but one thing that caught my attention so far was Filtering and I saw that there are two types of filtering:
I'm using Trailer in a big company which has too many labels that I can not include them one by one in feature section. I was wondering if there is a workaround here so for example I put 5 filters in the Filters page and Trailer only displays the PRs/Issues that have at least one of those 5 filters.
P.S: I've already tried putting labels like !label 1, !label 2 and also -label1, -label2 but didn't work.