Skip to content

Commit

Permalink
Reorder sections (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
chantal-kelm authored Nov 14, 2024
1 parent eaa6b78 commit 6d205d3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ All notable changes to the Wazuh app project will be documented in this file.
### Changed

- Reduced the size of the loading logo [#373](https://github.com/wazuh/wazuh-dashboard/pull/373)
- Changed the order of the "Dashboard management" and "Indexer management" sections [#372](https://github.com/wazuh/wazuh-dashboard/pull/372)

### Removed

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:6e3,euiIconType:"managementApp"}'
category_dashboard_management='{id:"management",label:"Indexer management",order:5e3,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.

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

0 comments on commit 6d205d3

Please sign in to comment.