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.
TODO after %15.0
- Remove app/views/layouts/_search.html.haml
-
Remove
loadHTMLFixture
of'static/search_autocomplete.html'
Designs
- Show closed items
Is blocked by
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Takuya Noguchi changed the description
Compare with previous version changed the description
- Takuya Noguchi added bugperformance maintenancerefactor labels
added bugperformance maintenancerefactor labels
- Takuya Noguchi added product intelligence label
added product intelligence label
- Takuya Noguchi mentioned in merge request !63936 (closed)
mentioned in merge request !63936 (closed)
- Takuya Noguchi added CSS cleanup CSS refactor labels
added CSS cleanup CSS refactor labels
- Takuya Noguchi assigned to @tnir
assigned to @tnir
- Takuya Noguchi changed milestone to %14.0
changed milestone to %14.0
- Takuya Noguchi changed due date to June 19, 2021
changed due date to June 19, 2021
- Maintainer
Setting label(s) devopsenablement sectionenablement based on groupglobal search.
- 🤖 GitLab Bot 🤖 added devopssystems sectioncore platform labels
added devopssystems sectioncore platform labels
- Developer
- Changzheng Liu changed milestone to %14.1
changed milestone to %14.1
- Contributor
@tnir I saw the MR is very close to ready. I wanted to see if we think this was something that would line up for 14.1 (MR complete by 15th).
We can always move this to 14.2 if we need more time.
Thank you for your contribution!
Collapse replies - Author Developer
@JohnMcGuire Thanks for reminding me. !63936 (closed) as of now has the merge conflicts so I need to fix it to get it merged soon.
1
- John McGuire added typemaintenance label
added typemaintenance label
- John McGuire removed typebug label
removed typebug label
- 🤖 GitLab Bot 🤖 added typefeature label
added typefeature label
- Takuya Noguchi added workflowin review label
added workflowin review label
- Changzheng Liu changed milestone to %14.2
changed milestone to %14.2
- Contributor
Moving into 14.3 to continue working.
1 - John McGuire changed milestone to %14.3
changed milestone to %14.3
- Changzheng Liu changed milestone to %14.4
changed milestone to %14.4
- Contributor
Moving into the backlog until we there is time to work on it. @tnir Please ping me when it's ready to be worked on and I will move it into the active milestone.
Thanks for your contributions.
1 - John McGuire changed milestone to %Backlog
changed milestone to %Backlog
- 🤖 GitLab Bot 🤖 removed typefeature label
removed typefeature label
- Valerie Karnes added severity4 label
added severity4 label
- Justin Mandell added 1 deleted label
added 1 deleted label
- 🤖 GitLab Bot 🤖 added devopsdata stores label and removed devopssystems label
added devopsdata stores label and removed devopssystems label
- Takuya Noguchi marked this issue as related to #339348 (closed)
marked this issue as related to #339348 (closed)
- Takuya Noguchi changed the description
Compare with previous version changed the description
- Takuya Noguchi changed milestone to %15.1
changed milestone to %15.1
- Takuya Noguchi added workflowstart label and removed workflowin review label
added workflowstart label and removed workflowin review label
- Developer
@tnir we don't use label workflowstart in our planning and development process. Once we move an issue to a milestone, we use workflowready for development to indicate that someone can start working on that issue. Once it's under development, we use workflowin dev.
1 Collapse replies - Author Developer
Got it!
1
- Changzheng Liu added workflowready for development label and removed workflowstart label
added workflowready for development label and removed workflowstart label
- Takuya Noguchi changed due date to July 05, 2022
changed due date to July 05, 2022
- John McGuire changed milestone to %15.2
changed milestone to %15.2
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#8047 (closed)
mentioned in issue gitlab-org/quality/triage-reports#8047 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#8145 (closed)
mentioned in issue gitlab-org/quality/triage-reports#8145 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#8230 (closed)
mentioned in issue gitlab-org/quality/triage-reports#8230 (closed)
- John McGuire changed milestone to %Backlog
changed milestone to %Backlog
- John McGuire added workflowscheduling label and removed workflowready for development label
added workflowscheduling label and removed workflowready for development label
- John McGuire added Deliverable label
added Deliverable label
- John McGuire changed milestone to %15.3
changed milestone to %15.3
- John McGuire changed milestone to %Backlog
changed milestone to %Backlog
- John McGuire removed Deliverable label
removed Deliverable label
- Contributor
- Maintainer
Hi @JohnMcGuire, this is about removing old code... I'd like to pick this up when we remove the feature flag for the header search.
1 - Takuya Noguchi changed milestone to %15.3
changed milestone to %15.3
- Developer
I have to move this issue to %Backlog again. As I understand, we will be able to address this issue when we come to #339348 (closed). We will schedule this issue when we work on #339348 (closed).
- Changzheng Liu changed milestone to %Backlog
changed milestone to %Backlog
- Developer
@tnir, the files mentioned in the description are no longer there after rounds of changes. I am closing this issue for now. Let us know if you see issues.
- Changzheng Liu closed
closed