Show how many commits behind an MR is when merge controls are visible
What does this MR do and why?
I added the ability to see how many commits behind an MR is before you click Merge in !98712 (merged).
However, there's another scenario where you "can merge" but it's a different button, which renders a whole different set of components.
This is referred to - confusingly - as shouldShowMergeControls
. The screenshots in the above MR also show merge controls, but... not... the... same... merge controls.
This MR adds the commits behind count for other merger types, as intended in #368295 (closed).
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
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.
-
I have evaluated the MR acceptance checklist for this MR.