Skip to content

Migrate diff stats view to component

Robert May requested to merge diffs-stats-component into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Migrates the diff stats partial into a new component. This is a small part of the work to componentise the entire diff rendering process in order to improve performance.

I've shifted over the helpers used only in this view so that they're also only kept in the component.

Currently I've separated this from the pajamas subdirectory of components as I believe there will be quite a large number of diffs components and they're not strictly design elements.

Related #321299 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading