You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Observability AI Assistant App plugin loads an icon in the navbar to access the AI assistant. The issue, in this case, is that, even if the icon is not visible for a specific app, the visibility check occurs too late in the react tree, which implies loading all the code used for the AIAssistant control even when this is not visible for the user.
This can be potentially fixed by moving the assertion earlier in the rendering step, and applying correctly the lazy loading on the LazyNavControl component.
📓 Summary
Part of #191599
The Observability AI Assistant App plugin loads an icon in the navbar to access the AI assistant. The issue, in this case, is that, even if the icon is not visible for a specific app, the visibility check occurs too late in the react tree, which implies loading all the code used for the AIAssistant control even when this is not visible for the user.
This can be potentially fixed by moving the assertion earlier in the rendering step, and applying correctly the lazy loading on the
LazyNavControl
component.LazyNavControl
usage.The text was updated successfully, but these errors were encountered: