Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 156645-update-shards-error-modal
- Loading branch information
Showing
21 changed files
with
441 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ic/applications/enterprise_search_overview/assets/behavioral_analytics_logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
...lic/applications/enterprise_search_overview/assets/search_applications_logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...erprise_search_overview/components/product_selector/behavioral_analytics_product_card.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import React from 'react'; | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
|
||
import { ANALYTICS_PLUGIN } from '../../../../../common/constants'; | ||
import { docLinks } from '../../../shared/doc_links'; | ||
import baLogo from '../../assets/behavioral_analytics_logo.svg'; | ||
import { ProductCard } from '../product_card'; | ||
|
||
export const BehavioralAnalyticsProductCard = () => ( | ||
<ProductCard | ||
cta={i18n.translate('xpack.enterpriseSearch.behavioralAnalytics.productCardCTA', { | ||
defaultMessage: 'Explore Behavioral Analytics', | ||
})} | ||
description={i18n.translate('xpack.enterpriseSearch.behavioralAnalytics.description', { | ||
defaultMessage: | ||
'Dashboards and tools for visualizing end-user behavior and measuring the performance of your search applications', | ||
})} | ||
emptyCta | ||
features={[ | ||
i18n.translate('xpack.enterpriseSearch.behavioralAnalytics.features.tracking', { | ||
defaultMessage: "Track users' searching and clicking behavior", | ||
}), | ||
i18n.translate('xpack.enterpriseSearch.behavioralAnalytics.features.dashboard', { | ||
defaultMessage: 'Search management dashboards', | ||
}), | ||
i18n.translate('xpack.enterpriseSearch.behavioralAnalytics.features.contentGaps', { | ||
defaultMessage: 'Identify gaps in your content', | ||
}), | ||
]} | ||
icon={baLogo} | ||
iconSize="l" | ||
name={ANALYTICS_PLUGIN.NAME} | ||
productId={ANALYTICS_PLUGIN.ID} | ||
resourceLinks={[ | ||
{ | ||
label: i18n.translate( | ||
'xpack.enterpriseSearch.behavioralAnalytics.resources.gettingStartedLabel', | ||
{ | ||
defaultMessage: 'Getting started with Behavioral Analytics', | ||
} | ||
), | ||
to: docLinks.behavioralAnalytics, | ||
}, | ||
]} | ||
url={ANALYTICS_PLUGIN.URL} | ||
/> | ||
); |
97 changes: 97 additions & 0 deletions
97
...ons/enterprise_search_overview/components/product_selector/elasticsearch_product_card.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import React from 'react'; | ||
|
||
import { useValues } from 'kea'; | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
|
||
import { ELASTICSEARCH_PLUGIN, SEARCH_EXPERIENCES_PLUGIN } from '../../../../../common/constants'; | ||
import { docLinks } from '../../../shared/doc_links'; | ||
import { HttpLogic } from '../../../shared/http'; | ||
import { ProductCard } from '../product_card'; | ||
|
||
export const ElasticsearchProductCard = () => { | ||
const { http } = useValues(HttpLogic); | ||
return ( | ||
<ProductCard | ||
data-test-subj="productCard-elasticsearch" | ||
description={i18n.translate('xpack.enterpriseSearch.elasticsearch.productCardDescription', { | ||
defaultMessage: | ||
'Ideal for bespoke applications, Elasticsearch helps you build highly customizable search and offers many different ingestion methods.', | ||
})} | ||
features={[ | ||
i18n.translate('xpack.enterpriseSearch.elasticsearch.features.integrate', { | ||
defaultMessage: 'Integrate with databases, websites, and more', | ||
}), | ||
i18n.translate('xpack.enterpriseSearch.elasticsearch.features.buildTooling', { | ||
defaultMessage: 'Build custom tooling', | ||
}), | ||
i18n.translate('xpack.enterpriseSearch.elasticsearch.features.buildSearchExperiences', { | ||
defaultMessage: 'Build custom search experiences', | ||
}), | ||
i18n.translate('xpack.enterpriseSearch.elasticsearch.features.esre', { | ||
defaultMessage: 'The Elasticsearch Relevance Engine™ (ESRE)', | ||
}), | ||
]} | ||
icon="logoElasticsearch" | ||
name={ELASTICSEARCH_PLUGIN.NAME} | ||
productId={ELASTICSEARCH_PLUGIN.ID} | ||
resourceLinks={[ | ||
{ | ||
label: i18n.translate( | ||
'xpack.enterpriseSearch.elasticsearch.resources.gettingStartedLabel', | ||
{ | ||
defaultMessage: 'Getting started with Elasticsearch', | ||
} | ||
), | ||
to: docLinks.start, | ||
}, | ||
{ | ||
label: i18n.translate( | ||
'xpack.enterpriseSearch.elasticsearch.resources.createNewIndexLabel', | ||
{ | ||
defaultMessage: 'Create a new index', | ||
} | ||
), | ||
to: docLinks.start, | ||
}, | ||
{ | ||
label: i18n.translate( | ||
'xpack.enterpriseSearch.elasticsearch.resources.languageClientLabel', | ||
{ | ||
defaultMessage: 'Set up a language client', | ||
} | ||
), | ||
to: docLinks.languageClients, | ||
}, | ||
{ | ||
label: i18n.translate('xpack.enterpriseSearch.elasticsearch.resources.searchUILabel', { | ||
defaultMessage: 'Search UI for Elasticsearch', | ||
}), | ||
to: docLinks.searchUIElasticsearch, | ||
}, | ||
{ | ||
label: i18n.translate('xpack.enterpriseSearch.elasticsearch.resources.elserLabel', { | ||
defaultMessage: 'ELSER text expansion', | ||
}), | ||
to: docLinks.elser, | ||
}, | ||
{ | ||
label: i18n.translate( | ||
'xpack.enterpriseSearch.elasticsearch.resources.searchExperiencesLabel', | ||
{ | ||
defaultMessage: 'Search Experiences', | ||
} | ||
), | ||
to: http.basePath.prepend(SEARCH_EXPERIENCES_PLUGIN.URL), | ||
}, | ||
]} | ||
/> | ||
); | ||
}; |
Oops, something went wrong.