In #4069 the MainUI Thing overview list applies a "blue dot" decorator to the online status badge of any Thing that has a non null / non blank online status description text.
There has been some discussion here openhab/openhab-addons#20758 (comment) and here openhab/openhab-addons#20758 (comment) about this.
The original PR applies the "blue dot" in a binary manner .. if there is a non null / non blank online status description text then it is applied, and otherwise not. By contrast @lsiepel feels that the "blue dot" may be confusing, and he is suggesting that instead of having a single blue decorator mark, there should perhaps be several possible decorator styles .. perhaps as follows:
- DecoratorStyle.NONE - never apply a decorator even if there is an online status description text
- DecoratorStyle.INFORMATION - use existing (and therefore default) blue dot decorator
- DecoratorStyle.WARNING - use (say) an amber decorator
- DecoratorStyle.CRITICAL - use (say) a red decorator
So I am opening this issue to see if we can get some consensus among developers and maintainers on whether the decorator should be a) simply a blue dot dependent on the presence/absence of an online status description text, of b) something more sophisticated. (Note the latter would require some changes in OH core and OH webui, albeit these are relatively easy to do).
This discussion is related to openhab/openhab-core#5587 which discusses the circumstances under which an online status description text may/shall be applied.
In #4069 the MainUI Thing overview list applies a "blue dot" decorator to the online status badge of any Thing that has a non null / non blank online status description text.
There has been some discussion here openhab/openhab-addons#20758 (comment) and here openhab/openhab-addons#20758 (comment) about this.
The original PR applies the "blue dot" in a binary manner .. if there is a non null / non blank online status description text then it is applied, and otherwise not. By contrast @lsiepel feels that the "blue dot" may be confusing, and he is suggesting that instead of having a single blue decorator mark, there should perhaps be several possible decorator styles .. perhaps as follows:
So I am opening this issue to see if we can get some consensus among developers and maintainers on whether the decorator should be a) simply a blue dot dependent on the presence/absence of an online status description text, of b) something more sophisticated. (Note the latter would require some changes in OH core and OH webui, albeit these are relatively easy to do).
This discussion is related to openhab/openhab-core#5587 which discusses the circumstances under which an online status description text may/shall be applied.