Add special filters to search bar

There have been several requests to include special filter types in the new search bar. Some examples:

The solution we are going to be adopting is to introduce one more filter type to the main filters menu that controls yes/no attributes. My original proposal is to use the keyword flag. Some examples based on the issues below:

  • flag:starred
  • flag:confidential
  • flag:has_closing_mr

In this issue I want to look at possible future filters that we may introduce so we can decide on a good keyword to use. I'll list some possible filters and proposals for keywords

Filter Flag Has Is
Starred issues flag:starred has:star is:starred
Confidential issues flag:confidential is:confidential
Issue has closing MR flag:has_closing_mr has:closing_mr
Open/Closed issues flag:is_open has:open_status is:open
Issues I subscribe to flag:subscribed has:subscription
Issue that have a due date flag:has_due_date has:due_date is:due
Issues that have comments/upvotes flag:has_comments has:comments
Merge Requests with successful pipelines flag:pipeline_succeeded has:successful_pipeline
Projects that are public/internal/private flag:is_public is:public

flag seems to be adaptable to most situations, but I'm not sure it feels natural with many of those examples. Does anyone have any suggestions for other keywords?

cc @tauriedavis @victorwu

Open / Closed / All tabs