Skip to content

WIP: Add functionality to collapse outdated diff comments regardless of discussion resolution

What does this MR do?

Add repository toggle for automatically resolving outdated diff discussions.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

In an MR, GitLab will only collapse comments on diffs that have been marked as resolved unlike on GitHub where they are automatically collapsed when the diff becomes outdated. There is no setting in repositories to toggle this functionality. This makes sense for when developers address the comments through code in a follow-up commit thus outdating the comment(s) on the previous commit. GitLab once behaved like this but the feature was removed.

Screenshots (if relevant)

automatically_resolve_outdated_diff_discussions

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #36994 (closed)

Edited by username-removed-726483

Merge request reports