-
Notifications
You must be signed in to change notification settings - Fork 130
UI way to filter issues by label exclusion #65
Comments
Do you have any update about that issue ?? |
Agree, this seems killer-feature |
I am doing an script that uses GitHub API and does a filter to implement that feature. |
This comment has been minimized.
This comment has been minimized.
@IGZJcMinarro Nice! See: #128 and https://github.com/skratchdot/github-enhancement-suite |
Completed agreed on the initial feature request. would be nice to be able to manage issues label with excluding some labels. |
This comment has been minimized.
This comment has been minimized.
You can do this with search right now. https://github.com/isaacs/github/search?q=pushstate+-label%3Abug&type=Issues |
Thanks! That will help out even if not the most convenient. |
A UI not selector would be a useful addition. |
thanks @bkeepers ! |
You can use the syntax
|
thank you @bkeepers!!! |
This comment has been minimized.
This comment has been minimized.
1 similar comment
+1 @sharwell |
@sharwell great tip! Would be nice to have the quick shortcut though still in the UI, so +1 still for this issue. |
This comment has been minimized.
This comment has been minimized.
6 similar comments
+1 |
+1 |
+1 |
+1 |
👍 |
👍 |
So, its debatable as to whether its a UI way, but this feature does already exist. The filter input in the upper right supports lucene syntax (or something like it). So you can simply negate a label like so
The |
@Fresheyeball, yeah @bkeepers and @sharwell pointed this out. This request is still about just having an easy way to exclude them from the labels drop down though. |
Well. When I googled it, this thread popped up, and I didnt learn that there is already a way. So I thought leaving the current solution here would be good for other googlers. |
Actually, while the -label: technique seems to work, it doesn't seem to work for milestones. |
please add this in official documentation :) |
Still, you need to have an exact entire label to use that |
👋I see the searching issues & prs help docs doesn't include this but the search syntax docs has examples of how to search for the negatives. https://help.github.com/articles/understanding-the-search-syntax/#exclude-certain-results We're looking at how we can improve the docs in that area right now. Thx! |
You can also use |
Still, it has to be the whole label. You can’t exclude all labels containing a string. |
Hi folks 👋 You can now use the alt keyboard modifier (or ⌥ on macOS) to exclude labels using the filter 🎉 https://github.blog/changelog/2019-03-05-exclude-labels-from-search/ Thanks for all you feedback on this – we really appreciate it!!! |
I think I'd count this done, but if any objection (the only 1 can think of is keyboard use, which may be awkward on mobile), please comment, & I'll reopen! 🙇 |
@TPS how to search all issues with any label, like |
AFAICT, @lukehefson How about it? |
|
We currently don't support this. @goodmind Could I ask what your use case is? |
Just wanted to compare number of issues with labels and without them |
Interesting! Thanks for letting us know 😄 Not ideal– but you could use
|
I just tried is:open is:issue -label:backlog in one of my private repo Apparently there is a bug because It returns some close issues. Without is:open, it returns all close issues. If I reopen those issues and close them again, everything works as expected. |
|
@aequasi try |
OK, so should I create a new issue for this contribution to the discussion on this issue? |
Would be good to support wildcard in exclusion. For example: -label:"component: *" |
With a label "dependencies", for example. "-label:dependencies" did the trick 👍 |
Perhaps you aren't responding WRT the request for a wildcard, but that doesn't to the trick to find issues without "component:*" labels. E.g. if I have a series of labels such as |
I just discovered this thread and oh my god does this help: https://github.com/ReikaKalseki/Reika_Mods_Issues/issues?q=is%3Aissue+is%3Aopen+-label%3A%22Can%27t+Reproduce%22+ |
Yeah, that obviously doesn't fix the wildcard situation. What might work in your case though, is the following:
I know its annoying, but you can save it as a filter in the Github notification page so you only have to type it in once. |
I think when you have more than a couple categories of labels and want to do more than a simple search and combine a couple of those, then saving shortcuts doesn't seem to scale well, but thanks for the tip. That does seem useful. |
Allowing to filter the issues that doesn't have a specific label is really powefull, especially if combined with other label filters.
It works very well with tags like "nice_to_have" "improvements" "later" that are very powerfull to help you when you start having way too many issues to handle
The text was updated successfully, but these errors were encountered: