diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_stats.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_stats.tsx deleted file mode 100644 index 1d5ca88112f4e..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_stats.tsx +++ /dev/null @@ -1,148 +0,0 @@ -/* - * 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, { useEffect } from 'react'; - -import { useActions, useValues } from 'kea'; - -import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiStat } from '@elastic/eui'; - -import { i18n } from '@kbn/i18n'; - -import { Status } from '../../../../../common/types/api'; - -import { FetchSyncJobsStatsApiLogic } from '../../api/stats/fetch_sync_jobs_stats_api_logic'; - -export const IndicesStats: React.FC = () => { - const { makeRequest } = useActions(FetchSyncJobsStatsApiLogic); - const { data, status } = useValues(FetchSyncJobsStatsApiLogic); - const isLoading = status === Status.LOADING; - - useEffect(() => { - makeRequest({}); - }, []); - - const UNKNOWN_STRING = i18n.translate( - 'xpack.enterpriseSearch.content.searchIndices.jobStats.unknown', - { defaultMessage: 'Unknown' } - ); - - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/search_indices.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/search_indices.tsx index 218f2bcc550b4..dece1b4beb2f7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/search_indices.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/search_indices.tsx @@ -38,7 +38,6 @@ import { DefaultSettingsFlyout } from '../settings/default_settings_flyout'; import { DeleteIndexModal } from './delete_index_modal'; import { IndicesLogic } from './indices_logic'; -import { IndicesStats } from './indices_stats'; import { IndicesTable } from './indices_table'; import './search_indices.scss'; @@ -176,9 +175,6 @@ export const SearchIndices: React.FC = () => { )} {!hasNoIndices ? ( - - - diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 0031fbbb5666f..9ece6018e8569 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -17027,13 +17027,6 @@ "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.idle.label": "Inactif", "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.incomplete.label": "Incomplet", "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.syncError.label": "Échec de la synchronisation", - "xpack.enterpriseSearch.content.searchIndices.jobStats.connectedMethods": "Méthodes d'ingestion connectées", - "xpack.enterpriseSearch.content.searchIndices.jobStats.errorSyncs": "Erreurs de synchronisation", - "xpack.enterpriseSearch.content.searchIndices.jobStats.incompleteMethods": "Méthodes d'ingestion incomplètes", - "xpack.enterpriseSearch.content.searchIndices.jobStats.longRunningSyncs": "Synchronisations inactives", - "xpack.enterpriseSearch.content.searchIndices.jobStats.orphanedSyncs": "Synchronisations orphelines", - "xpack.enterpriseSearch.content.searchIndices.jobStats.runningSyncs": "Synchronisations en cours d'exécution", - "xpack.enterpriseSearch.content.searchIndices.jobStats.unknown": "Inconnu", "xpack.enterpriseSearch.content.searchIndices.name.columnTitle": "Nom de l'index", "xpack.enterpriseSearch.content.searchIndices.searchIndices.breadcrumb": "Index Elasticsearch", "xpack.enterpriseSearch.content.searchIndices.searchIndices.includeHidden.label": "Afficher les index masqués", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 801f3aed69cd6..60a81a5ac430b 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -16773,13 +16773,6 @@ "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.idle.label": "アイドル", "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.incomplete.label": "未完了", "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.syncError.label": "同期失敗", - "xpack.enterpriseSearch.content.searchIndices.jobStats.connectedMethods": "接続されたインジェストメソッド", - "xpack.enterpriseSearch.content.searchIndices.jobStats.errorSyncs": "同期エラー", - "xpack.enterpriseSearch.content.searchIndices.jobStats.incompleteMethods": "不完全なインジェストメソッド", - "xpack.enterpriseSearch.content.searchIndices.jobStats.longRunningSyncs": "アイドル同期", - "xpack.enterpriseSearch.content.searchIndices.jobStats.orphanedSyncs": "孤立した同期", - "xpack.enterpriseSearch.content.searchIndices.jobStats.runningSyncs": "実行中の同期", - "xpack.enterpriseSearch.content.searchIndices.jobStats.unknown": "不明", "xpack.enterpriseSearch.content.searchIndices.name.columnTitle": "インデックス名", "xpack.enterpriseSearch.content.searchIndices.searchIndices.breadcrumb": "デフォルトのインデックス", "xpack.enterpriseSearch.content.searchIndices.searchIndices.includeHidden.label": "非表示のインデックスを表示", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 312eb075003c8..9579195f7559f 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -16802,13 +16802,6 @@ "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.idle.label": "空闲", "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.incomplete.label": "不完整", "xpack.enterpriseSearch.content.searchIndices.ingestionStatus.syncError.label": "同步失败", - "xpack.enterpriseSearch.content.searchIndices.jobStats.connectedMethods": "已连接采集方法", - "xpack.enterpriseSearch.content.searchIndices.jobStats.errorSyncs": "同步错误", - "xpack.enterpriseSearch.content.searchIndices.jobStats.incompleteMethods": "未完成的采集方法", - "xpack.enterpriseSearch.content.searchIndices.jobStats.longRunningSyncs": "闲置同步", - "xpack.enterpriseSearch.content.searchIndices.jobStats.orphanedSyncs": "孤立同步", - "xpack.enterpriseSearch.content.searchIndices.jobStats.runningSyncs": "正在运行同步", - "xpack.enterpriseSearch.content.searchIndices.jobStats.unknown": "未知", "xpack.enterpriseSearch.content.searchIndices.name.columnTitle": "索引名称", "xpack.enterpriseSearch.content.searchIndices.searchIndices.breadcrumb": "Elasticsearch 索引", "xpack.enterpriseSearch.content.searchIndices.searchIndices.includeHidden.label": "显示隐藏的索引",