Skip to content

Commit

Permalink
[navigation-next] Add new category (opensearch-project#7275) (opensea…
Browse files Browse the repository at this point in the history
…rch-project#7276) (opensearch-project#7278)

* feat: add new categories

* Changeset file for PR opensearch-project#7273 created/updated

* feat: update

* Changeset file for PR opensearch-project#7275 created/updated

* feat: remove useless changelog

* feat: remove useless changelog

---------

(cherry picked from commit 84537b5)





(cherry picked from commit d2e7b9d)

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 17, 2024
1 parent 1a207ad commit e751b69
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/7275.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [navigation-next] Add new category ([#7275](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7275))
20 changes: 17 additions & 3 deletions src/core/utils/default_app_categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,16 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = Object.freeze
order: 1000,
},
dashboardAndReport: {
id: 'dashboardAndReport',
label: i18n.translate('core.ui.dashboardAndReport.label', {
defaultMessage: 'Dashboard and report',
id: 'visualizeAndReport',
label: i18n.translate('core.ui.visualizeAndReport.label', {
defaultMessage: 'Visualize and report',
}),
order: 2000,
},
visualizeAndReport: {
id: 'visualizeAndReport',
label: i18n.translate('core.ui.visualizeAndReport.label', {
defaultMessage: 'Visualize and report',
}),
order: 2000,
},
Expand All @@ -94,4 +101,11 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = Object.freeze
}),
order: 4000,
},
detect: {
id: 'detect',
label: i18n.translate('core.ui.detect.label', {
defaultMessage: 'Detect',
}),
order: 3000,
},
});

0 comments on commit e751b69

Please sign in to comment.