-
- }
+ body={{isFilterApplied ? filterText(hasNotificationPlugin) : emptyText}}
actions={isFilterApplied ? resetFiltersButton(onResetFilters) : undefined}
/>
);
diff --git a/public/pages/Destinations/components/FullPageNotificationsInfoCallOut/FullPageNotificationsInfoCallOut.js b/public/pages/Destinations/components/FullPageNotificationsInfoCallOut/FullPageNotificationsInfoCallOut.js
new file mode 100644
index 000000000..c3f41f9fc
--- /dev/null
+++ b/public/pages/Destinations/components/FullPageNotificationsInfoCallOut/FullPageNotificationsInfoCallOut.js
@@ -0,0 +1,59 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import React from 'react';
+import { EuiButton, EuiEmptyPrompt, EuiLink, EuiPanel, EuiText } from '@elastic/eui';
+import { MANAGE_CHANNELS_PATH } from '../../../CreateTrigger/utils/constants';
+import { NOTIFICATIONS_LEARN_MORE_HREF } from '../../utils/constants';
+
+const noNotificationsTitle = 'Destinations will become channels in Notifications';
+const noNotificationsText = (
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new
+ centralized place to manage your notification channels.
+
+);
+const noNotificationsButton = (
+
+ View install instructions
+
+);
+
+const hasNotificationsTitle = 'Destinations have become channels in Notifications';
+const hasNotificationsText = (
+
+
+ Your destinations have been migrated as channels in Notifications, a new centralized place to
+ manage your notification channels. Destinations will be deprecated going forward.
+
+ Learn more
+
+
+ Destinations have become channels in Notifications
+
+
+
+
+
+
+ Your destinations have been migrated as channels in Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+
+ Learn more
+
+
+`;
diff --git a/public/pages/Destinations/components/FullPageNotificationsInfoCallOut/index.js b/public/pages/Destinations/components/FullPageNotificationsInfoCallOut/index.js
new file mode 100644
index 000000000..fb7c78790
--- /dev/null
+++ b/public/pages/Destinations/components/FullPageNotificationsInfoCallOut/index.js
@@ -0,0 +1,8 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import FullPageNotificationsInfoCallOut from './FullPageNotificationsInfoCallOut';
+
+export default FullPageNotificationsInfoCallOut;
diff --git a/public/pages/Destinations/components/NotificationsInfoCallOut/NotificationsInfoCallOut.js b/public/pages/Destinations/components/NotificationsInfoCallOut/NotificationsInfoCallOut.js
index 78091dc7d..86a5134fe 100644
--- a/public/pages/Destinations/components/NotificationsInfoCallOut/NotificationsInfoCallOut.js
+++ b/public/pages/Destinations/components/NotificationsInfoCallOut/NotificationsInfoCallOut.js
@@ -4,24 +4,62 @@
*/
import React from 'react';
-import { EuiCallOut, EuiButton, EuiSpacer } from '@elastic/eui';
+import { EuiCallOut, EuiButton, EuiLink, EuiSpacer } from '@elastic/eui';
import { MANAGE_CHANNELS_PATH } from '../../../CreateTrigger/utils/constants';
+import { NOTIFICATIONS_LEARN_MORE_HREF } from '../../utils/constants';
+
+const noNotificationsTitle = 'Unable to send notifications. Notifications plugin is required.';
+const noNotificationsBodyText = (
+ <>
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new
+ centralized place to manage your notification channels.
+
+
+ Existing destinations will be automatically migrated once Notifications plugin is installed.
+
+ >
+);
+const noNotificationsButton = (
+
+ View install instructions
+
+);
+
+const hasNotificationsTitle = 'Destinations have become channels in Notifications.';
+const hasNotificationsBodyText = (
+
+ Your destinations have been migrated to Notifications, a new centralized place to manage your
+ notification channels. Destinations will be deprecated going forward.
+
+ Learn more
+
+
- Your destinations have been migrated to Notifications, a new centralized place to manage
- your notification channels. Destinations will be deprecated going forward.
-
- {hasNotificationPlugin && (
- View Notifications
- )}
-
);
};
diff --git a/public/pages/Destinations/components/NotificationsInfoCallOut/__snapshots__/NotificationsInfoCallOut.test.js.snap b/public/pages/Destinations/components/NotificationsInfoCallOut/__snapshots__/NotificationsInfoCallOut.test.js.snap
index 0e03bbd9b..469fb7915 100644
--- a/public/pages/Destinations/components/NotificationsInfoCallOut/__snapshots__/NotificationsInfoCallOut.test.js.snap
+++ b/public/pages/Destinations/components/NotificationsInfoCallOut/__snapshots__/NotificationsInfoCallOut.test.js.snap
@@ -21,8 +21,39 @@ exports[`NotificationsInfoCallOut renders when Notifications plugin is installed
class="euiTextColor euiTextColor--default"
>
- Your destinations have been migrated to Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+ Your destinations have been migrated to Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+
+ Learn more
+
+
+
+ (opens in a new tab or window)
+
+
+
@@ -41,7 +72,6 @@ exports[`NotificationsInfoCallOut renders when Notifications plugin is installed
-
@@ -54,15 +84,18 @@ exports[`NotificationsInfoCallOut renders when Notifications plugin is installed
exports[`NotificationsInfoCallOut renders when Notifications plugin is not installed 1`] = `
+
+ EuiIconMock
+
- Destinations have become channels in Notifications.
+ Unable to send notifications. Notifications plugin is required.
- Your destinations have been migrated to Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+
+ Existing destinations will be automatically migrated once Notifications plugin is installed.
-
- Destinations have become channels in Notifications.
-
-
-
-
-
+ EuiIconMock
+
+
+
+ Unable to send notifications. Notifications plugin is required.
+
+
+
+
+
-
- Your destinations have been migrated to Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+
+ Existing destinations will be automatically migrated once Notifications plugin is installed.
+
@@ -89,133 +123,117 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
className="euiSpacer euiSpacer--l"
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EuiIconMock
-
-
-
- Notifications plugin is not installed
-
-
-
-
-
-
-
- Install the notifications plugin in order to create and select channels to send out notifications.
-
-
-
- Learn more
-
-
-
-
-
+
+
+
`;
@@ -1521,41 +1573,75 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
}
}
>
-
-
-
+
+
-
+
+
+
+
+
+
+
-
- Destinations have become channels in Notifications.
-
-
-
-
-
+ EuiIconMock
+
+
+
+ Unable to send notifications. Notifications plugin is required.
+
+
+
+
+
-
- Your destinations have been migrated to Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+
+ Existing destinations will be automatically migrated once Notifications plugin is installed.
+
@@ -1563,133 +1649,117 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
className="euiSpacer euiSpacer--l"
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EuiIconMock
-
-
-
- Notifications plugin is not installed
-
-
-
-
-
-
-
- Install the notifications plugin in order to create and select channels to send out notifications.
-
-
-
- Learn more
-
-
-
- Destinations have become channels in Notifications.
-
-
-
-
-
+ EuiIconMock
+
+
+
+ Unable to send notifications. Notifications plugin is required.
+
+
+
+
+
-
- Your destinations have been migrated to Notifications, a new centralized place to manage your notification channels. Destinations will be deprecated going forward.
+
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+
+ Existing destinations will be automatically migrated once Notifications plugin is installed.
+
@@ -2895,867 +3033,857 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
className="euiSpacer euiSpacer--l"
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EuiIconMock
-
-
-
- Notifications plugin is not installed
-
-
-
-
-
-
-
- Install the notifications plugin in order to create and select channels to send out notifications.
-
-
-
- Learn more
-
-
-
+
+ View install instructions
+
+ }
+ body={
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+ }
+ title={
+
+ Destinations will become channels in Notifications
+
+ }
>
-
-
-
- EuiIconMock
-
-
-
- Unable to send notifications. Notifications plugin is required.
-
-
-
+
+
-
-
+
+
+
-
- Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
-
-
- Existing destinations will be automatically migrated once Notifications plugin is installed.
-
+
+
`;
@@ -1573,1340 +246,155 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
}
}
>
-
-
-
- Destinations (deprecated)
-
-
-
+
+
-
-
-
-
+
+ View install instructions
+
+ }
+ body={
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+ }
+ title={
+
+ Destinations will become channels in Notifications
+
+ }
>
-
-
-
- EuiIconMock
-
-
-
- Unable to send notifications. Notifications plugin is required.
-
-
-
+
+
-
-
+
+
+
-
- Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
-
-
- Existing destinations will be automatically migrated once Notifications plugin is installed.
-
-
+
+ View install instructions
+
+ }
+ body={
+
+ Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
+
+ }
+ title={
+
+ Destinations will become channels in Notifications
+
+ }
>
-
-
-
- EuiIconMock
-
-
-
- Unable to send notifications. Notifications plugin is required.
-
-
-
+
+
-
-
+
+
+
-
- Destinations will be deprecated going forward. Install the Notifications plugin for a new centralized place to manage your notification channels.
-
-
- Existing destinations will be automatically migrated once Notifications plugin is installed.
-