-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
[Sitemap] Accept an optional icon for each value/label mapping #3809
[Sitemap] Accept an optional icon for each value/label mapping #3809
Conversation
When set by the user, the icon can be used by UIs for switch element with mappings to render a button with the icon rather than the label. Related to openhab#3441 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
It is an enhancement of the sitemap syntax and of the sitemap REST API. |
Related to openhab/openhab-core#3441 Depends on openhab/openhab-core#3809 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Related to openhab/openhab-core#3441 Depends on openhab/openhab-core#3809 Icons will not be used if icons are nbot enabled (app setting). Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@openhab/core-maintainers : would it be possible to consider this PR relatively soon to let time to each sitemap UI to implement the new feature before OH 4.1 is released? |
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.
Code lgtm (besides a small comment). May I ask you to rebase your PR to solve the merge conflicts?
...ore.ui/src/main/java/org/openhab/core/ui/internal/components/UIComponentSitemapProvider.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Rebase done solving the conflict and your comment considered. |
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!
Thank you Kai. |
Related to openhab/openhab-core#3441 Depends on openhab/openhab-core#3809 Icons will not be used if icons are not enabled (app setting). Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Related to openhab/openhab-core#3809 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Related to openhab/openhab-core#3809 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
When set by the user, the icon can be used by UIs for switch element with mappings to render a button with the icon rather than the label.
Related to #3441
Signed-off-by: Laurent Garnier lg.hc@free.fr