-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
report: screen emulation and dpr in meta tooltip #14515
Conversation
const screenEmulation = settings.screenEmulation.disabled ? | ||
undefined : | ||
// eslint-disable-next-line max-len | ||
`${settings.screenEmulation.width}x${settings.screenEmulation.height}, DPR ${settings.screenEmulation.deviceScaleFactor}`; |
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.
Continuing our tradition of not properly localizing these strings.
`${Util.i18n.strings.runtimeSettingsBenchmark}: ${benchmarkIndex}` + | ||
`\n${Util.i18n.strings.runtimeSettingsCPUThrottling}: ${envValues.cpuThrottling}` + | ||
(axeVersion ? `\n${Util.i18n.strings.runtimeSettingsAxeVersion}: ${axeVersion}` : '')], | ||
devicesTooltipTextLines.join('\n')], |
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.
minor refactor for readability.
@@ -516,14 +516,19 @@ class Util { | |||
summary = cpuThrottling = networkThrottling = Util.i18n.strings.runtimeUnknown; | |||
} | |||
|
|||
// TODO(paulirish): revise Runtime Settings strings: https://github.com/GoogleChrome/lighthouse/pull/11796 |
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.
dead task
Fixes #14498
report:
flow: