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

Converted paper-dialog to ha-paper-dialog #3055

Merged
merged 7 commits into from Apr 4, 2019

Conversation

yosilevy
Copy link
Contributor

@yosilevy yosilevy commented Apr 3, 2019

Maybe ha-dialog should be placed in top level components folder. But that's going to be a lot of work...

@ghost ghost assigned yosilevy Apr 3, 2019
@ghost ghost added the in progress label Apr 3, 2019
import "@polymer/paper-icon-button/paper-icon-button";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../../src/components/ha-markdown";
import "../../src/resources/ha-style";
import "../../src/panels/lovelace/components/dialog/ha-dialog";
Copy link
Member

Choose a reason for hiding this comment

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

this shouldn't be part of the lovelace components but instead be part of src/components and name should match the component: ha-paper-dialog.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See my comment at the top. Knew you were going to say that...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@@ -428,7 +428,7 @@ export class HuiEditCard extends LitElement {
}

@media (min-width: 1200px) {
paper-dialog {
ha-paper-dialog {
Copy link
Member

Choose a reason for hiding this comment

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

This seems weird. If there is no paper dialog on this page, we can remove this CSS Declaration ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Oh it was broken before 😛

@balloob balloob merged commit 8c7cdda into home-assistant:dev Apr 4, 2019
@ghost ghost removed the in progress label Apr 4, 2019
@yosilevy yosilevy deleted the ha-paper-dialog branch April 5, 2019 03:29
@balloob balloob mentioned this pull request Apr 10, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 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

3 participants