-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When selecting a metric that has no data the Dashboard shows the previous data (histogramList[0] is undefined) #606
Comments
I would like to work on this issue. From initial triaging, I could locate the part of code which will display the "no data" message. Below is the part of code that I found in the function displaySingleHistogramSet in dist.js: telemetry-dashboard/new-pipeline/src/dist.js Line 1065 in 7d7c4a0
Could you please confirm if I am on the right track? Also, how could I test my fixes? Thanks! |
Sorry for the delay, I was out for the week. Yes, that is exactly the "no data" message we hope to trigger! You can test your fix by loading the Measurement Dashboard and choosing |
Unassigning due to inactivity. |
Fixes mozilla#606 Fixes mozilla#623 Regression from mozilla#578
In the event that a metric has no data to show (like Nightly 66's DEVTOOLS_FLEXBOX_HIGHLIGHTER_TIME_ACTIVE_SECONDS when "sanitize data" is true), then we error to the log
And the view remains on the previous data, whatever it was. We -do- have the ability to show "no data for these options" views via metricsgraphics, so we should probably do that instead of silently throwing a fit.
The text was updated successfully, but these errors were encountered: