Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distance traveled on drive graph doesn't update is the time range is changed #3882

Open
1 task done
Nakatomi2010 opened this issue May 5, 2024 · 5 comments
Open
1 task done
Labels
area:dashboard Related to a Grafana dashboard undetermined Not sure if this is considered a real bug waiting for feedback

Comments

@Nakatomi2010
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When opening up the Drives graphs, you can change the timeframe and get a different map, and a different energy use graph, but the four data tips in the upper right remain tied to the drive ID you opened, before you started messing with the time ranges.

When looking at the "distance traveled" box, for example, it uses this:

select convert_km(distance::numeric, '$length_unit') as "$length_unit" from drives where id = $drive_id;

Which I would expect to be tied to the range of the graph, not the drive ID in question.

Expected Behavior

I would expect all data views on the Drives graph to be able to be changed based on the time ranges being used, not just the drive ID.

Steps To Reproduce

Go to Drive, pick a drive, change the time ranges.

Relevant log output

.

Screenshots

No response

Additional data

No response

Type of installation

Docker

Version

12.8.5

@DrMichael
Copy link
Collaborator

Hmmm, sorry, which dashboard are you talking of? The only "Distance traveled" I can see is in the "Visited" dashboard. And changes in the time range are correctly reflected.

@Nakatomi2010
Copy link
Author

Nakatomi2010 commented May 6, 2024 via email

@DrMichael
Copy link
Collaborator

Sorry, can you post a screenshot?

@Nakatomi2010
Copy link
Author

Nakatomi2010 commented May 7, 2024 via email

@DrMichael
Copy link
Collaborator

Sorry, no attachment.

@JakobLichterfeld JakobLichterfeld added area:dashboard Related to a Grafana dashboard waiting for feedback undetermined Not sure if this is considered a real bug labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dashboard Related to a Grafana dashboard undetermined Not sure if this is considered a real bug waiting for feedback
Projects
None yet
Development

No branches or pull requests

3 participants