-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add new options to manage the header history icon #7
Conversation
cant wait to test this, thank you!
Because that would make sense? tbh, it's a bit confusing to me having both. But maybe as a dev you see the added value of having a button to hide and a section to hide (while both being for history) |
Please, test it deeply. As you see, it could be seen as just three options but it introduces a lot of code and complexities.
No, hiding the history doesn‘t hide the button because that button also contains the logbook panel, if one hides both then the button hides (if one uses
Well, that was you requested earlier ;) Normally, I do not like the "auto" things (better if it is through an option) but anything is possible. It is your call. Just let me know what would be the best way and I can implement it here in this pull request. |
found an issue:
doesnt work for sun. Nor does:
|
Makes sense to me, which one would you choose?
I forgot about it, no need to, it should be easy to implement.
I need to check how the layout is on that entity, maybe it is different. |
I don't see anything weird with the layout, I need to check the properties of the elements in those entities. |
@Mariusthvdb, |
Also, the |
nice! can confirm that using the new hide option for the icon like this:
removes the icon for all groups and the sun.sun correctly! so cool this, thanks for your effort! I take it this is also changed to use the new
btw, what was the fix for it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all seems well now, so marking approved!
hurray
Yes |
Make a release, so I can submit a pull request to add the plugin in HACS. The sooner, the best. |
consider that done, please check |
This pull request adds new options to manage the history icon on the header of more-info dialogs:
hide_header_history_icon
Hides the header history icon.
unhide_header_history_icon
Unhides the header history icon.
auto_hide_header_history_icon
Hides the header history icon automatically if the history and logbook have been hidden form that entity.