Investigate why multiple GraphQL requests are made when navigating the file tree browser
<!--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>
- [Work on this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=543755)
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=543755)
</details>
<!--IssueSummary end-->
### Description
Sometimes multiple GraphQL requets are made when navigating the File tree browser
We need to check if some of these requests are unecesarry and reduce it if possible.
{height=500}
issue