milesmcc / shynet

Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
Apache License 2.0
2.89k stars 183 forks source link

Fix performence in dashboard #264

Closed haaavk closed 1 year ago

haaavk commented 1 year ago

Fix #261

milesmcc commented 1 year ago

Looks good; I need to test more robustly but I think it's on the right track. Would you mind posting some screenshots on the PR?

haaavk commented 1 year ago

I used sessions list template as starter.

https://user-images.githubusercontent.com/818385/232865657-b36b2ac1-f72b-4d17-bfc2-ff90c422d4bc.mp4

milesmcc commented 1 year ago

Hmm, the video isn't working for me but it might be my computer.

I apologize for my slowness here. The underlying issue is that I got a new laptop, and I no longer have a good local development environment for Shynet where I can easily pull your changes and test them out. (And alas, we don't have a way to seed mock data.) This is my fault.

haaavk commented 1 year ago

Maybe this will work.

https://user-images.githubusercontent.com/818385/233265840-5c291ea0-7637-49f9-9e45-50683487d4cb.mov

I had the same problem with mock data but I found management command call "demo". I made some cosmetic changes to it but it mostly works really good out of the box.

milesmcc commented 1 year ago

Good work.