diff --git a/changelogs/fragments/7339.yml b/changelogs/fragments/7339.yml new file mode 100644 index 000000000000..23f897df941d --- /dev/null +++ b/changelogs/fragments/7339.yml @@ -0,0 +1,2 @@ +feat: +- [navigation-next] update category ([#7339](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7339)) \ No newline at end of file diff --git a/src/core/utils/default_app_categories.ts b/src/core/utils/default_app_categories.ts index d22dbaf1b7ac..f274cecf2cda 100644 --- a/src/core/utils/default_app_categories.ts +++ b/src/core/utils/default_app_categories.ts @@ -80,19 +80,20 @@ export const DEFAULT_APP_CATEGORIES: Record = Object.freeze }), order: 1000, }, + // TODO remove this default category dashboardAndReport: { id: 'visualizeAndReport', label: i18n.translate('core.ui.visualizeAndReport.label', { defaultMessage: 'Visualize and report', }), - order: 2000, + order: 3000, }, visualizeAndReport: { id: 'visualizeAndReport', label: i18n.translate('core.ui.visualizeAndReport.label', { defaultMessage: 'Visualize and report', }), - order: 2000, + order: 3000, }, analyzeSearch: { id: 'analyzeSearch', @@ -101,12 +102,20 @@ export const DEFAULT_APP_CATEGORIES: Record = Object.freeze }), order: 4000, }, + // TODO remove this default category detect: { - id: 'detect', - label: i18n.translate('core.ui.detect.label', { - defaultMessage: 'Detect', + id: 'configure', + label: i18n.translate('core.ui.configure.label', { + defaultMessage: 'Configure', }), - order: 3000, + order: 2000, + }, + configure: { + id: 'configure', + label: i18n.translate('core.ui.configure.label', { + defaultMessage: 'Configure', + }), + order: 2000, }, manage: { id: 'manage',