From 1cd0d6fe516eb59ecb1081137c34d0964c6de80f Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 27 Aug 2021 22:54:06 -0400 Subject: [PATCH] [7.15] Remove index pattern placeholder advanced setting (#110334) (#110374) * Remove index pattern placeholder advanced setting (#110334) * remove index pattern placeholder setting * remove unused translations * update docs Co-authored-by: Matthew Kime --- .../kibana-plugin-plugins-data-public.ui_settings.md | 1 - .../kibana-plugin-plugins-data-server.ui_settings.md | 1 - src/plugins/data/common/constants.ts | 1 - src/plugins/data/public/public.api.md | 1 - src/plugins/data/server/server.api.md | 1 - src/plugins/data/server/ui_settings.ts | 11 ----------- x-pack/plugins/translations/translations/ja-JP.json | 2 -- x-pack/plugins/translations/translations/zh-CN.json | 2 -- 8 files changed, 20 deletions(-) diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.ui_settings.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.ui_settings.md index fba9afd6f6648..6ffa324eb45dd 100644 --- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.ui_settings.md +++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.ui_settings.md @@ -27,7 +27,6 @@ UI_SETTINGS: { readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: "timepicker:refreshIntervalDefaults"; readonly TIMEPICKER_QUICK_RANGES: "timepicker:quickRanges"; readonly TIMEPICKER_TIME_DEFAULTS: "timepicker:timeDefaults"; - readonly INDEXPATTERN_PLACEHOLDER: "indexPattern:placeholder"; readonly FILTERS_PINNED_BY_DEFAULT: "filters:pinnedByDefault"; readonly FILTERS_EDITOR_SUGGEST_VALUES: "filterEditor:suggestValues"; readonly AUTOCOMPLETE_USE_TIMERANGE: "autocomplete:useTimeRange"; diff --git a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ui_settings.md b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ui_settings.md index e1f002674ef6d..3def743198c87 100644 --- a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ui_settings.md +++ b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ui_settings.md @@ -27,7 +27,6 @@ UI_SETTINGS: { readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: "timepicker:refreshIntervalDefaults"; readonly TIMEPICKER_QUICK_RANGES: "timepicker:quickRanges"; readonly TIMEPICKER_TIME_DEFAULTS: "timepicker:timeDefaults"; - readonly INDEXPATTERN_PLACEHOLDER: "indexPattern:placeholder"; readonly FILTERS_PINNED_BY_DEFAULT: "filters:pinnedByDefault"; readonly FILTERS_EDITOR_SUGGEST_VALUES: "filterEditor:suggestValues"; readonly AUTOCOMPLETE_USE_TIMERANGE: "autocomplete:useTimeRange"; diff --git a/src/plugins/data/common/constants.ts b/src/plugins/data/common/constants.ts index 406da4e56d150..6644f0cb264e0 100644 --- a/src/plugins/data/common/constants.ts +++ b/src/plugins/data/common/constants.ts @@ -34,7 +34,6 @@ export const UI_SETTINGS = { TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: 'timepicker:refreshIntervalDefaults', TIMEPICKER_QUICK_RANGES: 'timepicker:quickRanges', TIMEPICKER_TIME_DEFAULTS: 'timepicker:timeDefaults', - INDEXPATTERN_PLACEHOLDER: 'indexPattern:placeholder', FILTERS_PINNED_BY_DEFAULT: 'filters:pinnedByDefault', FILTERS_EDITOR_SUGGEST_VALUES: 'filterEditor:suggestValues', AUTOCOMPLETE_USE_TIMERANGE: 'autocomplete:useTimeRange', diff --git a/src/plugins/data/public/public.api.md b/src/plugins/data/public/public.api.md index 03aea746e9545..9cf5a6e1dc206 100644 --- a/src/plugins/data/public/public.api.md +++ b/src/plugins/data/public/public.api.md @@ -2327,7 +2327,6 @@ export const UI_SETTINGS: { readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: "timepicker:refreshIntervalDefaults"; readonly TIMEPICKER_QUICK_RANGES: "timepicker:quickRanges"; readonly TIMEPICKER_TIME_DEFAULTS: "timepicker:timeDefaults"; - readonly INDEXPATTERN_PLACEHOLDER: "indexPattern:placeholder"; readonly FILTERS_PINNED_BY_DEFAULT: "filters:pinnedByDefault"; readonly FILTERS_EDITOR_SUGGEST_VALUES: "filterEditor:suggestValues"; readonly AUTOCOMPLETE_USE_TIMERANGE: "autocomplete:useTimeRange"; diff --git a/src/plugins/data/server/server.api.md b/src/plugins/data/server/server.api.md index cedf865a17f89..a212ed2291b82 100644 --- a/src/plugins/data/server/server.api.md +++ b/src/plugins/data/server/server.api.md @@ -854,7 +854,6 @@ export const UI_SETTINGS: { readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: "timepicker:refreshIntervalDefaults"; readonly TIMEPICKER_QUICK_RANGES: "timepicker:quickRanges"; readonly TIMEPICKER_TIME_DEFAULTS: "timepicker:timeDefaults"; - readonly INDEXPATTERN_PLACEHOLDER: "indexPattern:placeholder"; readonly FILTERS_PINNED_BY_DEFAULT: "filters:pinnedByDefault"; readonly FILTERS_EDITOR_SUGGEST_VALUES: "filterEditor:suggestValues"; readonly AUTOCOMPLETE_USE_TIMERANGE: "autocomplete:useTimeRange"; diff --git a/src/plugins/data/server/ui_settings.ts b/src/plugins/data/server/ui_settings.ts index 360529ad5a735..46a35c1229236 100644 --- a/src/plugins/data/server/ui_settings.ts +++ b/src/plugins/data/server/ui_settings.ts @@ -473,17 +473,6 @@ export function getUiSettings(): Record> { }) ), }, - [UI_SETTINGS.INDEXPATTERN_PLACEHOLDER]: { - name: i18n.translate('data.advancedSettings.indexPatternPlaceholderTitle', { - defaultMessage: 'Index pattern placeholder', - }), - value: '', - description: i18n.translate('data.advancedSettings.indexPatternPlaceholderText', { - defaultMessage: - 'The placeholder for the "Index pattern name" field in "Management > Index Patterns > Create Index Pattern".', - }), - schema: schema.string(), - }, [UI_SETTINGS.FILTERS_PINNED_BY_DEFAULT]: { name: i18n.translate('data.advancedSettings.pinFiltersTitle', { defaultMessage: 'Pin filters by default', diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index f106bdcae5550..e91ef3edc57fe 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -722,8 +722,6 @@ "data.advancedSettings.histogram.maxBarsTitle": "バケットの最大数", "data.advancedSettings.historyLimitText": "履歴があるフィールド (例:クエリインプット) に個の数の最近の値が表示されます", "data.advancedSettings.historyLimitTitle": "履歴制限数", - "data.advancedSettings.indexPatternPlaceholderText": "「管理 > インデックスパターン > インデックスパターンを作成」で使用される「インデックスパターン名」フィールドのプレースホルダーです。", - "data.advancedSettings.indexPatternPlaceholderTitle": "インデックスパターンのプレースホルダー", "data.advancedSettings.metaFieldsText": "_source の外にあり、ドキュメントが表示される時に融合されるフィールドです", "data.advancedSettings.metaFieldsTitle": "メタフィールド", "data.advancedSettings.pinFiltersText": "フィルターがデフォルトでグローバル (ピン付けされた状態) になるかの設定です", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 70d7ae71690fc..97a211cbb07a6 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -725,8 +725,6 @@ "data.advancedSettings.histogram.maxBarsTitle": "最大存储桶数", "data.advancedSettings.historyLimitText": "在具有历史记录(例如查询输入)的字段中,显示此数目的最近值", "data.advancedSettings.historyLimitTitle": "历史记录限制", - "data.advancedSettings.indexPatternPlaceholderText": "在“管理”>“索引模式”>“创建索引模式”中“索引模式名称”字段的占位符。", - "data.advancedSettings.indexPatternPlaceholderTitle": "索引模式占位符", "data.advancedSettings.metaFieldsText": "_source 之外存在的、在显示我们的文档时将合并进其中的字段", "data.advancedSettings.metaFieldsTitle": "元字段", "data.advancedSettings.pinFiltersText": "筛选是否应默认有全局状态(置顶)",