glance icon indicating copy to clipboard operation
glance copied to clipboard

Hyperlink monitor icons to url

Open nodesocket opened this issue 8 months ago • 4 comments

Description

Is there a way to hyperlink the icon in monitor types to the url? Not change the icon image path, but hyperlink the actual icon to url.

nodesocket avatar Mar 06 '25 02:03 nodesocket

The value for the icon can be any URL.

https://github.com/glanceapp/glance/blob/main/docs/configuration.md#monitor

Optional URL to an image which will be used as the icon for the site. Can be an external URL or internal via server configured assets. You can also directly use Simple Icons via a si: prefix or Dashboard Icons via a di: prefix:

svilenmarkov avatar Mar 06 '25 16:03 svilenmarkov

I was referring to make the icon clickable / hyperlink to the monitor url, not a path to the icon file.

nodesocket avatar Mar 06 '25 16:03 nodesocket

Ah, sorry, the description sounded like something completely different.

svilenmarkov avatar Mar 06 '25 21:03 svilenmarkov

@svilenmarkov no worries. Thinking maybe a new option to monitor that is icon-link: true. To retain current behavior defaults to false.

nodesocket avatar Mar 06 '25 21:03 nodesocket