Issue Analytics chart does not load on the first of the month
Summary
On GitLab Ultimate, the Issue Analytics chart does not load on the first of the month. (Of note: this bug was discovered on Leap Day 2024).
Steps to reproduce
On the first day of the month, navigate to Issue Analytics.
What is the current bug behavior?
The chart does not load on the first month.
What is the expected correct behavior?
The chart loads on the first of the month.
Relevant logs and/or screenshots
Possible fixes
- Although this bug seemingly only occurs on the first of the month, it will very likely happen once a date picker is added to Issue Analytics and users choose the same
From
andTo
dates. A possible fix would be to modify thegenerateChartDateRangeData
util so that it does not ever output an object with the samefromDate
andtoDate
.
Edited by Rudy Crespo