Skip to content

Commit

Permalink
[Discover] Remove angular field filter template code (#53513)
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal authored Dec 19, 2019
1 parent 990ecda commit e9ac373
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,64 +13,6 @@
types="fieldTypes"
>
</discover-field-search>
<div data-test-subj="discoverFieldFilter" class="dscFieldFilter" ng-show="showFilter">
<div class="form-group" >
<label
for="discoverFieldChooserFilterAggregatable"
i18n-id="kbn.discover.fieldChooser.filter.aggregatableLabel"
i18n-default-message="Aggregatable"
></label>
<select
id="discoverFieldChooserFilterAggregatable"
ng-options="opt.value as opt.label for opt in filter.boolOpts"
ng-model="filter.vals.aggregatable"
class="form-control">
</select>
</div>
<div class="form-group" ng-show="showFilter">
<label
for="discoverFieldChooserFilterSearchable"
i18n-id="kbn.discover.fieldChooser.filter.searchableLabel"
i18n-default-message="Searchable"
></label>
<select
id="discoverFieldChooserFilterSearchable"
ng-options="opt.value as opt.label for opt in filter.boolOpts"
ng-model="filter.vals.searchable"
class="form-control">
</select>
</div>
<div class="form-group" ng-show="showFilter">
<label
for="discoverFieldChooserFilterType"
i18n-id="kbn.discover.fieldChooser.filter.typeLabel"
i18n-default-message="Type"
></label>
<select
id="discoverFieldChooserFilterType"
ng-options="field as field for field in fieldTypes"
ng-model="filter.vals.type"
class="form-control">
</select>
</div>
<div class="form-group" ng-show="showFilter">
<label for="discoverFieldChooserHideMissingFields">
<input id="discoverFieldChooserHideMissingFields" type="checkbox" ng-model="filter.vals.missing">
<span
i18n-id="kbn.discover.fieldChooser.filter.hideMissingFieldsLabel"
i18n-default-message="Hide missing fields"
></span>
</label>
</div>
<button
ng-show="showFilter"
ng-click="filter.reset()"
ng-disabled="!filter.active"
class="kuiButton kuiButton--danger kuiButton--fullWidth"
i18n-id="kbn.discover.fieldChooser.filter.resetFiltersButtonLabel"
i18n-default-message="Reset filters"
></button>
</div>
</form>
</div>

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 @@ -1551,7 +1551,6 @@
"kbn.discover.fieldChooser.filter.hideMissingFieldsLabel": "未入力のフィールドを非表示",
"kbn.discover.fieldChooser.filter.indexAndFieldsSectionAriaLabel": "インデックスとフィールド",
"kbn.discover.fieldChooser.filter.popularTitle": "人気",
"kbn.discover.fieldChooser.filter.resetFiltersButtonLabel": "フィルターをリセット",
"kbn.discover.fieldChooser.filter.searchableLabel": "検索可能",
"kbn.discover.fieldChooser.filter.selectedFieldsTitle": "スクリプトフィールド",
"kbn.discover.fieldChooser.filter.typeLabel": "タイプ",
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 @@ -1552,7 +1552,6 @@
"kbn.discover.fieldChooser.filter.hideMissingFieldsLabel": "隐藏缺失字段",
"kbn.discover.fieldChooser.filter.indexAndFieldsSectionAriaLabel": "索引和字段",
"kbn.discover.fieldChooser.filter.popularTitle": "常用",
"kbn.discover.fieldChooser.filter.resetFiltersButtonLabel": "重置筛选",
"kbn.discover.fieldChooser.filter.searchableLabel": "可搜索",
"kbn.discover.fieldChooser.filter.selectedFieldsTitle": "选定字段",
"kbn.discover.fieldChooser.filter.typeLabel": "类型",
Expand Down

0 comments on commit e9ac373

Please sign in to comment.