mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Update remaining links in Synthetics and UX to new Exploratory View app (#154034)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
d620e897ef
commit
c1e8247539
6 changed files with 8 additions and 5 deletions
|
@ -48,7 +48,7 @@ export const App = (props: {
|
|||
},
|
||||
];
|
||||
|
||||
const hrefLink = props.plugins.observability.createExploratoryViewUrl(
|
||||
const hrefLink = props.plugins.exploratoryView.createExploratoryViewUrl(
|
||||
{ reportType: 'kpi-over-time', allSeries: seriesList },
|
||||
props.core.http.basePath.get()
|
||||
);
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
import { Plugin, CoreSetup, AppNavLinkStatus } from '@kbn/core/public';
|
||||
import type { DataPublicPluginStart } from '@kbn/data-plugin/public';
|
||||
import type { ObservabilityPublicStart } from '@kbn/observability-plugin/public';
|
||||
import type { ExploratoryViewPublicStart } from '@kbn/exploratory-view-plugin/public';
|
||||
import type { DeveloperExamplesSetup } from '@kbn/developer-examples-plugin/public';
|
||||
import { mount } from './mount';
|
||||
|
||||
|
@ -18,6 +19,7 @@ export interface SetupDependencies {
|
|||
export interface StartDependencies {
|
||||
data: DataPublicPluginStart;
|
||||
observability: ObservabilityPublicStart;
|
||||
exploratoryView: ExploratoryViewPublicStart;
|
||||
}
|
||||
|
||||
export class ExploratoryViewExamplePlugin
|
||||
|
|
|
@ -20,5 +20,6 @@
|
|||
"@kbn/developer-examples-plugin",
|
||||
"@kbn/data-views-plugin",
|
||||
"@kbn/kibana-react-plugin",
|
||||
"@kbn/exploratory-view-plugin",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import React from 'react';
|
|||
import { EuiButton } from '@elastic/eui';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import moment from 'moment';
|
||||
import { AllSeries, createExploratoryViewUrl } from '@kbn/observability-plugin/public';
|
||||
import { AllSeries, createExploratoryViewUrl } from '@kbn/exploratory-view-plugin/public';
|
||||
import { euiStyled } from '@kbn/kibana-react-plugin/common';
|
||||
import { useKibana } from '@kbn/kibana-react-plugin/public';
|
||||
import { SYNTHETICS_INDEX_PATTERN } from '../../../../../../common/constants';
|
||||
|
|
|
@ -10,7 +10,7 @@ import { EuiButton } from '@elastic/eui';
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import moment from 'moment';
|
||||
import { useSelector } from 'react-redux';
|
||||
import { AllSeries, createExploratoryViewUrl } from '@kbn/observability-plugin/public';
|
||||
import { AllSeries, createExploratoryViewUrl } from '@kbn/exploratory-view-plugin/public';
|
||||
import { euiStyled } from '@kbn/kibana-react-plugin/common';
|
||||
import { useKibana } from '@kbn/kibana-react-plugin/public';
|
||||
import { JourneyStep } from '../../../../../common/runtime_types';
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
import React from 'react';
|
||||
import { EuiHeaderLinks, EuiHeaderLink, EuiToolTip } from '@elastic/eui';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { HeaderMenuPortal } from '@kbn/observability-plugin/public';
|
||||
import {
|
||||
RECORDS_FIELD,
|
||||
createExploratoryViewUrl,
|
||||
HeaderMenuPortal,
|
||||
} from '@kbn/observability-plugin/public';
|
||||
} from '@kbn/exploratory-view-plugin/public';
|
||||
import { AppMountParameters } from '@kbn/core/public';
|
||||
import { useLegacyUrlParams } from '../../../../context/url_params_context/use_url_params';
|
||||
import { SERVICE_NAME } from '../../../../../common/elasticsearch_fieldnames';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue