teslamate-org / teslamate

A self-hosted data logger for your Tesla 🚘
https://docs.teslamate.org
MIT License
5.87k stars 735 forks source link

Statistics - the last two columns are displayed as long int value #2153

Closed petariga closed 2 years ago

petariga commented 2 years ago

Is there an existing issue for this?

What happened?

The last two columns in the Statistics dashboard, named "date_from" "date_to", are displayed as probably long int time value, for example "1635724800000" "1638316800000" for November 2021. It seems that they might be forgotten from some debugging, otherwise I don't see the purpose of these two columns. "date_from" is already present in the second column "Starting at" and "date_to" can be read in connection with the first column "Period". These two columns "date_from" "date_to" are also a bit hidden at/behind the right end of the table/screen.

Expected Behavior

Either do not display these two columns or display them in a human readable form (not a longint #).

Steps To Reproduce

No response

Relevant log output

n/a

Screenshots

image

Additional data

No response

Type of installation

Docker

Version

v1.24.2

DrMichael commented 2 years ago

Well, the simple answer is, they are used in th elinks and should be hidden. That was not possible so far. https://github.com/grafana/grafana/issues/24092#issuecomment-951557730 appears to have fixed that. @adriankumpf shall we give grafana-8.2.0 a try?

adriankumpf commented 2 years ago

I have started working on a branch for Grafana 8 (https://github.com/adriankumpf/teslamate/tree/grafana-8). Although https://github.com/grafana/grafana/issues/24092 was implemented on Grafana main it's still buggy. So as long as this feature is not stable, Grafana 8 is on hold.