Skip to content

Convert gallery elements to LitElement#8088

Merged
spacegaier merged 4 commits intohome-assistant:devfrom
spacegaier:gallery-lit-element
Jan 5, 2021
Merged

Convert gallery elements to LitElement#8088
spacegaier merged 4 commits intohome-assistant:devfrom
spacegaier:gallery-lit-element

Conversation

@spacegaier
Copy link
Copy Markdown
Member

Breaking change

Proposed change

Convert all gallery elements (excluding the generic outer elements) to LitElement.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@spacegaier spacegaier merged commit cb2c6d8 into home-assistant:dev Jan 5, 2021
@spacegaier spacegaier deleted the gallery-lit-element branch January 5, 2021 12:29
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2021
}

customElements.define("demo-hui-entity-filter-card", DemoFilter);
customElements.define("demo-hui-entity-filter-card", DemoEntityFilter);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This PR is printing a lot of errors because each element is being defined twice now. Once with the @customElement decorator and once with the define method at the bottom of each file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

4 participants