WIP: Add functionality to collapse outdated diff comments regardless of discussion resolution
requested to merge AshleyDumaine/gitlab-ce:36994-toggle-for-automatically-collapsing-outdated-diff-comments into master
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)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database -
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Closes #36994 (closed)
Edited by username-removed-726483