I pretty often use filters to find issues authored by myself or assigned to me.
But if I click to a filter, I have to wait seconds just to see a fulfilled dropdown with many users that I don't need.
Proposal
Show current user immediately in assignee and author dropdown while other members are being loaded via ajax.
This applies to the project issues list search bar, the project merge requests lists search bar, and the issue boards search bar (both the regular view, and the modal view of the issue board when you click Add issues).
@victorwu@cperessini@ClemMakesApps - This would be a good improvement to consider for the search bar work. Wanting to filter by yourself as author or assignee is common, and we could find tricks like this to make the overall experience feel faster.
Not preselected. Today, your own name is at the top of the dropdown. But you have to wait for everyone else to load. What if you could still select your name while we are loading in the other people?
@awhildy I think it can be beneficial to automatically select the first row. You currently have to hit the down arrow if you want to select a suggestion, even if you've typed something to narrow down results. If we automatically select the first option, users will be able to just press Enter in a lot of cases.
Also, I think it can make the dropdown look a little more balanced by dividing it into two sections
@victorwu I don't think this is already in the code. I think the idea is for the current user to be loaded in the dropdown immediately before the rest of the users are loaded
Thanks @winh for checking. I should have been more clear. This is for the 4 places in GitLab where we have the new filter search bar. I updated the description to indicate this.
Should we hide the No Assignee as soon as text is entered as well?
I think it should behave as one more option, so if the user starts typing no or none, it shouldn't hide. But if that's too complicated we can hide when the first character is entered.
This is for the 4 places in GitLab where we have the new filter search bar. I updated the description to indicate this.
@victorwu The original issue description contains a screenshot of the filters in the dashboard which will not be affected by this change. Are there plans to use the new filter bar in the dashboard, too?
@winh : Yes, we definitely want to bring the filter into the dashboard view. When we start getting group boards and group milestones, we will start cleaning up those areas. thanks for the catch.