Add `Repository` menu to project sidebar refactor
What does this MR do?
This MRs moves the Repository
menu from the HAML file to the new project sidebar refactor.
Screenshots (strongly suggested)
Before the MR | After the MR |
---|---|
There are two changes related to HTML in the before and after screenshots. The first qa
elements. Because we're generating dynamically the elements, we cannot use the static check anymore, so we're using Dynamic element selection.
The second change is related to menu items. In the former code, they aren't wrapped inside <span>
tags, and this is an inconsistency because any other menu item of any other menu is wrapped within that tag (https://gitlab.com/gitlab-org/gitlab/blob/master/app/views/layouts/nav/sidebar/_project_menus.html.haml#L235).
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have not included a changelog entry because is a tooling change.
-
-
Code review guidelines -
Merge request performance guidelines -
Style guides -
Separation of EE specific content
Related to #326427 (closed)
Edited by Francisco Javier López (ex-Gitlab)