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>
{width=967 height=807}
</td>
<td>

* Add Repository link to sidebar
</td>
</tr>
<tr>
<td>Readme</td>
<td>
{width=992 height=829}
</td>
<td>

* Add Repository link to sidebar
* Remove "README" link from sidebar (redundant)
</td>
</tr>
<tr>
<td>Wiki</td>
<td>
{width=2118 height=1763}
</td>
<td>

* Add Repository link to sidebar
</td>
</tr>
</table>
issue