Polymer / shop

The Shop app
https://shop.polymer-project.org/
986 stars 494 forks source link

Is https://shop.polymer-project.org/ up to date? #142

Closed ghost closed 6 years ago

ghost commented 7 years ago

It looks like https://shop.polymer-project.org/ is out of date to my untrained eye, due to the import of polymer{,-mini,-micro}.html instead of polymer{,-element}.html.

Since it's difficult to find examples that advertise the use of Web Components 1.0 or Polymer 2.0, it's unsettling that this one appears to be out of sync with the repository, and makes it all the more difficult to make the case to adopt Polymer 2.0.

I can (and likely will) setup my own server to test this out with, but there should definitely be a URL someone can visit to quickly see Web Components 1.0 working live.

frankiefu commented 7 years ago

Sorry about the delay. And as we are speaking we are working on getting the latest Shop deploy to the hosting server. We hit a few hiccups like getting differential serving working properly. Hopefully we will get things resolved soon. And with Polymer Summit coming soon the team is busy preparing and that will contribute some delays. But we will try to get that asap. In the meantime please use this test server which should have up to date stuffs for testing: https://shopping-5f1dc.firebaseapp.com/

ghost commented 7 years ago

Much appreciated, I understand how differential serving could be a pain to get right. I definitely appreciate the temporary Firebase URL in the meantime.

mvuksano commented 7 years ago

I've also ran into this issue and it's been happening for a while. Not sure what the root cause is though. This may give some clues - if you run Polymer.telemetry.registrations.forEach((reg) => console.log(reg.is)) in Firefox you will notice that iron-request is not registered at all and if you run the same command in chrome, iron-request shows up correctly. I'm not really sure why all the elements would register besides iron-meta.

Also there's an error in Firefox when you try loading. See screenshot below: image

keanulee commented 6 years ago

https://shop.polymer-project.org/ has now been updated to use Polymer 2 and prpl-server-node. The server configuration required to deploy to Google App Engine Flexible environment can be found in this branch: https://github.com/Polymer/shop/tree/app-engine-node