Move remaining home assets to the new platform (#65053)
* Migrate tutorial resources Closes #55710 * Added type to context in apm plugin index * Removed context parameter from ApmPlugin * Generated apm plugin by generate_plugin script * Removed getGreeting declaration * Remove unused assets and comment previewImagePaths * Removed unnecessary types file * Move assets and sample_data_resources, update snapshot Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
|
@ -301,7 +301,7 @@ exports[`DashboardEmptyScreen renders correctly with readonly mode 1`] = `
|
|||
>
|
||||
<EuiImage
|
||||
alt=""
|
||||
url="/plugins/kibana/home/assets/welcome_graphic_light_2x.png"
|
||||
url="/plugins/home/assets/welcome_graphic_light_2x.png"
|
||||
>
|
||||
<figure
|
||||
className="euiImage "
|
||||
|
@ -309,7 +309,7 @@ exports[`DashboardEmptyScreen renders correctly with readonly mode 1`] = `
|
|||
<img
|
||||
alt=""
|
||||
className="euiImage__img"
|
||||
src="/plugins/kibana/home/assets/welcome_graphic_light_2x.png"
|
||||
src="/plugins/home/assets/welcome_graphic_light_2x.png"
|
||||
style={Object {}}
|
||||
/>
|
||||
</figure>
|
||||
|
@ -995,7 +995,7 @@ exports[`DashboardEmptyScreen renders correctly without visualize paragraph 1`]
|
|||
>
|
||||
<EuiImage
|
||||
alt=""
|
||||
url="/plugins/kibana/home/assets/welcome_graphic_light_2x.png"
|
||||
url="/plugins/home/assets/welcome_graphic_light_2x.png"
|
||||
>
|
||||
<figure
|
||||
className="euiImage "
|
||||
|
@ -1003,7 +1003,7 @@ exports[`DashboardEmptyScreen renders correctly without visualize paragraph 1`]
|
|||
<img
|
||||
alt=""
|
||||
className="euiImage__img"
|
||||
src="/plugins/kibana/home/assets/welcome_graphic_light_2x.png"
|
||||
src="/plugins/home/assets/welcome_graphic_light_2x.png"
|
||||
style={Object {}}
|
||||
/>
|
||||
</figure>
|
||||
|
|
|
@ -50,8 +50,8 @@ export function DashboardEmptyScreen({
|
|||
}: DashboardEmptyScreenProps) {
|
||||
const IS_DARK_THEME = uiSettings.get('theme:darkMode');
|
||||
const emptyStateGraphicURL = IS_DARK_THEME
|
||||
? '/plugins/kibana/home/assets/welcome_graphic_dark_2x.png'
|
||||
: '/plugins/kibana/home/assets/welcome_graphic_light_2x.png';
|
||||
? '/plugins/home/assets/welcome_graphic_dark_2x.png'
|
||||
: '/plugins/home/assets/welcome_graphic_light_2x.png';
|
||||
const linkToVisualizeParagraph = (
|
||||
<p data-test-subj="linkToVisualizeParagraph">
|
||||
<EuiButton
|
||||
|
|
|
@ -42,7 +42,7 @@ interface Props {
|
|||
export function SampleDataCard({ urlBasePath, onDecline, onConfirm }: Props) {
|
||||
return (
|
||||
<EuiCard
|
||||
image={`${urlBasePath}/plugins/kibana/home/assets/illustration_elastic_heart.png`}
|
||||
image={`${urlBasePath}/plugins/home/assets/illustration_elastic_heart.png`}
|
||||
textAlign="left"
|
||||
title={<FormattedMessage id="home.letsStartTitle" defaultMessage="Let's get started" />}
|
||||
description={
|
||||
|
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
@ -36,8 +36,8 @@ export const ecommerceSpecProvider = function(): SampleDatasetSchema {
|
|||
id: 'ecommerce',
|
||||
name: ecommerceName,
|
||||
description: ecommerceDescription,
|
||||
previewImagePath: '/plugins/kibana/home/sample_data_resources/ecommerce/dashboard.png',
|
||||
darkPreviewImagePath: '/plugins/kibana/home/sample_data_resources/ecommerce/dashboard_dark.png',
|
||||
previewImagePath: '/plugins/home/assets/sample_data_resources/ecommerce/dashboard.png',
|
||||
darkPreviewImagePath: '/plugins/home/assets/sample_data_resources/ecommerce/dashboard_dark.png',
|
||||
overviewDashboard: '722b74f0-b882-11e8-a6d9-e546fe2bba5f',
|
||||
appLinks: initialAppLinks,
|
||||
defaultIndex: 'ff959d40-b880-11e8-a6d9-e546fe2bba5f',
|
||||
|
|
|
@ -36,8 +36,8 @@ export const flightsSpecProvider = function(): SampleDatasetSchema {
|
|||
id: 'flights',
|
||||
name: flightsName,
|
||||
description: flightsDescription,
|
||||
previewImagePath: '/plugins/kibana/home/sample_data_resources/flights/dashboard.png',
|
||||
darkPreviewImagePath: '/plugins/kibana/home/sample_data_resources/flights/dashboard_dark.png',
|
||||
previewImagePath: '/plugins/home/assets/sample_data_resources/flights/dashboard.png',
|
||||
darkPreviewImagePath: '/plugins/home/assets/sample_data_resources/flights/dashboard_dark.png',
|
||||
overviewDashboard: '7adfa750-4c81-11e8-b3d7-01146121b73d',
|
||||
appLinks: initialAppLinks,
|
||||
defaultIndex: 'd3d7af60-4c81-11e8-b3d7-01146121b73d',
|
||||
|
|
|
@ -36,8 +36,8 @@ export const logsSpecProvider = function(): SampleDatasetSchema {
|
|||
id: 'logs',
|
||||
name: logsName,
|
||||
description: logsDescription,
|
||||
previewImagePath: '/plugins/kibana/home/sample_data_resources/logs/dashboard.png',
|
||||
darkPreviewImagePath: '/plugins/kibana/home/sample_data_resources/logs/dashboard_dark.png',
|
||||
previewImagePath: '/plugins/home/assets/sample_data_resources/logs/dashboard.png',
|
||||
darkPreviewImagePath: '/plugins/home/assets/sample_data_resources/logs/dashboard_dark.png',
|
||||
overviewDashboard: 'edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b',
|
||||
appLinks: initialAppLinks,
|
||||
defaultIndex: '90943e30-9a47-11e8-b64d-95841ca0b247',
|
||||
|
|