Skip to content
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

2.0 preview #91

Merged
merged 23 commits into from
May 13, 2017
Merged

2.0 preview #91

merged 23 commits into from
May 13, 2017

Conversation

valdrinkoshi
Copy link
Member

@valdrinkoshi valdrinkoshi commented Sep 16, 2016

  • use demo-snippet in demo page
  • use custom props instead of ::shadow in demo page
  • added dom.flush in tests (needed for ShadyDom)

@notwaldorf
Copy link
Contributor

Hmm, have we decided we're doing this noink renaming in 2.0 and not in 3.0? /cc @cdata

@valdrinkoshi
Copy link
Member Author

ugh, my bad, noink renaming should belong to 3.0...updating!

@valdrinkoshi valdrinkoshi force-pushed the 2.0-preview branch 2 times, most recently from 4e064c7 to 9188025 Compare September 27, 2016 18:58
@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@@ -111,16 +105,16 @@
color: #646464;
}

.icon-button.red > iron-icon::shadow path {
Copy link
Contributor

Choose a reason for hiding this comment

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

🔥::shadow🔥 👏

bower.json Outdated
"iron-icons": "polymerelements/iron-icons#2.0-preview",
"iron-test-helpers": "PolymerElements/iron-test-helpers#2.0-preview",
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#2.0-preview",
"test-fixture": "PolymerElements/test-fixture#^3.0.0-rc.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

WCT 4 & 6 have the right versions of test-fixture now.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed 👌

@@ -208,20 +208,22 @@
done();
});
Polymer.dom(rippleContainer).appendChild(ripple);
window.ShadyDOM && window.ShadyDOM.flush();
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this should be moved into ElementMetrics's boundingRect getter? (another couple below on L226, L246) This seems like the same problem as this iron-fit-behavior thread. I hope your ShadyDOM issue gets a reasonable fix; it would be really nice if ShadyDOM wrapped stuff like this so it could flush automatically.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's reasonable to flush in the tests. I could also wait for afterNextRender, but I didn't want to bring too many changes :)

Copy link
Contributor

Choose a reason for hiding this comment

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

(from offline) A note here would be good.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added with b21b8a3

@@ -150,6 +150,8 @@
</dom-module>
<script>
(function() {
'use strict';
Copy link
Contributor

Choose a reason for hiding this comment

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

also 👏

@@ -208,20 +208,28 @@
done();
});
Polymer.dom(rippleContainer).appendChild(ripple);
// NOTE: shadydom will apply upgrades async for
Copy link
Contributor

Choose a reason for hiding this comment

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

shadydom will apply upgrades async

Isn't this because distribution is async?

Copy link
Member Author

Choose a reason for hiding this comment

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

right, "will apply distribution" is much more correct than a generic "will apply upgrades"..Updating it

@valdrinkoshi valdrinkoshi merged commit 493f3b7 into master May 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants