= () => {
exploratoryView: {
createExploratoryViewUrl: jest.fn(),
getAppDataView: jest.fn(),
- ExploratoryViewEmbeddable: () => Embeddable exploratory view
,
+ ExploratoryViewEmbeddable: () => (
+
+ {i18n.translate('xpack.uptime.core.div.embeddableExploratoryViewLabel', {
+ defaultMessage: 'Embeddable exploratory view',
+ })}
+
+ ),
},
unifiedSearch: unifiedSearchPluginMock.createStartContract(),
+ charts: chartPluginMock.createStartContract(),
};
return core;
diff --git a/x-pack/solutions/observability/plugins/uptime/public/plugin.ts b/x-pack/solutions/observability/plugins/uptime/public/plugin.ts
index b2558fe83e33b..dca8c8baa19e3 100644
--- a/x-pack/solutions/observability/plugins/uptime/public/plugin.ts
+++ b/x-pack/solutions/observability/plugins/uptime/public/plugin.ts
@@ -55,6 +55,7 @@ import {
ObservabilityAIAssistantPublicStart,
ObservabilityAIAssistantPublicSetup,
} from '@kbn/observability-ai-assistant-plugin/public';
+import type { ChartsPluginStart } from '@kbn/charts-plugin/public';
import { PLUGIN } from '../common/constants/plugin';
import { UptimeConfig } from '../common/config';
import {
@@ -105,6 +106,7 @@ export interface ClientPluginsStart {
docLinks: DocLinksStart;
uiSettings: CoreStart['uiSettings'];
usageCollection: UsageCollectionStart;
+ charts: ChartsPluginStart;
}
export interface UptimePluginServices extends Partial {
diff --git a/x-pack/solutions/observability/plugins/uptime/tsconfig.json b/x-pack/solutions/observability/plugins/uptime/tsconfig.json
index 5de407dc03b8c..6761601deb208 100644
--- a/x-pack/solutions/observability/plugins/uptime/tsconfig.json
+++ b/x-pack/solutions/observability/plugins/uptime/tsconfig.json
@@ -36,7 +36,6 @@
"@kbn/core-http-browser",
"@kbn/es-query",
"@kbn/data-views-plugin",
- "@kbn/ui-theme",
"@kbn/rule-data-utils",
"@kbn/kibana-utils-plugin",
"@kbn/data-plugin",
@@ -79,6 +78,7 @@
"@kbn/deeplinks-observability",
"@kbn/ebt-tools",
"@kbn/core-rendering-browser",
+ "@kbn/charts-plugin",
],
"exclude": ["target/**/*"]
}