-
-
Notifications
You must be signed in to change notification settings - Fork 26
Show budget violations in the graph UI #217
Description
Problem
I have warning/failing budgets on some of my builds, but looking at the server UI, there's no indication of that. Oooh.. I found it.
eg., on Lighthouse we have these two warning for master branch right now:
⚠️ : dist/lightrider/lighthouse-lr-bundle.js failed the gzip budget size limit of 1,464.84 KiB by 388.24 KiB
⚠️ : dist/lightrider/report-generator-bundle.js failed the gzip budget size limit of 48.83 KiB by 16.57 KiB
In https://lh-build-tracker.herokuapp.com/ I was looking for evidence of this and just managed to find this:
But that wasn't obvious to me without clicking around quite a bit.
Proposed solution
I was expecting to see something in the graph, especially as this budgettype is SIZE. Perhaps the the area that's above budget could get some diagonal shading to help indicate it's outside expected range?
Not sure how DELTA violations could be visualized... placing a warning/error icon at the top "point" of the area slice?
Another idea: an extra annotation could be added to the hovertooltip in these cases. That has plenty of visibility.
