-
Notifications
You must be signed in to change notification settings - Fork 289
Description
What
Add a "close" button to cancel individual branch filters by clicking on them, instead of having to use "Clear All" button, or looking them up in the tree.
Current state
Currently, when I want to cancel some hidden branch visibility filters, I have two options in Sourcegit:
- Click the "Clear all" button on the right side which removes all the filters
- Find the hidden branch in the left tree panel with Branches, click on the eyepatch icon and then select "Unset"
Why
None of the options above is ideal right now. Option nr. 1 - Clearing all of the filters - is not what I usually want. In most cases I want to just unset one or two branch filters, while keeping the rest in place. Option nr. 2 allows for manipulating individual filters, but takes at least two clicks to perform, not counting the time to find the branch in the tree in the first place. This is time consuming if you have a lot of branches in your repository, and the eye-patch icon is tiny, which makes it hard to click.
Proposed enhancement
I see 2 ways to do this:
- Make the filter label interactive, so that clicking on it will unset the filter
- Add a small close (x) button to the right side of every filter rule that can be clicked to unset the filter. I.e: