Code Review Analytics shows no data for MRs in review for less than an hour
Summary
When MR is in review for less than an hour UI at Code Review Analytics page doesn't show any data.
(Summarize the bug encountered concisely)
Steps to reproduce
- Open new MR
- Post a comment on it soon after
- Check Code Review Analytics page
(How one can reproduce the issue - this is very important)
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version)
What is the current bug behavior?
API returns 0 hours (which is correct), but UI ignores the data. And treats it as null
What is the expected correct behavior?
UI shows "< 1 hour" or "less than an hour" or any other indicator that clearly communicates to the user that MR has review started and it happens to be less than 1 hour.