Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove index pattern placeholder advanced setting #110334

Merged
merged 2 commits into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/plugins/data/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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',
Expand Down
11 changes: 0 additions & 11 deletions src/plugins/data/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,17 +454,6 @@ export function getUiSettings(): Record<string, UiSettingsParams<unknown>> {
})
),
},
[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',
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,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": "フィルターがデフォルトでグローバル (ピン付けされた状態) になるかの設定です",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,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": "筛选是否应默认有全局状态(置顶)",
Expand Down