Search on navbar has multiple technical debts
Summary
Global search on navbar has a lot of technical debts in frontend. e.g., deep nesting, unused HTML snippets etc. Most technical debts were introduced in gitlab-foss!3212 (merged) in %8.7 and have been left untouched since the author/reviewer @asumaran @jschatz1 have been not in the Team for a while.
Steps to reproduce
Use global search.
What is the current bug behavior?
TBA
What is the expected correct behavior?
TBA
Relevant logs and/or screenshots
See some from previously merged MRs gitlab-foss!3212 (merged) etc.
Output of checks
This bug happened on GitLab.com as of %14.0 through %14.10 but does not any more on %14.10 and later.
%15.0
TODO after-
Remove app/views/layouts/_search.html.haml -
Remove loadHTMLFixture
of'static/search_autocomplete.html'
Edited by Takuya Noguchi