Skip to content

Code views are not detected on merge requests on gitlab.com

Created by: lguychard

No code intelligence on code views, eg. https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22932/diffs?view=inline

This is because we detect a GitLabPageKind.Other:

image

We expect the pathname to match ${owner}/${projectName}/merge_requests, but it's ${owner}/${projectName}/-/merge_requests. This appears to be a recent change.