diff --git a/public/pages/Main/Main.tsx b/public/pages/Main/Main.tsx index d4d4c74..a0d201d 100644 --- a/public/pages/Main/Main.tsx +++ b/public/pages/Main/Main.tsx @@ -4,10 +4,10 @@ */ import { EuiPage, EuiPageBody, EuiPageSideBar, EuiSideNav } from '@elastic/eui'; -import React, { Component, createContext, useContext } from 'react'; +import React, { Component, createContext, ComponentType } from 'react'; import { Redirect, Route, RouteComponentProps, Switch } from 'react-router-dom'; -import { CoreStart, MountPoint, SavedObject } from '../../../../../src/core/public'; -import { CoreServicesConsumer, CoreServicesContext } from '../../components/coreServices'; +import { CoreStart, MountPoint, SavedObject, HttpSetup } from '../../../../../src/core/public'; +import { CoreServicesConsumer } from '../../components/coreServices'; import { ModalProvider, ModalRoot } from '../../components/Modal'; import { BrowserServices } from '../../models/interfaces'; import { ServicesConsumer, ServicesContext } from '../../services/services'; @@ -31,11 +31,9 @@ import { import { DataSourceMenuProps, DataSourceOption } from "../../../../../src/plugins/data_source_management/public/components/data_source_menu/types"; import _ from "lodash"; import { NotificationService } from '../../services'; -import { HttpSetup } from '../../../../../src/core/public'; import * as pluginManifest from "../../../opensearch_dashboards.json"; import { DataSourceAttributes } from "../../../../../src/plugins/data_source/common/data_sources"; import semver from "semver"; -import { ComponentType } from 'react'; enum Navigation { Notifications = 'Notifications', diff --git a/release-notes/opensearch-dashboards-notifications.release-notes-2.17.0.0.md b/release-notes/opensearch-dashboards-notifications.release-notes-2.17.0.0.md index 1e7162d..4bce953 100644 --- a/release-notes/opensearch-dashboards-notifications.release-notes-2.17.0.0.md +++ b/release-notes/opensearch-dashboards-notifications.release-notes-2.17.0.0.md @@ -5,7 +5,6 @@ Compatible with OpenSearch Dashboards 2.17.0 * [Backport 2.x] add riysaxen as maintainer ([#241](https://github.com/opensearch-project/dashboards-notifications/pull/241)) * Increment version to 2.17.0.0 ([#237](https://github.com/opensearch-project/dashboards-notifications/pull/241)) - ### Features/Enhancements * [navigation]feat: change parent item name ([#234](https://github.com/opensearch-project/dashboards-notifications/pull/234)) * Use smaller and compressed varients of buttons and form components ([#231](https://github.com/opensearch-project/dashboards-notifications/pull/231)) @@ -13,6 +12,8 @@ Compatible with OpenSearch Dashboards 2.17.0 ### Bug Fixes * Fix link checker ([#242](https://github.com/opensearch-project/dashboards-notifications/pull/242)) +* Persist dataSourceId across applications under new Nav change ([#244](https://github.com/opensearch-project/dashboards-notifications/pull/244)) ### Documentation -* 2.17 release notes. ([#243](https://github.com/opensearch-project/dashboards-notifications/pull/243)) \ No newline at end of file +* 2.17 release notes. ([#248](https://github.com/opensearch-project/dashboards-notifications/pull/248)) +