-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Describe the bug
When the dashboard is open in multiple windows and the date picker is used for same period, the data sometimes syncs between windows despite having different devices selected.
To Reproduce
- In two browser windows, I visit the dashboard pages for my two tRacket sensors: http://dashboard.tracket.info/locations/859525 and http://dashboard.tracket.info/locations/1086619. The data is very similar, but obviously different.
- In each window, I use the date selector to pick previous dates, in both windows. Say, May 11-18. It loads the data.
- The data that's displayed is clearly identical.
This happens no matter which dates you pick. The weird part is, I can't determine which sensor's data will be displayed. It seems like sometimes it displays the data from 859525, and sometimes from 1086619.It seems like the problem isn't in the data, but in either the API or the dashboard. (Maybe it's because I'm making these requests simultaneously? Still, that seems weird!)I tried a third sensor, and got similar behaviour: when I use the date picker to retrieve older data for a sensor, it returns data from the wrong sensor.
Expected behavior
Windows opened present data independently based on the selector.