Operations Dashboard: when adding project, search will only display first 20 matches, preventing me from adding the project I really want
Summary
Project search will display first 20 matches, preventing me from adding the project I really want. Our main project is (say) blah
, and we have hundreds of projects that have blah
prefix or suffix (e.g. blah-maker
). The search finds them instead of the exact match.
Steps to reproduce
Imagine gitlab-ce
is named gitlab
.
- https://gitlab.com/-/operations (or equivalent)
- Add projects
- Type in something popular, e.g.
gitlab
. - Good luck finding
gitlab
, if you have a repo under that name. You'll see non-exact matches likegitlab-runner
,gitlab-something-totally-irrelevant
, but not the exact match -gitlab
.
Results of GitLab environment info
Version: 12.0.3-ee
Anything else is irrelevant.
Proposed fixes (original)
Both should be implemented to make this work nice and sound.
- Always display direct matches first. For search term
blah, project
blahis a better result than
blah-whatever`. - Allow me to input full project name, e.g.
group/project
andgroup/sub1/sub2/project
Proposal
- Implement infinite scroll as part of gitlab-ui#390 (closed)
- Utilize the infinite scroll component to append the extra results
- Add in a scroll bar as needed
Edited by Amelia Bauerly