"Edit in Web IDE" button for merged MR diffs doesn't work
Description
When visiting the diffs of a MR that is already merged, you can click "Edit in Web IDE" and it'll lead to a error'ing page because the branch of the MR has been deleted.
MR Diff | Web IDE |
---|---|
Taken from this MR gitlab-com/www-gitlab-com!64056 (diffs)
Proposal
It looks like the "Edit in single-file editor" actually gracefully opens the file in master
. Maybe it knows to pick the target branch when this is already merged? Either way, we should probably do the same thing with the Web IDE.