Skip to content

Commit

Permalink
[navigation-next] feat: update category (#7339)
Browse files Browse the repository at this point in the history
* feat: update category

Signed-off-by: SuZhou-Joe <[email protected]>

* Changeset file for PR #7339 created/updated

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
SuZhou-Joe and opensearch-changeset-bot[bot] committed Jul 21, 2024
1 parent 4c61906 commit d4d1f77
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/7339.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [navigation-next] update category ([#7339](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7339))
21 changes: 15 additions & 6 deletions src/core/utils/default_app_categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,20 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = 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',
Expand All @@ -101,12 +102,20 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = 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',
Expand Down

0 comments on commit d4d1f77

Please sign in to comment.