fonsleenaars / tqdb

Python parser for the Titan Quest Anniversary Edition, Ragnarok, Atlantis, Eternal Ember DLC database.
https://tq-db.net
MIT License
50 stars 15 forks source link

Scripts on monsters page hangs #45

Closed Gummiel closed 5 years ago

Gummiel commented 5 years ago

When going to the monsters tab some scripts hangs and I have to terminate the script (making it thus impossible to swap to loot table or the different difficulties of each monster)

Using waterfox 56.2.2 (64-bit) Windows 10 pro 64-bit

fonsleenaars commented 5 years ago

Thanks, I'll look into it. The monster page is by far the largest data set to load & render so I'll probably need to setup some sort of async/lazy load for it to not be a huge burden like that.

I'll try to get a fix out ASAP.

fonsleenaars commented 5 years ago

The https://github.com/bvaughn/react-virtualized library will be used to speed up loading for all pages considerably.

I'll have it online tomorrow or the day after.

fonsleenaars commented 5 years ago

@Gummiel I have deployed a work-in-progress version to the staging environment. Could you try loading this website and letting me know if that works better for you? https://staging.tq-db.net/monsters. Thanks!

Gummiel commented 5 years ago

works wonderfull, pretty much instant loading on that version

fonsleenaars commented 5 years ago

Ah, excellent. I want to include a few more fixes before I push everything to the main website but it will be up on tq-db.net within a day or two as well.

Thanks for the issue report, I'll close this once I've pushed it to production.