Skip to content

Minor code style fixes for analytics/dashboard

Ezekiel Kigbo requested to merge 373006-exec-dashboard-minor-follow-up into master

What does this MR do and why?

Addresses some minor code style suggestions from FE executive dashboard PoC (!100411 - merged) :

  • unexports some constants that are only used in a file
  • rename toMMMDD to toMonthDay
  • simplify a .reduce function
  • replace <br/> with class gl-display-block on the related <span /> tags

Screenshots or screen recordings

No visual changes

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.

Related to #373006 (closed)

Edited by Ezekiel Kigbo

Merge request reports