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

Notification drawer #1536

Merged
merged 3 commits into from
Aug 24, 2018
Merged

Notification drawer #1536

merged 3 commits into from
Aug 24, 2018

Conversation

jeradM
Copy link
Member

@jeradM jeradM commented Aug 3, 2018

Needs work still, but wanted some eyes on this. Handles persistent_notifications and configurator entities as-is, but should be easy to modify to support other types, events, etc.

}

_openChanged(open) {
clearTimeout(openTimer);
Copy link
Member

Choose a reason for hiding this comment

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

I have not looked at all the code but this is wrong. This should be an instance variable.


connectedCallback() {
super.connectedCallback();
this.addEventListener('close-notification-drawer', this._debouncedNotificationsClose);
Copy link
Member

Choose a reason for hiding this comment

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

This is overkill. Just have the button use a 2-way databinding to the notificationDrawer open ?

@jeradM jeradM changed the title WIP: Notification drawer Notification drawer Aug 13, 2018
@balloob balloob merged commit 02edbce into home-assistant:master Aug 24, 2018
@ghost ghost removed the in progress label Aug 24, 2018
@balloob
Copy link
Member

balloob commented Aug 24, 2018

I did not realize that the PR was ready for review, looks good !

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 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