-
Notifications
You must be signed in to change notification settings - Fork 62
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
Create the Analysis plugin and implement the new menu app registration method #484
Create the Analysis plugin and implement the new menu app registration method #484
Comments
The dynamically controlled system for hiding/showing subappsThe system for hiding/showing subapps in an OpenSearch Dashboards plugin uses a combination of plugin lifecycle methods, 1. General ArchitectureMain apps and subapps
These subapps are linked to their main app and their visibility is controlled dynamically. 2. Subapp Visibility ControlVisibility is controlled through these key elements:
|
What does
|
|
|
Global SearchBarPeek.2025-01-22.11-54.mp4A SearchCommand is registered using the 1. Availability Verificationif (core.chrome.navGroup.getNavGroupEnabled()) { First, it verifies if navigation groups ( 2. Search Command Registrationcore.chrome.globalSearch.registerSearchCommand({
id: 'wz-analysis',
type: 'PAGES',
run: async (query: string, done?: () => void) =>
searchPages(
query,
applications.map(app => app.id),
this.coreStart,
done,
),
}); Registration Components:
3. Logic of the
|
Description
We have to create the plugin "Analysis" which will include all the applications related to data analysis dashboards. The main goal is to register the Analysis plugin and its applications to create the scaffolding which will be used later on to create the dashboards.
Menu structure
Functional requirements
Additional information
The new navigation menu is enabled with the advanced setting
useNewHomePage
. The OpenSearch native plugindev_tools
already has the new navigation menu implementation.This can be used as an example:
src/plugins/dev_tools/public/plugin.ts
Tasks
wazuh-core
The text was updated successfully, but these errors were encountered: