Feature: default filters

Labels: lifecycle/rotten

Timeline

Jefferson Smith (Jefficus) opened (edited)

As a one-man shop, I'm using git-bug to track bugs, feature ideas, deployment issues, and even marketing tasks. So with about 200 items now in my bug list, the biggest problem for me is the ability to focus. I tag all my entries with the appropriate categories, and I currently filter on the fly, but as I add more categories of issues, the list of filters I need to apply to every command is getting unwieldy.

I'd like to be able to run something like: git-bug focus ui crash and have -l ui -l crash automatically applied to all future ls commands.

(Similarly, I'd also like to be able to run git-bug ignore deferred and have all entries with the "deferred" tag omitted from future listings. But that raises the question of boolean logic for filters and should be a separate issue report.)

Sascha (GlancingMind) commented (edited)

I'd like to be able to run something like: git-bug focus ui crash and have -l ui -l crash automatically applied to all future ls commands.

The WebUI on the master branch has now the feature to filter by multiple labels. Maybe this might be helpful. Otherwise for the cli, an shell alias could be created as a workaround. E.g. for Zsh an alias could look like this alias gb-focus='git-bug ls -l ui -l crash'. Then instead of invoking git-bug ls... you only use gb-focus.

(Similarly, I'd also like to be able to run git-bug ignore deferred and have all entries with the "deferred" tag omitted from future listings. But that raises the question of boolean logic for filters and should be a separate issue report.)

Just for documentation. Possible relevant Issue #99 and outdated PR #220.

github-actions (github-actions) commented

This bot triages untriaged issues and PRs according to the following rules:

  • After 90 days of inactivity, the lifecycle/stale label is applied
  • After 30 days of inactivity since lifecycle/stale was applied, the issue is closed

To remove the stale status, you can:

  • Remove the lifecycle/stale label
  • Comment on this issue

github-actions (github-actions) added label lifecycle/stale

github-actions (github-actions) commented

This bot triages issues in order to help the maintainers identify what needs attention, according to the following lifecycle rules:

  • After 90 days of inactivity, lifecycle/stale is applied
  • After 90 days of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied

This bot will not automatically close stale issues.

To remove the stale status, you can:

  • Remove the stale label from this issue
  • Comment on this issue
  • Close this issue
  • Offer to help out with triaging

To avoid automatic lifecycle management of this issue, add lifecycle/frozen.

github-actions (github-actions) added label lifecycle/rotten

github-actions (github-actions) removed label lifecycle/stale

sudoforge removed label lifecycle/dormant