-
Notifications
You must be signed in to change notification settings - Fork 45
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
Make ad-render-blocking-resources audit have display mode binary
instead of numeric
#123
Conversation
…thouse-plugin into asi-adsense
@@ -74,7 +74,7 @@ class AdRenderBlockingResources extends RenderBlockingResources { | |||
id: 'ad-render-blocking-resources', | |||
title: str_(UIStrings.title), | |||
failureTitle: str_(UIStrings.failureTitle), | |||
scoreDisplayMode: 'numeric', | |||
scoreDisplayMode: 'binary', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also toyed with removing line 122 below, but it also did not make any visual difference.
Yeah, I don't think it makes any difference these days, more or less vestigial from when we wanted different indicators for audit state based on if it was a pass/fail or numerically-scored audit. Now its only use is maybe giving context on what range of scores are possible from an audit...but I don't know of anyone who actually uses binary/numeric for that. |
Ok, thanks Brendan! I'll move it from a Draft PR to a real one in that case. |
I made the change, but there is no longer any visual difference between the two display modes, due to the somewhat-recent Lighthouse UI refresh.
Fixes #90