Loading
Limit inline diff highlighting
What does this MR do and why?
Contributes to https://gitlab.com/gitlab-org/gitlab/-/work_items/632465
Problem
Inline diff highlighting is not needed for every changed line.
Solution
- Add a default-off
gitlab_com_deriskfeature flag namedlimit_inline_diff_highlighting. - Skip inline diff markers in selected cases while preserving normal line rendering.
References
Related to #632465
Rollout issue: #633028
Screenshots or screen recordings
Not applicable: this change has no standalone UI layout change.
How to set up and validate locally
- Enable
limit_inline_diff_highlightingfor a project. - Open an MR diff and check the inline diff markers.
Highlighted diffs already in the cache are unchanged until their cache entries expire or a new push creates new entries.
MR acceptance checklist
See the MR acceptance checklist.