-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Extend "iconcolor" attribute to all sitemap elements #3403
Conversation
This attribute was already available in syntax for the Image element but was probably not used by any UI. It is now available for any sitemap element and allows defining a color for the widget icon based on conditional statements on the item value. Signed-off-by: Laurent Garnier <lg.hc@free.fr>
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.
Thanks, I have left one comment. Otherwise LGTM.
...rest.sitemap/src/main/java/org/openhab/core/io/rest/sitemap/internal/PageChangeListener.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
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.
LGTM, thanks!
For information |
Refs openhab/openhab-core#3403. Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
* iconcolor attribute added to all sitemap elements This attribute was already available in syntax for the Image element but was probably not used by any UI. It is now available for any sitemap element and allows defining a color for the widget icon based on conditional statements on the item value. Signed-off-by: Laurent Garnier <lg.hc@free.fr> GitOrigin-RevId: f2b8fa7
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/android-app-iconcolor-on-sitemap-is-buggy/149012/15 |
Support for that field was added in openhab/openhab-core#3403 Fixes openhab#3466 Signed-off-by: Danny Baumann <dannybaumann@web.de>
Support for that field was added in openhab/openhab-core#3403 Fixes #3466 Signed-off-by: Danny Baumann <dannybaumann@web.de>
This attribute was already available in syntax for the Image element but was probably not used by any UI.
It is now available for any sitemap element and allows defining a color for the widget icon based on conditional statements on the item value.
Signed-off-by: Laurent Garnier lg.hc@free.fr