-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid loading things until loading Canvas app #23379
Comments
This has been open for a while - was wondering if a fix was planned. It's actually quite difficult to see our own errors when developing and testing due to the noise, although this is rare obvs ;) |
I had marked #24087 as a blocker - this issue is listed as a chore. Should we escalate the priority ? |
@sophiec20 I figured out you can filter out those messages so it helps with my testing to see other errors. In my case I used this filter on Chrome: -url:https://localhost:5601/socket.io |
Closes #23379 Defer loading Canvas code until the application is used. - Wait to load the window error override - Only create socket when the app is ready Since we need to support deferring loading the application until some async things finish (mostly fetching functions), I opted to handle this in the App component, since it was a convenient async way to hold until ready. I figure we can refactor that later.
Closes #23379 Defer loading Canvas code until the application is used. - Wait to load the window error override - Only create socket when the app is ready Since we need to support deferring loading the application until some async things finish (mostly fetching functions), I opted to handle this in the App component, since it was a convenient async way to hold until ready. I figure we can refactor that later.
Closes #23379 Defer loading Canvas code until the application is used. - Wait to load the window error override - Only create socket when the app is ready Since we need to support deferring loading the application until some async things finish (mostly fetching functions), I opted to handle this in the App component, since it was a convenient async way to hold until ready. I figure we can refactor that later.
Closes elastic#23379 Defer loading Canvas code until the application is used. - Wait to load the window error override - Only create socket when the app is ready Since we need to support deferring loading the application until some async things finish (mostly fetching functions), I opted to handle this in the App component, since it was a convenient async way to hold until ready. I figure we can refactor that later.
Once we merged Canvas into master we started seeing things like socket connection errors, and #23266. It feels like the code that's causing these behaviors should not be loaded when you go to the login page, or on every page of Kibana, they should really only be loaded when using Canvas.
In a quick discussion with @w33ble it sounds like we should get canvas a
uiExports
type that it can use instead of hacks for plugins, and make sure that things like the socket.io socket is only initialized when necessary for the canvas app.The text was updated successfully, but these errors were encountered: