Preferences > Project overview content: Add link to Code files for non-default views
<!--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=519996) </details> <!--IssueSummary end--> # Context https://gitlab.com/gitlab-org/gitlab/-/issues/24746 `Preferences` \> `Behavior` \> `Project overview content` is a personal preference that allows users to change the content shown on the project overview page. However, if a user selects a non-default view (Activity, Readme, Wiki), no direct link to the code repository is shown. > I've just switched mine to "Readme" and now it's a nightmare to easily find the actual files. > > https://gitlab.com/gitlab-org/gitlab/-/issues/24746#note_1562768879 # Design Proposal In non-default views, add a link to the Repository in the Project Overview page sidebar. <table> <tr> <th>Preference</th> <th>Current</th> <th>Proposed</th> </tr> <tr> <td>Activity</td> <td> ![activity-current.png](/uploads/1c8de79c2c93d412d204e00fd7ae33b2/activity-current.png){width=967 height=807} </td> <td> ![activity-proposed.jpg](/uploads/6a8c5dade67be6354f2e55949bc34f11/activity-proposed.jpg) * Add Repository link to sidebar </td> </tr> <tr> <td>Readme</td> <td> ![readme-current.png](/uploads/21ca70ceb3bd3754d10c34d7852befda/readme-current.png){width=992 height=829} </td> <td> ![readme-proposed.jpg](/uploads/2e6e856c222940cd358e418137f25224/readme-proposed.jpg) * Add Repository link to sidebar * Remove "README" link from sidebar (redundant) </td> </tr> <tr> <td>Wiki</td> <td> ![wiki-current.png](/uploads/6c0565f10ade54fc6b9c2b4c3d10d8a5/wiki-current.png){width=2118 height=1763} </td> <td> ![wiki-proposed.jpg](/uploads/f07dc9b0f4feeea0d489c65c5551d9bc/wiki-proposed.jpg) * Add Repository link to sidebar </td> </tr> </table>
issue