Slowly loading cloud agents steal focus when loading after switching
Cloud agents take a 5s+ seconds to load for me.
- Click a cloud agent session
- Click away to another agent in a list
- 🐛 Once previous cloud agent teal the focus while the new agent I selected is still picked.
https://github.com/user-attachments/assets/5cb230d5-4762-43ec-a922-dcf33405caee
One obvious improvement here is that we should cancel loading when you swap to another chat session.
Even better is make loading of a cloud session super fast
One obvious improvement here is that we should cancel loading when you swap to another chat session.
+1. this is the bug I ran into this morning when I was sharing my screen. opening a session should cancel all previous session opening in the sidebar.
I do not repro the cancellation errors. This will need more thought on how to better load resources remotely from github (as that is what takes the longest time here)