Skip to content

Commit

Permalink
[Enterprise Search] Remove view additional integration link (elastic#…
Browse files Browse the repository at this point in the history
…168085)

## Summary

Removes link to View additional integrations on Connector Creation page.
  • Loading branch information
efegurkan authored Oct 5, 2023
1 parent 4ff0af8 commit 3c83fc5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { generateEncodedPath } from '../../../shared/encode_path_params';
import { HttpLogic } from '../../../shared/http';
import { KibanaLogic } from '../../../shared/kibana/kibana_logic';

import { EuiLinkTo } from '../../../shared/react_router_helpers';
import { NEW_INDEX_METHOD_PATH, NEW_INDEX_SELECT_CONNECTOR_PATH } from '../../routes';
import { EnterpriseSearchContentPageTemplate } from '../layout/page_template';
import { CannotConnect } from '../search_index/components/cannot_connect';
Expand All @@ -37,7 +36,7 @@ const getAvailableMethodOptions = (productFeatures: ProductFeatures): INGESTION_
};

export const NewIndex: React.FC = () => {
const { capabilities, config, productFeatures } = useValues(KibanaLogic);
const { config, productFeatures } = useValues(KibanaLogic);
const availableIngestionMethodOptions = getAvailableMethodOptions(productFeatures);
const { errorConnectingMessage } = useValues(HttpLogic);

Expand Down Expand Up @@ -91,15 +90,6 @@ export const NewIndex: React.FC = () => {
))}
</EuiFlexGroup>
</EuiFlexItem>
{capabilities.navLinks.integrations && (
<EuiFlexItem>
<EuiLinkTo to="/app/integrations" shouldNotCreateHref>
{i18n.translate('xpack.enterpriseSearch.content.newIndex.viewIntegrationsLink', {
defaultMessage: 'View additional integrations',
})}
</EuiLinkTo>
</EuiFlexItem>
)}
</>
</EuiFlexGroup>
</EnterpriseSearchContentPageTemplate>
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -13656,7 +13656,6 @@
"xpack.enterpriseSearch.content.newIndex.types.crawler": "Robot d'indexation",
"xpack.enterpriseSearch.content.newIndex.types.elasticsearch": "Index Elasticsearch",
"xpack.enterpriseSearch.content.newIndex.types.json": "JSON",
"xpack.enterpriseSearch.content.newIndex.viewIntegrationsLink": "Afficher des intégrations supplémentaires",
"xpack.enterpriseSearch.content.overview.documementExample.generateApiKeyButton.createNew": "Créer une clé d’API",
"xpack.enterpriseSearch.content.overview.documementExample.generateApiKeyButton.viewAll": "Afficher toutes les clés d’API",
"xpack.enterpriseSearch.content.overview.documentExample.clientLibraries.dotnet": ".NET",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -13670,7 +13670,6 @@
"xpack.enterpriseSearch.content.newIndex.types.crawler": "Webクローラー",
"xpack.enterpriseSearch.content.newIndex.types.elasticsearch": "Elasticsearchインデックス",
"xpack.enterpriseSearch.content.newIndex.types.json": "JSON",
"xpack.enterpriseSearch.content.newIndex.viewIntegrationsLink": "追加の統合を表示",
"xpack.enterpriseSearch.content.overview.documementExample.generateApiKeyButton.createNew": "新しいAPIキーを作成",
"xpack.enterpriseSearch.content.overview.documementExample.generateApiKeyButton.viewAll": "すべてのAPIキーを表示",
"xpack.enterpriseSearch.content.overview.documentExample.clientLibraries.dotnet": ".NET",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -13670,7 +13670,6 @@
"xpack.enterpriseSearch.content.newIndex.types.crawler": "网络爬虫",
"xpack.enterpriseSearch.content.newIndex.types.elasticsearch": "Elasticsearch 索引",
"xpack.enterpriseSearch.content.newIndex.types.json": "JSON",
"xpack.enterpriseSearch.content.newIndex.viewIntegrationsLink": "查看其他集成",
"xpack.enterpriseSearch.content.overview.documementExample.generateApiKeyButton.createNew": "创建新 API 密钥",
"xpack.enterpriseSearch.content.overview.documementExample.generateApiKeyButton.viewAll": "查看所有 API 密钥",
"xpack.enterpriseSearch.content.overview.documentExample.clientLibraries.dotnet": ".NET",
Expand Down

0 comments on commit 3c83fc5

Please sign in to comment.