[Enhancement] Add onClick (link) on the dummy widget

In HABPanel, if the user wants a ‘clickable’ link, it has to be either a template or a custom widget. This enhancement will allow the dummy widget to be clickable.

User will be able to set the following options:
URL - external URL
Dashboard - a dashboard panel

For the URL selection, user can choose where the target is:
self - current window
new tab - opens a new tab
new window - opens a new window

dashboard type links are always implicitly set as ‘self’

While a ‘dummy’ widget may work, in the future, we might as well add an onclick to the other widgets such as the Label, Clock, Image, etc

Pull Request:

1 Like