-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove other bucket UI from significant terms (#17810)
# Conflicts: # src/ui/public/agg_types/buckets/terms.js
- Loading branch information
Showing
4 changed files
with
105 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<div> | ||
<div class="vis-editor-agg-form-row"> | ||
<div class="form-group"> | ||
<label> | ||
<input | ||
type="checkbox" | ||
class="kuiCheckBox" | ||
name="showOther" | ||
ng-model="agg.params.otherBucket" | ||
> | ||
Group other values in separate bucket | ||
<icon-tip | ||
position="'right'" | ||
content="'Values not in the top N are grouped in this bucket. To include documents with missing values, enable \'Show missing values\'.'" | ||
></icon-tip> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="vis-editor-agg-form-row" ng-if="agg.params.otherBucket"> | ||
<div class="form-group"> | ||
<label> | ||
Label for other bucket | ||
</label> | ||
<div> | ||
<input | ||
type="text" | ||
ng-model="agg.params.otherBucketLabel" | ||
class="form-control kuiSideBarInput" | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="vis-editor-agg-form-row"> | ||
<div class="form-group"> | ||
<label> | ||
<input | ||
type="checkbox" | ||
class="kuiCheckBox" | ||
name="showMissing" | ||
ng-model="agg.params.missingBucket" | ||
ng-disabled="agg.params.field.type !== 'string'" | ||
> | ||
Show missing values | ||
<icon-tip | ||
position="'right'" | ||
content="'Only works for fields of type \'string\'. When enabled, include documents with missing values in the search. If this bucket is in the top N, it appears in the chart. If not in the top N, and you enable \'Group other values in separate bucket\', Elasticsearch adds the missing values to the \'other\' bucket.'" | ||
></icon-tip> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="vis-editor-agg-form-row" ng-show="agg.params.missingBucket"> | ||
<div class="form-group"> | ||
<label> | ||
Label for missing values | ||
</label> | ||
<div> | ||
<input | ||
type="text" | ||
ng-model="agg.params.missingBucketLabel" | ||
class="form-control kuiSideBarInput" | ||
ng-disabled="agg.params.field.type !== 'string'" | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters