mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Onboarding] Change logo for Elasticsearch (#210920)
This PR is related to changing the 'EnterpriseSearch' logo to 'Elasticsearch' logo in different places in the code-base. <img width="643" alt="Screenshot 2025-02-12 at 4 03 35 PM" src="https://github.com/user-attachments/assets/623abb76-07c8-4697-9cfe-d2fcba9f8297" /> <img width="669" alt="Screenshot 2025-02-12 at 4 03 42 PM" src="https://github.com/user-attachments/assets/fe2d6ba8-656e-4172-881e-a4fe3c5f0aeb" /> <img width="972" alt="Screenshot 2025-02-12 at 4 03 53 PM" src="https://github.com/user-attachments/assets/151cdb47-e9e8-49ad-ac70-11513789b009" /> --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
b8176ea52f
commit
6945828b57
15 changed files with 22 additions and 22 deletions
|
@ -26,7 +26,7 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = Object.freeze
|
|||
defaultMessage: 'Elasticsearch',
|
||||
}),
|
||||
order: 2000,
|
||||
euiIconType: 'logoEnterpriseSearch',
|
||||
euiIconType: 'logoElasticsearch',
|
||||
},
|
||||
observability: {
|
||||
id: 'observability',
|
||||
|
|
|
@ -292,7 +292,7 @@ export const ResultsLinks: FC<Props> = ({
|
|||
<EuiFlexItem>
|
||||
<EuiCard
|
||||
hasBorder
|
||||
icon={<EuiIcon size="xxl" type={`logoEnterpriseSearch`} />}
|
||||
icon={<EuiIcon size="xxl" type={`logoElasticsearch`} />}
|
||||
data-test-subj="fileDataVisFilebeatConfigLink"
|
||||
title={
|
||||
<FormattedMessage
|
||||
|
|
|
@ -44,7 +44,7 @@ export const ENTERPRISE_SEARCH_OVERVIEW_PLUGIN = {
|
|||
defaultMessage: 'Create search experiences with a refined set of APIs and tools.',
|
||||
}),
|
||||
URL: '/app/elasticsearch/overview',
|
||||
LOGO: 'logoEnterpriseSearch',
|
||||
LOGO: 'logoElasticsearch',
|
||||
};
|
||||
|
||||
export const ENTERPRISE_SEARCH_CONTENT_PLUGIN = {
|
||||
|
@ -58,7 +58,7 @@ export const ENTERPRISE_SEARCH_CONTENT_PLUGIN = {
|
|||
'Enterprise search offers a number of ways to easily make your data searchable. Choose from the web crawler, Elasticsearch indices, API, direct uploads, or thrid party connectors.', // TODO: Make sure this content is correct.
|
||||
}),
|
||||
URL: '/app/elasticsearch/content',
|
||||
LOGO: 'logoEnterpriseSearch',
|
||||
LOGO: 'logoElasticsearch',
|
||||
SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/',
|
||||
};
|
||||
|
||||
|
@ -75,7 +75,7 @@ export const AI_SEARCH_PLUGIN = {
|
|||
'Toolkit for enabling developers to build AI search-powered applications using the Elastic platform.',
|
||||
}),
|
||||
URL: '/app/elasticsearch/ai_search',
|
||||
LOGO: 'logoEnterpriseSearch',
|
||||
LOGO: 'logoElasticsearch',
|
||||
};
|
||||
|
||||
export const ANALYTICS_PLUGIN = {
|
||||
|
@ -129,7 +129,7 @@ export const SEARCH_EXPERIENCES_PLUGIN = {
|
|||
|
||||
export const APPLICATIONS_PLUGIN = {
|
||||
ID: ENTERPRISE_SEARCH_APPLICATIONS_APP_ID,
|
||||
LOGO: 'logoEnterpriseSearch',
|
||||
LOGO: 'logoElasticsearch',
|
||||
NAME: i18n.translate('xpack.enterpriseSearch.applications.productName', {
|
||||
defaultMessage: 'Applications',
|
||||
}),
|
||||
|
@ -146,7 +146,7 @@ export const VECTOR_SEARCH_PLUGIN = {
|
|||
'Elasticsearch can be used as a vector database, which enables vector search and semantic search use cases.',
|
||||
}),
|
||||
ID: SEARCH_VECTOR_SEARCH,
|
||||
LOGO: 'logoEnterpriseSearch',
|
||||
LOGO: 'logoElasticsearch',
|
||||
NAME: i18n.translate('xpack.enterpriseSearch.vectorSearch.productName', {
|
||||
defaultMessage: 'Vector Search',
|
||||
}),
|
||||
|
@ -163,7 +163,7 @@ export const SEMANTIC_SEARCH_PLUGIN = {
|
|||
'Easily add semantic search to Elasticsearch with inference endpoints and the semantic_text field type, to boost search relevance.',
|
||||
}),
|
||||
ID: SEARCH_SEMANTIC_SEARCH,
|
||||
LOGO: 'logoEnterpriseSearch',
|
||||
LOGO: 'logoElasticsearch',
|
||||
NAME: i18n.translate('xpack.enterpriseSearch.SemanticSearch.productName', {
|
||||
defaultMessage: 'Semantic Search',
|
||||
}),
|
||||
|
|
|
@ -222,7 +222,7 @@ describe('EnterpriseSearchPageTemplateWrapper', () => {
|
|||
);
|
||||
|
||||
expect(wrapper.find(KibanaPageTemplate).prop('solutionNav')).toEqual({
|
||||
icon: 'logoEnterpriseSearch',
|
||||
icon: 'logoElasticsearch',
|
||||
name: 'Elasticsearch',
|
||||
items: [],
|
||||
});
|
||||
|
|
|
@ -71,7 +71,7 @@ export const EnterpriseSearchPageTemplateWrapper: React.FC<PageTemplateProps> =
|
|||
const hasCustomEmptyState = !!emptyState;
|
||||
const showCustomEmptyState = hasCustomEmptyState && isEmptyState;
|
||||
|
||||
const navIcon = solutionNavIcon ?? 'logoEnterpriseSearch';
|
||||
const navIcon = solutionNavIcon ?? 'logoElasticsearch';
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (useEndpointHeaderActions) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import './loading.scss';
|
|||
|
||||
export const Loading: React.FC = () => (
|
||||
<div className="enterpriseSearchLoading">
|
||||
<EuiLoadingLogo size="xl" logo="logoEnterpriseSearch" />
|
||||
<EuiLoadingLogo size="xl" logo="logoElasticsearch" />
|
||||
</div>
|
||||
);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ export const NotFoundPrompt: React.FC<Props> = ({
|
|||
|
||||
return (
|
||||
<KibanaPageTemplate.EmptyPrompt
|
||||
iconType="logoEnterpriseSearch"
|
||||
iconType="logoElasticsearch"
|
||||
title={
|
||||
<h1>
|
||||
{i18n.translate('xpack.enterpriseSearch.notFound.title', {
|
||||
|
|
|
@ -435,7 +435,7 @@ export class EnterpriseSearchPlugin implements Plugin {
|
|||
if (plugins.home) {
|
||||
plugins.home.featureCatalogue.registerSolution({
|
||||
description: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.DESCRIPTION,
|
||||
icon: 'logoEnterpriseSearch',
|
||||
icon: 'logoElasticsearch',
|
||||
id: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.ID,
|
||||
order: 100,
|
||||
path: ENTERPRISE_SEARCH_OVERVIEW_PLUGIN.URL,
|
||||
|
@ -465,7 +465,7 @@ export class EnterpriseSearchPlugin implements Plugin {
|
|||
plugins.home.featureCatalogue.register({
|
||||
category: 'data',
|
||||
description: SEARCH_EXPERIENCES_PLUGIN.DESCRIPTION,
|
||||
icon: 'logoEnterpriseSearch',
|
||||
icon: 'logoElasticsearch',
|
||||
id: SEARCH_EXPERIENCES_PLUGIN.ID,
|
||||
path: SEARCH_EXPERIENCES_PLUGIN.URL,
|
||||
showOnHomePage: false,
|
||||
|
|
|
@ -49,7 +49,7 @@ export const registerEnterpriseSearchIntegrations = (
|
|||
icons: [
|
||||
{
|
||||
type: 'eui',
|
||||
src: 'logoEnterpriseSearch',
|
||||
src: 'logoElasticsearch',
|
||||
},
|
||||
],
|
||||
shipper: 'search',
|
||||
|
|
|
@ -92,7 +92,7 @@ describe('Search search provider', () => {
|
|||
};
|
||||
|
||||
const searchAIResult = {
|
||||
icon: 'logoEnterpriseSearch',
|
||||
icon: 'logoElasticsearch',
|
||||
id: 'ai_search',
|
||||
score: 80,
|
||||
title: 'Search AI',
|
||||
|
|
|
@ -41,7 +41,7 @@ export function toSearchResult({
|
|||
const newUrl = `${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/connectors/select_connector`;
|
||||
|
||||
return {
|
||||
icon: iconPath || 'logoEnterpriseSearch',
|
||||
icon: iconPath || 'logoElasticsearch',
|
||||
id: serviceType,
|
||||
score,
|
||||
title: name,
|
||||
|
|
|
@ -19,7 +19,7 @@ export function getConnectorTypes(staticAssets: IStaticAssets): ConnectorServerS
|
|||
...connector,
|
||||
iconPath: connector.iconPath
|
||||
? staticAssets.getPluginAssetHref(`icons/${connector.iconPath}`)
|
||||
: 'logoEnterpriseSearch',
|
||||
: 'logoElasticsearch',
|
||||
}));
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,6 @@ export function getConnectorFullTypes(staticAssets: IStaticAssets): ConnectorDef
|
|||
...connector,
|
||||
iconPath: connector.iconPath
|
||||
? staticAssets.getPluginAssetHref(`icons/${connector.iconPath}`)
|
||||
: 'logoEnterpriseSearch',
|
||||
: 'logoElasticsearch',
|
||||
}));
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ export class SearchPlaygroundPlugin
|
|||
id: PLUGIN_ID,
|
||||
appRoute: PLUGIN_PATH,
|
||||
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
|
||||
euiIconType: 'logoEnterpriseSearch',
|
||||
euiIconType: 'logoElasticsearch',
|
||||
status: AppStatus.inaccessible,
|
||||
title: PLUGIN_NAME,
|
||||
updater$: this.appUpdater$,
|
||||
|
|
|
@ -61,7 +61,7 @@ describe('classicNavigationFactory', function () {
|
|||
},
|
||||
];
|
||||
expect(classicNavigationFactory(items, core, history)).toEqual({
|
||||
icon: 'logoEnterpriseSearch',
|
||||
icon: 'logoElasticsearch',
|
||||
items: [
|
||||
{
|
||||
href: '/app/elasticsearch/overview',
|
||||
|
|
|
@ -39,7 +39,7 @@ export const classicNavigationFactory = (
|
|||
|
||||
return {
|
||||
items,
|
||||
icon: 'logoEnterpriseSearch',
|
||||
icon: 'logoElasticsearch',
|
||||
name: i18n.translate('xpack.searchNavigation.classicNav.name', {
|
||||
defaultMessage: 'Elasticsearch',
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue