GenSpectrum / cov-spectrum-website

A web platform to detect and analyze variants of SARS-CoV-2
https://cov-spectrum.org
GNU General Public License v3.0
60 stars 14 forks source link

feat: queue LAPIS calls on collection pages #984

Closed fengelniederhammer closed 3 months ago

fengelniederhammer commented 3 months ago

resolves #980

The very large collection 24 (~1000 variants) will otherwise fail to load in Chrome with "net::ERR_INSUFFICIENT_RESOURCES"

With this fix, both collections successfully load in Chrome: https://cov-spectrum-develop-git-980-improve-collec-dc213c-cov-spectrum.vercel.app/collections/127 https://cov-spectrum-develop-git-980-improve-collec-dc213c-cov-spectrum.vercel.app/collections/24

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cov-spectrum-develop ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 2:08pm
chaoran-chen commented 3 months ago

On my laptop, it indeed works now while it didn't work in the past - that's a great improvement (and definitely worth merging)!

On my phone (Android + Chrome), it loads for half a minute and then shows a whitescreen unfortunately.

fengelniederhammer commented 3 months ago

On my mobile Chrome it successfully loaded. On the built-in Samsung browser, it did not.

fengelniederhammer commented 3 months ago

I created #990 as a follow up