Follow-up: Navigating back from the edit file to the merge request should take user back to the file diff
The following discussion from !227015 should be addressed:
- [ ] `@mle` started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/227015#note_3161475179): (+1 comment)
> **suggestion** When navigating back to the merge request, it would be nice if we could go back to the specific file diff that you initiated the action from
>
> The link exists as it would be similar to the one that exist when you get the link from the browser while on the Changes tab
> {width=415 height=259}
This was not something possible at the time https://gitlab.com/gitlab-org/gitlab/-/merge_requests/227015#note_3163083462
>>>
That won't be possible at the moment. When navigating to the single file editor, we only pass the merge request iid as an additional param in the URL.
I think we can change this, when the ~"rapid diffs" is enabled in merge requests, as they will have "_Copy link to the file_" option that we can pass to the blob edit header.
>>>
issue