Type to search/filter target branch selector
When opening a git project with hundreds or branches it is tedious to find the right "target" by scrolling
Was about to open a request for this tooβ thanks to #2923 basically being done in #3677, unfortunately now I have 837 across the remotes I have set up for one of my repos π
Hello, thanks to @estib-vega, this should be now fixed. Would you mind trying it out with the latest release (0.12.4)?
@krlvi This is great! Definitely a nice QOL improvement. Seems to be 1 tiny UI bug where if you select the remote with your mouse, it doesn't update the UI. Functionally it seems to work though.
https://github.com/gitbutlerapp/gitbutler/assets/4574041/0f15ea98-be81-4940-bb53-7468b59ec0f7
Also might be nice if the cursor shows up when typing (or always reset the filter) but that is such a minor nit. It looks if you have previously typed to filter (and select), and then you type again, it will append, but otherwise it will erase the filter completely (what I would expect to happen every time).
Dang, nice catch! Sorry about that π . I think this should fix that: https://github.com/gitbutlerapp/gitbutler/pull/4102
It will reset always the filter text and correctly update the UI
A major bug: If you uncheck something that filters out all branches, it makes the filter button disappear, making it impossible to revert the filter.
Great catch, I can confirm that.
What's worse is that it survives reloads!
https://github.com/gitbutlerapp/gitbutler/assets/63622/583beb0a-a4f7-470d-95cc-e7b58535c6dd
Hey @marktoman π That's a big one indeed, nice catch! But I think that bug is unrelated to this issue.
This other PR should fix that, though: https://github.com/gitbutlerapp/gitbutler/pull/4103
That's true, putting the feedback label back, as this issue is talking about the target branch selector.
The issues mentioned here should all be resolved. Feel free to open individual issues if more issues come up.