openshift-dd-ext icon indicating copy to clipboard operation
openshift-dd-ext copied to clipboard

Delay in page rendering

Open fbricon opened this issue 3 years ago • 5 comments

When opening the Openshift extension page, there's a noticeable delay before anything is displayed, Jul-12-2022 11-45-47

Could be because we're not leveraging recoil + suspense to load the context gracefully

fbricon avatar Jul 12 '22 09:07 fbricon

@fbricon Probably it is because of all the loading we do under the hood for kube config and docker images. UI elements like current context and image selector should be shown right away, but in 'loading' state.

dgolovin avatar Jul 12 '22 18:07 dgolovin

Yes that's what I think. Loading through recoil would help I think

fbricon avatar Jul 12 '22 20:07 fbricon

Can I work on this issue and could you be more specific about the implementation

itsCheithanya avatar Oct 04 '22 17:10 itsCheithanya

@itsCheithanya thanks for volunteering. I did start some experiments a while ago: https://github.com/fbricon/openshift-dd-ext/commit/aeeb78aca9b5219184258206f01456bb923ec448. Code might not compile/work and still have some outstanding issues, but that should give you a good starting point.

fbricon avatar Oct 05 '22 09:10 fbricon

@fbricon Yes that will give a good insight, I will look into it.

itsCheithanya avatar Oct 05 '22 19:10 itsCheithanya