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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polymer 2 prepare #309

Merged
merged 14 commits into from Jun 18, 2017
Merged

Polymer 2 prepare #309

merged 14 commits into from Jun 18, 2017

Conversation

balloob
Copy link
Member

@balloob balloob commented Jun 18, 2017

This is part of #308: the road to Polymer 2.

  • No longer depend on "paper-elements" and "iron-elements" but instead depend on explicit packages.
  • Updates dependencies to hybrid versions.
  • Updates code to use slots instead of attributes.
  • Few fixes for bugs that surface when switching to Polymer 2 (bug fixes work on Polymer 1 too)

Note that after this PR, we are still running Polymer 1. However, since it's all hybrid 1 + 2 components, it should work when we switch to Polymer 2. Since there are some things handled differently this is not 100% smooth. After this PR is merged, the cycle will look like: update Polymer 2, find bug, fix bug in Polymer 1 branch. Once no more bugs under Polymer 2 -> switch 馃憤

@mention-bot
Copy link

@balloob, thanks for your PR! By analyzing the history of the files in this pull request, we identified @justweb1, @andrey-git and @turbokongen to be potential reviewers.

Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:


Oops! Something went wrong! :(
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-html is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.
2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm i eslint-plugin-html@latest --save-dev
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.

Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:


Oops! Something went wrong! :(
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-html is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.
2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm i eslint-plugin-html@latest --save-dev
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.

@balloob
Copy link
Member Author

balloob commented Jun 18, 2017

I have been playing with this, including in compiled mode and all still seems to work fine. Merging this.

Note: this might require some custom UI to be updated to use slots instead of class names.

@balloob balloob merged commit bb83687 into master Jun 18, 2017
@balloob balloob deleted the polymer-2-prepare branch June 18, 2017 18:29
@bramkragten bramkragten mentioned this pull request Feb 12, 2020
tkdrob pushed a commit to tkdrob/frontend that referenced this pull request Apr 20, 2021
* Add info about new widget and senor for android

* Add info about newly added sensors
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants