siderolabs / omni-feedback

Omni feature requests, bug reports
https://www.siderolabs.com/platform/saas-for-kubernetes/
MIT License
2 stars 0 forks source link

[bug] UI freezes while loading cluster metrics #65

Closed netthier closed 8 months ago

netthier commented 1 year ago

Is there an existing issue for this?

Current Behavior

When opening a cluster in Omni (/cluster/foo) the website freezes for a few seconds with empty metrics, and unfreezes once those metrics are loaded. I don't know if loading the metrics causes the freeze or if the metrics just happen to appear after the freeze ends. During the freeze, nothing becomes clickable, though all inputs get "queued" and executed once the site unfreezes.

Expected Behavior

I'd expect the site to not freeze

Steps To Reproduce

  1. Have a cluster
  2. Go on the cluster overview page on /cluster/foo
  3. Try to click anything
  4. Experience a delay

What browsers are you seeing the problem on?

Firefox

Anything else?

I recorded a video of the issue:

https://github.com/siderolabs/omni-feedback/assets/66856670/b9190d2b-7b2a-49c2-a540-e65f0324ab31

Pay close attention to my mouse hovering over the "Update" buttons in the bottom-right corner of the screen.