Merge Request Discussions - Customize display line count
Created on behalf of a GitLab Premium customer Zendesk ticket(internal).
Problem to solve
When creating a merge request discussion, whether a single or multi-line comment, it will display up to 15 lines above the intended target diff lines. Depending on the use case, the extra lines may not be relevant and remove focus from the intended selection.
Proposal
Allow the number of lines to be customizable at some level(Instance/Group/Project/Creator).
Related code: truncated_diff_lines
Example project
https://gitlab.com/gitlab-gold/jiocastillo/rust-test/-/merge_requests/2