diff --git a/CHANGELOG.md b/CHANGELOG.md index edf900b5..4385d538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased 2.x](https://github.com/opensearch-project/dashboards-maps/compare/2.17...2.x) ### Features +* [navigation]feat: update category to flatten menus in analytics(all) use case [#674](https://github.com/opensearch-project/dashboards-maps/pull/674) ### Enhancements ### Bug Fixes ### Infrastructure diff --git a/public/plugin.tsx b/public/plugin.tsx index 10daad84..5ddc5f4f 100644 --- a/public/plugin.tsx +++ b/public/plugin.tsx @@ -104,6 +104,16 @@ export class CustomImportMapPlugin category: DEFAULT_APP_CATEGORIES.visualizeAndReport, order: 200, }]); + core.chrome.navGroup.addNavLinksToGroup(DEFAULT_NAV_GROUPS.search, [{ + id: MAPS_APP_ID, + category: DEFAULT_APP_CATEGORIES.visualizeAndReport, + order: 200, + }]); + core.chrome.navGroup.addNavLinksToGroup(DEFAULT_NAV_GROUPS.all, [{ + id: MAPS_APP_ID, + category: DEFAULT_APP_CATEGORIES.visualizeAndReport, + order: 200, + }]); const mapEmbeddableFactory = new MapEmbeddableFactoryDefinition(async () => { const [coreStart, depsStart] = await core.getStartServices();