glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
7.49k stars 260 forks source link

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

Open samcro1967 opened 3 months ago

samcro1967 commented 3 months ago

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

er2de2 commented 3 months ago

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

samcro1967 commented 3 months ago

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

svilenmarkov commented 3 months ago

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.

samcro1967 commented 3 months ago

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.

cmeadowstech commented 1 month ago

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