Present diff statistics on main Merge Request page
Problem to solve
We currently need to click on Changes tab to see how many actual changes a MR is sending. What if we presented it right in the main MR page?
Further details
Proposal
In a backend perspective, fetching diff statistics now consumes less memory and it's much faster and reliable. Therefore we can leverage that to give this information for "free" to the users upfront.
What does success look like, and how can we measure that?
- Diff statistics being presented in the main page (no need to enter Changes tab for having an idea of the diff size).
- Git timings stay low on
Projects::MergeRequestsController#show
.