[MVC] Directory and single file pages improvements
Main goals of the redesign is to bring structure the page (title, actions in a consistent place) and to simplify the actions. The scope of these changes will be to the following pages and their respective epics: - Directory (/-/tree) https://gitlab.com/groups/gitlab-org/-/epics/13017+ - Blob (single file) (/-/blob) https://gitlab.com/groups/gitlab-org/-/epics/13016+ - Blob edit https://gitlab.com/groups/gitlab-org/-/epics/13020+ - Changes common to pages https://gitlab.com/groups/gitlab-org/-/epics/13018+ There will be changes to mobile updates in the epics as originally highlighted from https://gitlab.com/gitlab-org/gitlab/-/issues/24048+ [![CleanShot_2024-03-20_at_15.20.54](/uploads/55d0f016b6d3267ab287ed24b9e55937/CleanShot_2024-03-20_at_15.20.54.png)](https://youtu.be/4x5wZtvJgmA) :tv: [YouTube video](https://youtu.be/4x5wZtvJgmA) ## Proposed changes ### Design file :art: [Figma: Create SSOT Files - Repository](https://www.figma.com/file/eq2nf3B8MhB9xKrC0VzbPf/Repository?type=design&node-id=808%3A226698&mode=design&t=2QM9DkbQpYYKb2JL-1) ### Directory page | Current | Proposed | |---------|----------| | ![image](/uploads/d875fde15fc4bedfb4d57342e3dbc0e3/image.png) | ![image](/uploads/31cb4cfca19c0f8278a33872aab1d6ad/image.png) | ### Directory - Mobile improvements | Current | Proposed | Proposed - Multi level | |---------|----------|------------------------| | ![image](/uploads/51e5d2c95f286c1a4bcdb4c6f3744a7e/image.png) | ![update - repository - mobile root.png](/uploads/bb61ebab6d0063d47890cc0dd91aad82/update_-_repository_-_mobile_root.png){width="677" height="967"} | ![update - repository - mobile multilevel.png](/uploads/8a1a86c5928763c03cf3fd3636e4f5ad/update_-_repository_-_mobile_multilevel.png){width="675" height="964"} | ### Blob | Current | Proposed | |---------|----------| | ![image](/uploads/29f2fc60b0d3987035335d1a05ce261f/image.png) | ![image](/uploads/f5e398dd37083980fa5e10795bf11403/image.png) | ### Blob - Mobile improvements | Current - Markdown | Proposed | |--------------------|----------| | ![image](/uploads/65896143fda10c6d2bcbbcc750eca9cf/image.png) | ![update - file - mobile.jpg](/uploads/b8a3c50baf5fac3b6e3bd2c5f5a199cf/update_-_file_-_mobile.jpg) | <table> <tr> <th>Current - Code</th> <th>Proposed</th> </tr> <tr> <td> ![image](/uploads/15c76b6ffd4946c7c9575e08577a16f4/image.png) </td> <td> ![update - file - mobile-1.jpg](/uploads/1f3f0aaa657af289cfd8c07c4722d76b/update_-_file_-_mobile-1.jpg){width=720 height=1028} ![update - file - mobile-2.jpg](/uploads/b47e1dd7a620271af14c881a6548e3ac/update_-_file_-_mobile-2.jpg){width=266 height=380} </td> </tr> </table> ### Blob edit | Current | Proposed | |---------|----------| | ![image](/uploads/1bd942b47f2e996eaa3c2f448ca26225/image.png) | ![image](/uploads/a8417623ffadf67104b29cc4bd7bcbb5/image.png) |
epic