simpleanalytics / roadmap

File you bugs and feature requests here
24 stars 2 forks source link

Seems like one month is not loading in the dashboard #632

Closed adriaandotcom closed 2 years ago

adriaandotcom commented 3 years ago

It looks like every other month doesn't load.

Just go back in time: https://simpleanalytics.com/junior.guru

2021-10-21-screenshot-of-21h25

jibsaramnim commented 3 years ago

I'm not able to replicate this (neither locally or on production). I can't tell for sure, but in the gif it seems like you're trying to skip to another month while the current view was still loading (note the loading indicators in the table view below). The navigation buttons are disabled while the dashboard is still loading.

Could you give it another try to see if you can replicate this possible bug on your end? If so I can look into it more.

Thanks!

adriaandotcom commented 3 years ago

It indeed happens when the loading is not finished.

https://user-images.githubusercontent.com/1079135/138849791-85d7d349-021e-41c4-a08f-efe54e4875b7.mp4

But I guess it's not the expected behavior. As in, if a user click through a few time periods, it should always show the last period that shows in the data picker, right?

jibsaramnim commented 3 years ago

Ah I see it now, the date picker does update the range. I missed that initially, sorry about that! I'll work on a fix :)

adriaandotcom commented 2 years ago

This is fixed in the new beta version. We now cancel any request that was initiated after a period change when the period is changed again.