glance icon indicating copy to clipboard operation
glance copied to clipboard

Feature Request - Change bookmark to an authorized link from red to yellow

Open samcro1967 opened this issue 1 year ago • 5 comments

Would like to see the status symbol changed from the red caution icon to a yellow caution icon when a site is reachable, but unauthorized access is detected. Will then make it quicker to scroll through a page of links and determine if any are unreachable distinguishing them from sites that are reachable, but not authorized based on color.

From: image

To something like this: image

samcro1967 avatar Jun 21 '24 15:06 samcro1967

in your glance.yml add section theme and add value negative-color: 52 99 56

er2de2 avatar Jun 21 '24 17:06 er2de2

That changes both error and unauthorized to yellow. Looking to be able to have error be red and unauthorized be yellow.

samcro1967 avatar Jun 21 '24 19:06 samcro1967

Hey,

I did initially plan on having a 3rd indicator color for things between positive and negative, such as notice or warning color, though ultimately decided against it for a couple of reasons.

For this use case what might make more sense is having the option to request a different URL to the one that the link points to so that you can bypass authorization and check status for the login page while still going to the home page when clicking on the link.

svilenmarkov avatar Jun 24 '24 15:06 svilenmarkov

That will work for one of my use cases where an app does have a public accessible healthcheck page. Some other apps have an API that can also be used to perform a healthcheck. So an alternate link to check the health makes sense.

It does not appear that any of the hardware (router, switch, NAS, etc.) I have setup in monitor have either of those 2 options so it would not help in that scenario.

samcro1967 avatar Jun 24 '24 16:06 samcro1967

As an alternative would it be possible for an additional property that allows alternative status codes? Sort of like how Dashy does it? https://dashy.to/docs/status-indicators/#allowing-alternative-status-codes

cmeadowstech avatar Aug 22 '24 23:08 cmeadowstech