clouditor/ui

Loading Cloud Services: Load in background

Opened this issue · 1 comments

lebogg commented

What happened?

I'm not sure if this would still happening but we have it in Medina:
When loading multiple cloud service (In MEDINA more than 30, maybe not realistic yes :D), it takes a while to do so. I guess due to 30 following get requests?

My suggestion:
Like in comparison portals for gas, power, cars, etc., load the empty cloud service page first and then drop the cloud services as they "arrive". Maybe use a loading icon to show when it is not finished yet.

Components

UI

Relevant log output

No response

oxisto commented

I am pretty sure that the new UI can handle 20-30 cloud services, but we need to check. In any case we can use https://kit.svelte.dev/docs/load#streaming-with-promises to do that.