Inconsistent display of MR images’ info between Changes tab, Overview tab, Commit page and Blob page
Summary
Image information is shown inconsistently between MR Changes tab, MR Overview thread, commit, and blob views. The file size unit is also different between MR, commit, and blob (MiB
vs MB
).
MR Changes tab | MR Overview thread | Commit | Blob |
---|---|---|---|
Steps to reproduce
- Open a MR/Commit/Blob of an image
- Check the information displayed
Example Project
Changes tab
andr3/meet.andr3.net!24 (diffs)
Overview tab
andr3/meet.andr3.net!24 (comment 373336813)
Commit
Blob
What is the current bug behavior?
Inconsistent display of info.
What is the expected correct behavior?
Consistent display of info.
Possible fixes
These pages are not all in Vue but they should be small enough that doesn't warrant a full refactor to Vue to make these consistent.
Potentially updating Vue component and a HAML partial should be enough if we are able to reuse them properly.