You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Selecting repository does not clear the filter text #4273
@saschanaz@justalemon thanks for the feedback. This is a change we made in #2571 and this case was mentioned:
Speaking entirely for myself, when I cmd-T, it's to switch repositories. Keeping the filtered text is kinda the opposite of what I want.
And we settled on a compromise
Or how about after CMD-T the focus is put on the filter text and the current text is selected? That won't slow you down if you want to type something else, yet will make it easier for me by having the current filter persisted.
Hmm, how about creating a separate tab for that purpose? "all repositories" and "search"?
A user searches by a filter text. "search" tab is then automatically selected
The user selects a repo
The repo list flyout closes
"all repositories" tab opens when the user clicks "Current repository" again, and the user can manually select "search" tab to access previous search result
Or maybe adding a configuration option like "Save the repository search after choosing a repository".
This might be the necessary "escape hatch" to implement, given we've had mixed feelings about this for a while. Thoughts @desktop/core @desktop/comrades?
I'm 👎on adding a setting for this behavior. I think the compromise we came up with is still valid, and I don't consider hitting backspace to clear the field disruptive to workflows.
A compromise is a compromise, I hate when I click "Current repository" with my mouse and then it forces me to tap my keyboard button. My local repositories have their unique names, no need to keep search results.
I agree with @saschanaz from the perspective that the current experience is optimized for those that navigate this flow via the keyboard at the expense of the person using the mouse. If I have previously filtered my repositories and successfully found the repo I wanted and want to find another one but don't remember the name of it, I have to click the tiny target of the ❌ to clear the filter before continuing. This is a much more cumbersome flow than it is in the keyboard scenario.
Reacted by Kagami Sascha Rosylight and Hannele Ruiz
We're looking at this whole area in the context of #6460, so I'm going to close this in favor of that issue. Based on our research thus far, it seems reasonably likely that we'll leave the existing compromise in place as it seems to work reasonably well for most folks. But I wanted us to have context on this issue as we look at that one. Thanks everyone for weighing in!
Activity
justalemon commentedon Mar 18, 2018
I can confirm that.
shiftkey commentedon Mar 18, 2018
@saschanaz @justalemon thanks for the feedback. This is a change we made in #2571 and this case was mentioned:
And we settled on a compromise
saschanaz commentedon Mar 19, 2018
Hmm, how about creating a separate tab for that purpose? "all repositories" and "search"?
justalemon commentedon Mar 19, 2018
Or maybe adding a configuration option like "Save the repository search after choosing a repository".
shiftkey commentedon Mar 25, 2018
@saschanaz I don't think it's worth implementing full search experience here, but I'll keep it in mind for the future.
@justalemon
This might be the necessary "escape hatch" to implement, given we've had mixed feelings about this for a while. Thoughts @desktop/core @desktop/comrades?
donokuda commentedon Mar 28, 2018
I'm 👎on adding a setting for this behavior. I think the compromise we came up with is still valid, and I don't consider hitting backspace to clear the field disruptive to workflows.
saschanaz commentedon Mar 29, 2018
A compromise is a compromise, I hate when I click "Current repository" with my mouse and then it forces me to tap my keyboard button. My local repositories have their unique names, no need to keep search results.
lee-dohm commentedon Mar 29, 2018
I agree with @saschanaz from the perspective that the current experience is optimized for those that navigate this flow via the keyboard at the expense of the person using the mouse. If I have previously filtered my repositories and successfully found the repo I wanted and want to find another one but don't remember the name of it, I have to click the tiny target of the ❌ to clear the filter before continuing. This is a much more cumbersome flow than it is in the keyboard scenario.
billygriffin commentedon Feb 28, 2019
We're looking at this whole area in the context of #6460, so I'm going to close this in favor of that issue. Based on our research thus far, it seems reasonably likely that we'll leave the existing compromise in place as it seems to work reasonably well for most folks. But I wanted us to have context on this issue as we look at that one. Thanks everyone for weighing in!