kuma-gui icon indicating copy to clipboard operation
kuma-gui copied to clipboard

GlobalCP Health Card: Make numbers of things more clear/explanatory

Open johncowen opened this issue 1 year ago • 1 comments

Description

In the below screenshot we use various colors for certain numbers, but its not super clear why.

Maybe we should use tooltips or similar to explain what these numbers are/why they are colored.

Screenshot 2024-06-20 at 16 31 35

johncowen avatar Jun 20 '24 15:06 johncowen

On re-reading this again, do we even want to use coloring here? Does it actually "mean" anything?

Looking at the code it looks to use a simple ratio of "if less than 50% are online use red, otherwise if less than 100% are online use yellow".

The thing is, who's to say that my cluster is only "in danger" if less than half of my services are online? Surely I might want to be "in danger" if any single service is not online?

Alternatively, if I have 5 services with 10 dataplanes/instances, I'm probably running perfectly fine if half of my dataplanes/instances are offline because each still has 5 instances available.

I'd almost be fine using (or something similar)

Zones             | Meshes | Services       | Data Plane Proxies
2 of 11 online    | 93     | 1 of 6 online  | 17 of 23 online

We have the space to do that here.

Anyway mainly food for thought.

johncowen avatar Sep 02 '24 13:09 johncowen