Skip to content

core: remove optimalValue#3774

Merged
brendankenny merged 1 commit intomasterfrom
remove_optimal
Nov 10, 2017
Merged

core: remove optimalValue#3774
brendankenny merged 1 commit intomasterfrom
remove_optimal

Conversation

@patrickhulce
Copy link
Collaborator

@patrickhulce patrickhulce commented Nov 7, 2017

closes #2812

I'd normally oppose removing this without a major version bump, but the value was almost always an english string like < 1,000 rather than a number that people likely relied on, we also just removed the similarly useless category property without a major bump so blocking this seems inconsistent

I kept the existing target references in dom-size audit since those are explicitly in the description as to why you care and its just for making sense of the data in the cards. Still removed the overall optimalValue display.

| extendedInfo | `Object` | Extra information found by the audit. The structure of this object varies from audit to audit and is generally for programmatic consumption and debugging, though there is typically overlap with `details`. *WARNING: The structure of this object is not stable and cannot be trusted to follow semver* |
| manual | `boolean` | Indicator used for display that the audit does not have results and is a placeholder for the user to conduct manual testing. |
| informative | `boolean` | Indicator used for display that the audit is intended to be informative only. It cannot be passed or failed. |
| category | `string` | No longer used. *WARNING: Deprecated, will be removed in Lighthouse 3.0* |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should've been cleaned up when category was removed, no references to optimalValue since we didn't want anyone to use it :)

Copy link
Contributor

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

target: > LGTM

🔔 🙌 🎉

@brendankenny brendankenny merged commit 76b8807 into master Nov 10, 2017
@brendankenny brendankenny deleted the remove_optimal branch November 10, 2017 21:44
christhompson pushed a commit to christhompson/lighthouse that referenced this pull request Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: How is the optimal and the median value calculated?

2 participants