Design: Unify tree navigation designs across products
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=550136) </details> <!--IssueSummary end--> # Context There are several areas of GitLab that use tree navigation in addition to traditional navigation as a list. Tree navigation allows users to maintain context while navigating nested directories with several layers. It is standard in code development tools. However, tree navigation elements currently appear differently across 3 different GitLab products. While we should prioritize what's best for users in specific workflows, there may be an opportunity to unify the designs a bit more for design system consistency. <table> <tr> <th> Source Code \> Repository </th> <th> Merge request \> Changes tab </th> <th>Security Inventory</th> </tr> <tr> <td> ![1._directory__collapsed.jpg](/uploads/eb63e1565aa31aba7577b306028f7cc3/1._directory__collapsed.jpg){width=268 height=190} ![1._directory__expanded.jpg](/uploads/5bc9f33596e97baab3ee4745d6f8740f/1._directory__expanded.jpg){width=771 height=546} Currently in development https://gitlab.com/groups/gitlab-org/-/epics/17781 </td> <td> ![mr-tree.png](/uploads/cd6a3d0cae61483bea8af08c8edf9e9a/mr-tree.png){width="994" height="824"} [Example](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/193200/diffs) </td> <td> ![security.png](/uploads/c7a9e573b73c37231358e28d90804b48/security.png){width=1186 height=782} [Example](https://gitlab.com/groups/gitlab-org/-/security/inventory) </td> </tr> </table> # Design proposal ### **_TBD_**
issue