-
Notifications
You must be signed in to change notification settings - Fork 186
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
Problems switching between modules and agents applications #5900
Comments
Moved to on hold. Some problems appear when the page is refreshed due to the application being mounted. We have decided to keep this refresh. |
In a meeting, it was decided to remove the refreshing of the page when the application is mounted. Moreover, we want to remove the loading when switching between applications. To do this, we need to refactor how the navigation is done. We must use the methods provided by the platform. |
Some problems have been found,
screenshot
screenshot
screenshot
When navigating to an agent from the agent table is not working
In the Statistics plugin the same thing is happening with the settings button, it redirects to a wazuh-plugin-settings and should redirect to settings.
https://github.com/wazuh/wazuh-dashboard-plugins/blob/feat/83-move-menu-items-to-applications/plugins/main/public/controllers/management/components/management/statistics/statistics-overview.js#L203
https://github.com/wazuh/wazuh-kibana-app/blob/feat/83-move-menu-items-to-applications/plugins/main/public/components/common/util/agent-group-truncate/group-truncate.tsx#L55
https://github.com/wazuh/wazuh-kibana-app/blob/feat/83-move-menu-items-to-applications/plugins/main/public/controllers/management/components/management/configuration/configuration-switch.js#L214
Problem 1 and 2 may be related because it occurs when you click twice in a row on the endpoint summary and then want to go to another module, or click twice in a row on a module and navigate to the endpoint summary.
Originally posted by @yenienserrano in #5820 (comment)
Error: ScopedHistory instance has fell out of navigation scope for basePath
Summary
How to replicate the issue:
Go to the new Discover plugin
Go to Threat Hunting module (or any dashboard module)
See the error in the console
The exception is thrown in the Scope History class of the Core features of the platform and it doesn't seem to break the expected use of the Dashboards or Events tabs.
This issue has been reported in OpenSearch and seems to be due to an incompatibility between the Legacy Discover and the New Discover plugin.
OpenSearch will not fix this error because will deprecate the Legacy Discover in version 2.11.0. The course of action to be taken is to deprecate Wazuh Kibana Discover module in a future release.
OpenSearch issue
opensearch-project/OpenSearch-Dashboards#4698
Screenshot
There are problems when you have several apis and you select one that is not the first to connect, when you want to change plugins it makes several requests to know the apis and the view freezes for a while.
Also when changing api when it is not the first to connect it takes a long time and sometimes it doesn't make the change.
The text was updated successfully, but these errors were encountered: