Skip to content

Conversation

@adrianaixba
Copy link
Collaborator

@adrianaixba adrianaixba commented Sep 22, 2020

follow up to #11405

breaking change, creating an object for node details

fixes #9947

@adrianaixba adrianaixba requested a review from a team as a code owner September 22, 2020 17:09
@adrianaixba adrianaixba requested review from paulirish and removed request for a team September 22, 2020 17:09
@connorjclark
Copy link
Collaborator

Which part is breaking, taking into account our "PublicArtifacts"? I think it's just one or two artifacts... could we have both the object and the toplevel properties for now, and mark an item in #11207 to remove the old way?

@connorjclark connorjclark changed the title core: add node details object core(artifacts): encapsulate node details in an object Sep 22, 2020
@adrianaixba
Copy link
Collaborator Author

Which part is breaking, taking into account our "PublicArtifacts"? I think it's just one or two artifacts... could we have both the object and the toplevel properties for now, and mark an item in #11207 to remove the old way?

@connorjclark Based on the PublicGathererArtifacts, it would be about 5 that use the changed artifacts: ImageElements, LinkElements, ScriptElements, IFrameElements, and FormElements. Is that what you were referring to?

@connorjclark
Copy link
Collaborator

connorjclark commented Sep 22, 2020

Which part is breaking, taking into account our "PublicArtifacts"? I think it's just one or two artifacts... could we have both the object and the toplevel properties for now, and mark an item in #11207 to remove the old way?

@connorjclark Based on the PublicGathererArtifacts, it would be about 5 that use the changed artifacts: ImageElements, LinkElements, ScriptElements, IFrameElements, and FormElements. Is that what you were referring to?

Yes. more than I thought

Alternatively, we can hold this entire PR until December (v7).

... FormElements

Yikes, that was a mistake, I'm going to revert this.

@connorjclark
Copy link
Collaborator

@adrianaixba, do you want to modify this PR to not be breaking so it can land now, or should we close this PR and mark #9947 as a v7 item?

@adrianaixba
Copy link
Collaborator Author

@connorjclark marking it as v7 sounds good to me

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

comprehensive job!! nice

since putting this up, the new preload-lcp-image audit landed.. and it needs some minor node. additions

and a few more comments below

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

2 nits. lgtm otherwise

nice job on this!

@paulirish paulirish merged commit 19160c2 into master Nov 20, 2020
@paulirish paulirish deleted the nodedetails-object branch November 20, 2020 22:05
@paulirish
Copy link
Member

🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈

paulirish added a commit that referenced this pull request Nov 20, 2020
paulirish added a commit that referenced this pull request Nov 20, 2020
@paulirish paulirish changed the title core(artifacts): encapsulate node details in an object core(artifacts): encapsulate node details in an object [reverted] Nov 30, 2020
paulirish added a commit that referenced this pull request Dec 7, 2020
@paulirish paulirish restored the nodedetails-object branch December 7, 2020 23:59
@brendankenny brendankenny deleted the nodedetails-object branch December 16, 2020 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

*Element artifacts should have devtoolsNodePath

5 participants