Introduce user preference "collapse_diff_by_default"

What does this MR do and why?

Introduce user preference "collapse_diff_by_default"

Introduce a new User preference that would automatically collapse diff entries on load of a Merge Request's changes.

References

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading