Skip to content

Adjustments related to DiffNotes on diffs outside of a project's main repository

What does this MR do?'

This turns Notable::RESOLVABLE_TYPES into a Notable.resolvable_types. That allows us to override it in EE.

It also gets DiffNote#repository from a noteable in DiffNotes, which is a first step in decoupling a DiffNote from a project's main repository.

It is the CE backport of the changes in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13703

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports