Skip to content

action-handler#4115

Merged
iantrich merged 11 commits into
home-assistant:devfrom
iantrich:action-handler
Nov 1, 2019
Merged

action-handler#4115
iantrich merged 11 commits into
home-assistant:devfrom
iantrich:action-handler

Conversation

@iantrich
Copy link
Copy Markdown
Member

@iantrich iantrich commented Oct 23, 2019

  • Single action event that includes a action type
  • hasHold option to determine if ripple should be displayed or not
  • if no hold_action defined, a hold will trigger the tap_action

@iantrich iantrich added the wip label Oct 23, 2019
@iantrich iantrich requested a review from bramkragten October 23, 2019 18:08
@iantrich iantrich self-assigned this Oct 23, 2019
@bramkragten
Copy link
Copy Markdown
Member

Fire the tap action, as that would also happen on a normal click.

Comment thread src/panels/lovelace/cards/hui-entity-button-card.ts Outdated
Comment thread src/panels/lovelace/common/directives/action-handler-directive.ts Outdated
Comment thread src/panels/lovelace/cards/hui-entity-button-card.ts Outdated
Comment thread src/panels/lovelace/cards/hui-entity-button-card.ts Outdated
Comment thread src/panels/lovelace/common/directives/action-handler-directive.ts Outdated
@iantrich
Copy link
Copy Markdown
Member Author

@thomasloven
Copy link
Copy Markdown
Contributor

Thanks for the heads up!

@iantrich iantrich removed the wip label Oct 24, 2019
@iantrich iantrich requested a review from bramkragten October 24, 2019 16:10
@iantrich
Copy link
Copy Markdown
Member Author

iantrich commented Oct 28, 2019

@balloob I brought those haptic changes over to this PR as we discussed the other day in chat.

https://github.com/home-assistant/home-assistant-polymer/pull/4115/files#diff-da1e15d6ddae66047990a3f8c4370c81R86

@bramkragten
Copy link
Copy Markdown
Member

Please rebase, needed it in 0.101: #4152

Comment thread src/data/lovelace.ts Outdated
Comment thread src/panels/lovelace/badges/hui-state-label-badge.ts Outdated
Comment thread src/panels/lovelace/common/handle-action.ts Outdated
Comment thread src/panels/lovelace/common/directives/action-handler-directive.ts Outdated
Comment thread src/panels/lovelace/common/directives/action-handler-directive.ts Outdated
Comment thread src/panels/lovelace/common/handle-action.ts Outdated
Comment thread src/panels/lovelace/common/handle-action.ts Outdated
Copy link
Copy Markdown
Member

@bramkragten bramkragten left a comment

Choose a reason for hiding this comment

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

OK to merge after final comments are addressed

@iantrich iantrich merged commit 274c201 into home-assistant:dev Nov 1, 2019
@iantrich iantrich deleted the action-handler branch November 1, 2019 18:15
@bramkragten bramkragten mentioned this pull request Nov 8, 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.

5 participants