Skip to content

Commit

Permalink
Change order of menu sections (#372)
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Rodriguez <[email protected]>
  • Loading branch information
2 people authored and Tostti committed Nov 5, 2024
1 parent fd5284a commit 47ae6cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ All notable changes to the Wazuh app project will be documented in this file.

- Removed the setting home:useNewHomePage from the advanced settings because the views are not finished. [#282](https://github.com/wazuh/wazuh-dashboard/pull/282)

### Changed

- Changed the order of the “Dashboard management” and “Indexer management” sections.

## Wazuh dashboard v4.9.1 - OpenSearch Dashboards 2.13.0 - Revision 04

### Added
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/build-packages/base/generate_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ build() {

# Move installed plugins from categories after generating the package
category_explore='{id:"explore",label:"Explore",order:100,euiIconType:"search"}'
category_dashboard_management='{id:"management",label:"Indexer management",order:5e3,euiIconType:"managementApp"}'
category_dashboard_management='{id:"management",label:"Indexer management",order:6e3,euiIconType:"managementApp"}'

# Replace app category to Reporting app
sed -i -e "s|category:{id:\"opensearch\",label:_i18n.i18n.translate(\"opensearch.reports.categoryName\",{defaultMessage:\"OpenSearch Plugins\"}),order:2e3}|category:${category_explore}|" ./plugins/reportsDashboards/target/public/reportsDashboards.plugin.js
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/core/utils/default_app_categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = Object.freeze
label: i18n.translate('core.ui.dashboardManagementNavList.label', {
defaultMessage: 'Dashboard management',
}),
order: 6000,
order: 5000,
euiIconType: 'dashboardApp',
},
management: {
id: 'management',
label: i18n.translate('core.ui.managementNavList.label', {
defaultMessage: 'Indexer management',
}),
order: 5000,
order: 6000,
euiIconType: 'managementApp',
},
investigate: {
Expand Down

0 comments on commit 47ae6cc

Please sign in to comment.