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

Feature: Add legend to chart, timestamps to heartbeat bar

Open jwgatt opened this issue 2 years ago • 4 comments

This completes one of the tasks for #2521

Added legend, title and labels to the graph on the status page.

  • User interface (UI)

image

jwgatt avatar Jan 05 '23 03:01 jwgatt

image

FYI the same bar chart also handles pending and maintenance status.

chakflying avatar Jan 06 '23 04:01 chakflying

The time on the right displays when the monitor started, and the time on the left counts the current duration of uptime. These should make the beats bar more user friendly. Screenshot from 2023-01-08 10-59-07

jwgatt avatar Jan 08 '23 10:01 jwgatt

For http it is possible to print the return status code legend or type of error ?

mabed-fr avatar Jan 09 '23 15:01 mabed-fr

For http it is possible to print the return status code legend or type of error ?

Could you clarify a bit, I'm not sure I understand. There is a status code printed on the table below the chart if that's what your looking for.

jwgatt avatar Jan 10 '23 04:01 jwgatt

Maybe you could be implementing all the stuff that's in the backend and the admin/owner of the status page can enable to show the content or not. Of course for every monitor that's in the status page.. That would be nice to.

you could theoretically put a dropdown arrow at the end of the bar and if you press it, the status will open. kind of like an accordion. and inside there you can display the ping and the availability etc. below that just the chart. and down there stop the starus display if there is a problem right now. As you have it in the backed. the picture follows now.

Screenshot 2023-01-15 000659

i hope u understand me and know what i mean =)

WaiserHai avatar Jan 15 '23 20:01 WaiserHai

Screenshot from 2023-01-17 17-43-02 Is something like this what you were after?

jwgatt avatar Jan 17 '23 16:01 jwgatt

Hi, I was thinking about the Status page for the viewer. I will show you what I mean, but I think am in the wrong Feature discussion heheh.

example 1: 2023-01-17 23_00_04-Statu– Firefox Developer Edition

example 2: 2023-01-17 23_00_04-Sta – Firefox Developer Edition

Edit: or maybe someone comes up with another idea how to display it :)

WaiserHai avatar Jan 17 '23 22:01 WaiserHai

@louislam Could we merge this PR?

jwgatt avatar Jan 20 '23 18:01 jwgatt

For http it is possible to print the return status code legend or type of error ?

Could you clarify a bit, I'm not sure I understand. There is a status code printed on the table below the chart if that's what your looking for.


Hello,

I clarify.

Is it possible to add the HTTP return rating (200, 503, 404 ...) on the chart on mouseover? (HTTP PROBES)

mabed-fr avatar Jan 22 '23 10:01 mabed-fr

  • I might accept the legend first only, the timestamp change may need to pull out.
  • https://github.com/louislam/uptime-kuma/pull/2537#issuecomment-1373131231 @chakflying's is still not fixed. In case you don't know, we have 4 possible status: https://github.com/louislam/uptime-kuma/blob/ce82ad1c12f221ce940549994c26648c46179ca5/src/util.ts#L15-L18
  • Please keep the original color, I feel the red is too bright. image

louislam avatar Jan 31 '23 08:01 louislam