iantrich / restriction-card

🔒 Apply restrictions to Lovelace cards
MIT License
270 stars 23 forks source link

add animated lock #11

Closed Mariusthvdb closed 4 years ago

Mariusthvdb commented 4 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The UX doesn't clearly present the options the user has, and show the user when to act. Since the restriction card lock is near the left icon, and not the right toggle, it presents some surprise/confusion for first users..

Describe the solution you'd like A clear and concise description of what you want to happen. Would be really nice if upon clicking, the lock would 'slide' to the open position, remain so for the regulated time, and closeup back again

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. toggle-lock-entity-row custom card does this in an elegant way, fading out the lock to symbolize the toggle can be toggled

Additional context Add any other context or screenshots about the feature request here.

Feb-02-2020 17-29-58

thanks for considering

iantrich commented 4 years ago

Implemented in https://github.com/iantrich/restriction-card/releases/tag/1.2.4