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
Insights module bugs #8701
Comments
This should be fixed by #8696 👍
Hmm I can't seem to reproduce this on rc.96. I've also ensured to use Date field 🤔 Would you mind checking the following of what I did and let me know are there any discrepancy: jkL0VxnoaI.mp4 |
@azrikahar I restarted the directus instance and it seems to work like meant to be. |
That's... strange indeed. I also did another test by enabling cache, but nothing seems to be out of the ordinary. However it might be somehow a weirdly formed cached data. (or maybe caused by the bug with filter 🤔) Since the first bug will be addressed by another PR, and this second date bug "seemingly" disappeared, I'll close this issue for now. Do let us know if it ever appear again so we can reopen this 👍 |
Hello @Attacler , @azrikahar Since it's not reproducible it's a bit hard to tell if can be fixed or not. |
@azrikahar i have found it again. |
@Attacler Pardon the delay on getting back on this 🙈 However I've just recently been able to reproduce this here, which seems to align with your suspicion of "going over 1 month of data": Oddly enough changing this from
seems to fix it: We'll need to investigate further whether this is an issue of Directus' current implementation of ApexCharts.js, or an actual bug with ApexCharts.js itself. |
@azrikahar thank you for getting back on it. |
That is indeed one of the possibility I thought of as well, but it'd also probably better if we can still leverage on the provided datetime type. I think I was able to reproduce it on someone else's codepen (very slightly break, but still looked fine, unlike ours), but I didn't note down what it was & I closed the incognito tab earlier 😂 Currently I'm hoping to reproduce this in something like codepen or jsfiddle so we can be extra sure if it's a bug with the chart library 👍 Will try to look into it. |
It's been a while but as I've once again unintentionally reproduced this, this is starting to be suspected as an issue with the API returned value rather than an issue with the chart rendering. Also managed to reproduce it by using the API data in minimal setup: https://jsitor.com/preview/hlF6fQJni @Attacler do you by any chance still have a reproducible/existing chart like this? It's okay if you don't have it anymore, but in case you do have it, would you mind providing the returned payload via the API? Here's an example of how to do that from what I could think of: OiqqLQx49v.mp4
|
I'm not able to reproduce this under v9.9.0. @azrikahar / @Attacler could you confirm if the issue still persists on your end? We can reopen accordingly 🙂 Thanks! |
Preflight Checklist
Describe the Bug
First of all, i know its a beta but here are some things i found:
Filter on date empty gives an error in the network tab:
The query it is trying to execute:
Sometimes date does not go well
The settings i have selected:
Fields:
So far it looks like a great feature!
To Reproduce
See above
What version of Directus are you using?
docker rc96
What version of Node.js are you using?
docker
What database are you using?
Postgres 13
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: