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

[index patterns] index pattern create modal #101853

Merged
merged 178 commits into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from 137 commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
6486ef4
wip
mattkime Jun 8, 2021
ca93610
fix circular dependencies
mattkime Jun 8, 2021
406c84a
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 8, 2021
0b6f4a1
pass dependencies through context
mattkime Jun 9, 2021
a68c3e3
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 9, 2021
96b5c53
add create url functionality
mattkime Jun 10, 2021
3ff6821
update plugin list and limits file
mattkime Jun 10, 2021
b3e7f89
fix create button disabled state
mattkime Jun 10, 2021
51fc912
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 10, 2021
4de6005
functional test fixes
mattkime Jun 11, 2021
9c479d7
fix size limit, localization content
mattkime Jun 11, 2021
95b8876
update docs and append * to index pattern titles
mattkime Jun 12, 2021
26c9d80
update docs and append * to index pattern titles
mattkime Jun 12, 2021
74df123
disambiguate tests
mattkime Jun 12, 2021
8b62d6b
functional test - conditionally press add index pattern button as app…
mattkime Jun 12, 2021
2be1255
fix index pattern creation
mattkime Jun 12, 2021
8566d6b
skip a few tests and troubleshoot indexPatterns privs
mattkime Jun 12, 2021
beae4fe
fix display of create buttons in flyout
mattkime Jun 13, 2021
c134740
move rollup config to index pattern management
mattkime Jun 14, 2021
5cc9214
fix imports
mattkime Jun 15, 2021
af50788
fix localization, remove comments, cleanup
mattkime Jun 15, 2021
452baf6
provide default for uiSettings lookup
mattkime Jun 16, 2021
cfb8417
Merge branch 'master' into rollup_creation_code_to_index_pattern_mgmt
mattkime Jun 16, 2021
d74614a
refactor to only reference uiSettings after lifecycle functions have run
mattkime Jun 16, 2021
217e304
check if uiSetting is declared before checking for value
mattkime Jun 16, 2021
57f36af
Merge branch 'master' into rollup_creation_code_to_index_pattern_mgmt
kibanamachine Jun 16, 2021
4dd2931
memoize => once
mattkime Jun 16, 2021
0e18233
Merge branch 'rollup_creation_code_to_index_pattern_mgmt' of github.c…
mattkime Jun 16, 2021
d22ed79
Merge remote-tracking branch 'origin/rollup_creation_code_to_index_pa…
mattkime Jun 17, 2021
135fe1c
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 17, 2021
a4b169e
rollup index pattern support
mattkime Jun 20, 2021
50343c5
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 20, 2021
da3dc66
remove unused export
mattkime Jun 20, 2021
dc567f7
fix functional test, cleanup
mattkime Jun 20, 2021
e4713e6
remove unused UI and fix localization
mattkime Jun 20, 2021
f0dd1dc
implement selected indices list
mattkime Jun 21, 2021
5bdf452
fix functional tests by bringing buttons back into view
mattkime Jun 22, 2021
b5bac3b
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 22, 2021
b252c06
set flyout size, nav to create rollup kip, show loading indicator
mattkime Jun 22, 2021
5581076
time field improvements, code cleanup
mattkime Jun 23, 2021
0a98992
time field improvements, code cleanup
mattkime Jun 23, 2021
6d38f0d
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 23, 2021
9d60562
design changes
andreadelrio Jun 23, 2021
620f3dc
go back to l
andreadelrio Jun 23, 2021
dfc7f8b
allow forcing timestamp field, localization fixes
mattkime Jun 23, 2021
b4e0bd5
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 23, 2021
3696b8b
fix footer
andreadelrio Jun 23, 2021
30b5547
adjust spacing between fields
andreadelrio Jun 24, 2021
b5d06da
improved timestamp field validation
mattkime Jun 24, 2021
e7280e7
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 24, 2021
4c02e11
remove index pattern create service and inline rollup logic
mattkime Jun 25, 2021
77d60e1
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 25, 2021
529d0d7
fix broken import
mattkime Jun 25, 2021
f89174b
restore rollup error, refactor out an useEffect instance
mattkime Jun 25, 2021
8c8f0ca
Merge pull request #15 from andreadelrio/indpattern_create_dsgn
mattkime Jun 25, 2021
2c18a25
use an enum instead of strings
mattkime Jun 25, 2021
bf10a4e
use an enum instead of strings
mattkime Jun 25, 2021
3c9b9b2
Merge branch 'index_pattern_create_modal' of github.com:mattkime/kiba…
mattkime Jun 25, 2021
1318b92
break rendering into smaller files
mattkime Jun 25, 2021
3d82f7f
disable allow hidden when rollup is selected, minor cleanup
mattkime Jun 25, 2021
6371e8a
I think rollup validation is working
mattkime Jun 25, 2021
08fca30
I think rollup validation is working
mattkime Jun 25, 2021
c88c528
fix title validation
mattkime Jun 25, 2021
d21ce0b
cleanup
mattkime Jun 25, 2021
5a7b4fd
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 25, 2021
e14dbdb
fix index patterns without timestamps
mattkime Jun 25, 2021
692b6bb
fix alias test
mattkime Jun 25, 2021
b6d5f9c
fix accessibility functional test
mattkime Jun 26, 2021
7f93419
ensure rollup index patterns are created with the correct type
mattkime Jun 26, 2021
1628c74
remove unneeded import, fix test
mattkime Jun 26, 2021
fdee9ac
partial progress on jest tests
mattkime Jun 27, 2021
af5ccc8
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 27, 2021
9ae1b0a
type fixes
mattkime Jun 27, 2021
54ac4c4
Merge branch 'master' into index_pattern_create_modal
kibanamachine Jun 27, 2021
901c8b9
fix some jest tests
mattkime Jun 27, 2021
f49514b
fix preview column
mattkime Jun 28, 2021
af831dc
Merge branch 'index_pattern_create_modal' of github.com:mattkime/kiba…
mattkime Jun 28, 2021
adc4558
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 28, 2021
f7a35dc
only show type selection when there are rollup indices, remove 'any' …
mattkime Jun 29, 2021
e55e7dd
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 29, 2021
f11e785
update docs
mattkime Jun 29, 2021
e566799
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 29, 2021
a84d758
refactor requirement to match an index pattern
mattkime Jun 30, 2021
2ac03c8
Merge branch 'master' into index_pattern_create_modal
mattkime Jun 30, 2021
d3ea887
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 6, 2021
080b0f0
reset timestamp field when title changes
mattkime Jul 7, 2021
c2f2102
remove unused code
mattkime Jul 7, 2021
94ec0de
cleanup
mattkime Jul 14, 2021
d537e95
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 15, 2021
aaa1558
remove code comments, localization
mattkime Jul 15, 2021
efa11eb
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 15, 2021
a5f518e
fix rollup index patterns
mattkime Jul 15, 2021
b21b87b
update docs, no close button on flyout
mattkime Jul 15, 2021
a2eb3e0
update plugin list doc
mattkime Jul 15, 2021
9e8329a
fixing functional tests
mattkime Jul 15, 2021
47d8b14
refactor title and timestamp field validation
mattkime Jul 15, 2021
446a7d4
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 15, 2021
ceab21b
update snapshot
mattkime Jul 16, 2021
c16b23f
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 16, 2021
bd23f8d
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 16, 2021
e701324
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 18, 2021
b3a8714
fix tests
mattkime Jul 18, 2021
88d51a4
fix import, update snapshot
mattkime Jul 18, 2021
5683c7a
remove IIndexPattern
mattkime Jul 18, 2021
1f29f44
remove IIndexPattern
mattkime Jul 18, 2021
d219d41
factor out IFieldType and type fixes
mattkime Jul 19, 2021
3e0b072
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 19, 2021
86ab0b2
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 20, 2021
a4f492d
refactor components
mattkime Jul 22, 2021
0007aa9
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 23, 2021
4ccbd02
fix tests and import paths for types
mattkime Jul 23, 2021
e6abcb6
fix hybrid index pattern and functional tests
mattkime Jul 23, 2021
6a3c8bd
fix empty view functional test
mattkime Jul 23, 2021
4b28d99
fix jest tests and improve mocks
mattkime Jul 23, 2021
c52acad
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 26, 2021
9b6ed6c
update readme and refactor api args
mattkime Jul 27, 2021
062fd9d
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 27, 2021
434aad2
add beta warning to rollup index patterns
mattkime Jul 27, 2021
1c1a5d4
refactor component, increase bundle size
mattkime Jul 27, 2021
5062581
improve mock
mattkime Jul 27, 2021
8f129ee
refactor how index tags are calculated
mattkime Jul 28, 2021
4e6e4b5
fix jest test
mattkime Jul 28, 2021
68dadd4
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 28, 2021
52d8ce4
update docs
mattkime Jul 28, 2021
398074a
add functional tests for validation
mattkime Jul 28, 2021
a88e03e
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 28, 2021
398748e
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 30, 2021
310f364
Merge branch 'master' into index_pattern_create_modal
mattkime Jul 31, 2021
62dbf53
add close footer to empty views
mattkime Aug 1, 2021
0f061b8
Merge branch 'master' into index_pattern_create_modal
mattkime Aug 2, 2021
8a4649d
Merge branch 'master' into index_pattern_create_modal
mattkime Aug 2, 2021
859f6e1
add loading spinner
mattkime Aug 2, 2021
730b662
check to see if component is mounted before setting state
mattkime Aug 3, 2021
bc8a8f2
return component via plugin contract with dependencies
mattkime Aug 3, 2021
8bfa84e
Merge branch 'master' into index_pattern_create_modal
mattkime Aug 3, 2021
2f451e0
fix mock
mattkime Aug 3, 2021
91373b4
fix mock
mattkime Aug 3, 2021
af708af
Merge branch 'master' into index_pattern_create_modal
mattkime Aug 3, 2021
7dbccca
lint fix
mattkime Aug 3, 2021
6cd0e5f
rendering tweaks
mattkime Aug 3, 2021
a404fee
Merge branch 'master' into index_pattern_create_modal
mattkime Aug 3, 2021
d336609
fix rollup field info
mattkime Aug 3, 2021
5c00ee6
hide pagination when there aren't any indices
mattkime Aug 3, 2021
ed375e7
simplify title field set value
mattkime Aug 3, 2021
adf1323
memoize title field config
mattkime Aug 3, 2021
a8d7d36
improve types, add useCallbacks
mattkime Aug 3, 2021
e07ead7
localize text, add comment, fix type
mattkime Aug 3, 2021
ac27963
fix jest test typescript, refactor type field, add code comments
mattkime Aug 3, 2021
9d03454
fix title input
mattkime Aug 4, 2021
5be1a92
update select timestamp field error text
mattkime Aug 4, 2021
f77447d
remove dupe code
mattkime Aug 4, 2021
446755f
add spacer to form layout, move types to type file
mattkime Aug 4, 2021
ffaf7cf
type fixes
mattkime Aug 4, 2021
fa3de3a
Update readme
mattkime Aug 4, 2021
33ccbdb
added comments/docs
mattkime Aug 5, 2021
3d49067
grammar fixes
mattkime Aug 5, 2021
5c4c640
fix types
mattkime Aug 5, 2021
9dab76a
fix localization
mattkime Aug 5, 2021
12829d7
more type cleanup
mattkime Aug 5, 2021
57ee282
display error on failure to save, type cleanup
mattkime Aug 5, 2021
e60c746
fix allowHidden
mattkime Aug 5, 2021
a7a45a2
fix jest snapshots
mattkime Aug 5, 2021
ea971b8
fix functional test
mattkime Aug 5, 2021
7049cae
fix localization
mattkime Aug 5, 2021
c9d6835
add lazy loading
mattkime Aug 5, 2021
f1b8093
fix jest test import
mattkime Aug 5, 2021
d862953
Merge branch 'master' of github.com:elastic/kibana into index_pattern…
mattkime Aug 5, 2021
dee5b1b
add to tsconfig.ref.json and update docs
mattkime Aug 5, 2021
df77a3a
reduce limits.yml value
mattkime Aug 5, 2021
02d00fa
more text updates
mattkime Aug 5, 2021
0d5848c
Merge branch 'master' into index_pattern_create_modal
mattkime Aug 5, 2021
48e465c
Update src/plugins/index_pattern_editor/public/components/empty_promp…
mattkime Aug 5, 2021
295b22b
Update src/plugins/index_pattern_editor/public/components/form_fields…
mattkime Aug 5, 2021
942af1d
Update src/plugins/index_pattern_editor/public/components/form_fields…
mattkime Aug 5, 2021
7b4a42e
Update src/plugins/index_pattern_editor/public/components/i18n_texts.ts
mattkime Aug 5, 2021
0f8caa4
Update src/plugins/index_pattern_editor/public/components/form_fields…
mattkime Aug 5, 2021
ae0d1de
Merge branch 'index_pattern_create_modal' of github.com:mattkime/kiba…
mattkime Aug 6, 2021
da62c85
fix snapshot and eslint fix
mattkime Aug 6, 2021
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: 1 addition & 0 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"monaco": "packages/kbn-monaco/src",
"esQuery": "packages/kbn-es-query/src",
"presentationUtil": "src/plugins/presentation_util",
"indexPatternEditor": "src/plugins/index_pattern_editor",
"indexPatternFieldEditor": "src/plugins/index_pattern_field_editor",
"indexPatternManagement": "src/plugins/index_pattern_management",
"advancedSettings": "src/plugins/advanced_settings",
Expand Down
4 changes: 4 additions & 0 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ for use in their own application.
|Moves the legacy ui/registry/feature_catalogue module for registering "features" that should be shown in the home page's feature catalogue to a service within a "home" plugin. The feature catalogue refered to here should not be confused with the "feature" plugin for registering features used to derive UI capabilities for feature controls.


|{kib-repo}blob/{branch}/src/plugins/index_pattern_editor/README.md[indexPatternEditor]
|Create index patterns from within Kibana apps.


|{kib-repo}blob/{branch}/src/plugins/index_pattern_field_editor/README.md[indexPatternFieldEditor]
|The reusable field editor across Kibana!

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [OverlayFlyoutOpenOptions](./kibana-plugin-core-public.overlayflyoutopenoptions.md) &gt; [hideCloseButton](./kibana-plugin-core-public.overlayflyoutopenoptions.hideclosebutton.md)

## OverlayFlyoutOpenOptions.hideCloseButton property

<b>Signature:</b>

```typescript
hideCloseButton?: boolean;
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export interface OverlayFlyoutOpenOptions
| ["data-test-subj"](./kibana-plugin-core-public.overlayflyoutopenoptions._data-test-subj_.md) | <code>string</code> | |
| [className](./kibana-plugin-core-public.overlayflyoutopenoptions.classname.md) | <code>string</code> | |
| [closeButtonAriaLabel](./kibana-plugin-core-public.overlayflyoutopenoptions.closebuttonarialabel.md) | <code>string</code> | |
| [hideCloseButton](./kibana-plugin-core-public.overlayflyoutopenoptions.hideclosebutton.md) | <code>boolean</code> | |
| [maxWidth](./kibana-plugin-core-public.overlayflyoutopenoptions.maxwidth.md) | <code>boolean &#124; number &#124; string</code> | |
| [ownFocus](./kibana-plugin-core-public.overlayflyoutopenoptions.ownfocus.md) | <code>boolean</code> | |
| [size](./kibana-plugin-core-public.overlayflyoutopenoptions.size.md) | <code>EuiFlyoutSize</code> | |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IndexPatternAggRestrictions](./kibana-plugin-plugins-data-public.indexpatternaggrestrictions.md)
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggregationRestrictions](./kibana-plugin-plugins-data-public.aggregationrestrictions.md)

## IndexPatternAggRestrictions type
## AggregationRestrictions type

<b>Signature:</b>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) &gt; [allowNoIndex](./kibana-plugin-plugins-data-public.getfieldsoptions.allownoindex.md)

## GetFieldsOptions.allowNoIndex property

<b>Signature:</b>

```typescript
allowNoIndex?: boolean;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) &gt; [lookBack](./kibana-plugin-plugins-data-public.getfieldsoptions.lookback.md)

## GetFieldsOptions.lookBack property

<b>Signature:</b>

```typescript
lookBack?: boolean;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md)

## GetFieldsOptions interface

<b>Signature:</b>

```typescript
export interface GetFieldsOptions
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [allowNoIndex](./kibana-plugin-plugins-data-public.getfieldsoptions.allownoindex.md) | <code>boolean</code> | |
| [lookBack](./kibana-plugin-plugins-data-public.getfieldsoptions.lookback.md) | <code>boolean</code> | |
| [metaFields](./kibana-plugin-plugins-data-public.getfieldsoptions.metafields.md) | <code>string[]</code> | |
| [pattern](./kibana-plugin-plugins-data-public.getfieldsoptions.pattern.md) | <code>string</code> | |
| [rollupIndex](./kibana-plugin-plugins-data-public.getfieldsoptions.rollupindex.md) | <code>string</code> | |
| [type](./kibana-plugin-plugins-data-public.getfieldsoptions.type.md) | <code>string</code> | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) &gt; [metaFields](./kibana-plugin-plugins-data-public.getfieldsoptions.metafields.md)

## GetFieldsOptions.metaFields property

<b>Signature:</b>

```typescript
metaFields?: string[];
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) &gt; [pattern](./kibana-plugin-plugins-data-public.getfieldsoptions.pattern.md)

## GetFieldsOptions.pattern property

<b>Signature:</b>

```typescript
pattern: string;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) &gt; [rollupIndex](./kibana-plugin-plugins-data-public.getfieldsoptions.rollupindex.md)

## GetFieldsOptions.rollupIndex property

<b>Signature:</b>

```typescript
rollupIndex?: string;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) &gt; [type](./kibana-plugin-plugins-data-public.getfieldsoptions.type.md)

## GetFieldsOptions.type property

<b>Signature:</b>

```typescript
type?: string;
```
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
| [DataPublicPluginStartActions](./kibana-plugin-plugins-data-public.datapublicpluginstartactions.md) | utilities to generate filters from action context |
| [DataPublicPluginStartUi](./kibana-plugin-plugins-data-public.datapublicpluginstartui.md) | Data plugin prewired UI components |
| [FieldFormatConfig](./kibana-plugin-plugins-data-public.fieldformatconfig.md) | |
| [GetFieldsOptions](./kibana-plugin-plugins-data-public.getfieldsoptions.md) | |
| [IDataPluginServices](./kibana-plugin-plugins-data-public.idatapluginservices.md) | |
| [IEsSearchRequest](./kibana-plugin-plugins-data-public.iessearchrequest.md) | |
| [IFieldType](./kibana-plugin-plugins-data-public.ifieldtype.md) | |
Expand Down Expand Up @@ -145,6 +146,7 @@
| [AggConfigOptions](./kibana-plugin-plugins-data-public.aggconfigoptions.md) | |
| [AggGroupName](./kibana-plugin-plugins-data-public.agggroupname.md) | |
| [AggParam](./kibana-plugin-plugins-data-public.aggparam.md) | |
| [AggregationRestrictions](./kibana-plugin-plugins-data-public.aggregationrestrictions.md) | |
| [AggsStart](./kibana-plugin-plugins-data-public.aggsstart.md) | AggsStart represents the actual external contract as AggsCommonStart is only used internally. The difference is that AggsStart includes the typings for the registry with initialized agg types. |
| [AutocompleteStart](./kibana-plugin-plugins-data-public.autocompletestart.md) | \* |
| [AutoRefreshDoneFn](./kibana-plugin-plugins-data-public.autorefreshdonefn.md) | |
Expand Down Expand Up @@ -173,7 +175,6 @@
| [IFieldParamType](./kibana-plugin-plugins-data-public.ifieldparamtype.md) | |
| [IFieldSubType](./kibana-plugin-plugins-data-public.ifieldsubtype.md) | |
| [IMetricAggType](./kibana-plugin-plugins-data-public.imetricaggtype.md) | |
| [IndexPatternAggRestrictions](./kibana-plugin-plugins-data-public.indexpatternaggrestrictions.md) | |
| [IndexPatternLoadExpressionFunctionDefinition](./kibana-plugin-plugins-data-public.indexpatternloadexpressionfunctiondefinition.md) | |
| [IndexPatternsContract](./kibana-plugin-plugins-data-public.indexpatternscontract.md) | |
| [IndexPatternSelectProps](./kibana-plugin-plugins-data-public.indexpatternselectprops.md) | |
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-optimizer/limits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pageLoadAssetSize:
indexLifecycleManagement: 107090
indexManagement: 140608
indexPatternManagement: 28222
indexPatternEditor: 99999
infra: 184320
fleet: 465774
ingestPipelines: 58003
Expand Down
1 change: 1 addition & 0 deletions src/core/public/overlays/flyout/flyout_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export interface OverlayFlyoutOpenOptions {
'data-test-subj'?: string;
size?: EuiFlyoutSize;
maxWidth?: boolean | number | string;
hideCloseButton?: boolean;
}

interface StartDeps {
Expand Down
2 changes: 2 additions & 0 deletions src/core/public/public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@ export interface OverlayFlyoutOpenOptions {
// (undocumented)
closeButtonAriaLabel?: string;
// (undocumented)
hideCloseButton?: boolean;
// (undocumented)
maxWidth?: boolean | number | string;
// (undocumented)
ownFocus?: boolean;
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/data/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ export {
IndexPatternSpec,
IndexPatternLoadExpressionFunctionDefinition,
fieldList,
GetFieldsOptions,
INDEX_PATTERN_SAVED_OBJECT_TYPE,
AggregationRestrictions,
IndexPatternType,
} from '../common';

Expand Down
77 changes: 49 additions & 28 deletions src/plugins/data/public/public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,22 @@ export class AggParamType<TAggConfig extends IAggConfig = IAggConfig> extends Ba
makeAgg: (agg: TAggConfig, state?: AggConfigSerialized) => TAggConfig;
}

// Warning: (ae-missing-release-tag) "AggregationRestrictions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
type AggregationRestrictions = Record<string, {
agg?: string;
interval?: number;
fixed_interval?: string;
calendar_interval?: string;
delay?: string;
time_zone?: string;
}>;

export { AggregationRestrictions }

export { AggregationRestrictions as IndexPatternAggRestrictions }

// Warning: (ae-forgotten-export) The symbol "AggsCommonStart" needs to be exported by the entry point index.d.ts
//
// @public
Expand Down Expand Up @@ -1112,6 +1128,24 @@ export function getEsPreference(uiSettings: IUiSettingsClient_2, sessionId?: str
// @public (undocumented)
export function getEsQueryConfig(config: KibanaConfig): EsQueryConfig_2;

// Warning: (ae-missing-release-tag) "GetFieldsOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface GetFieldsOptions {
// (undocumented)
allowNoIndex?: boolean;
// (undocumented)
lookBack?: boolean;
// (undocumented)
metaFields?: string[];
// (undocumented)
pattern: string;
// (undocumented)
rollupIndex?: string;
// (undocumented)
type?: string;
}

// Warning: (ae-missing-release-tag) "getKbnTypeNames" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public @deprecated (undocumented)
Expand Down Expand Up @@ -1439,18 +1473,6 @@ export class IndexPattern implements IIndexPattern {
version: string | undefined;
}

// Warning: (ae-missing-release-tag) "AggregationRestrictions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type IndexPatternAggRestrictions = Record<string, {
agg?: string;
interval?: number;
fixed_interval?: string;
calendar_interval?: string;
delay?: string;
time_zone?: string;
}>;

// Warning: (ae-missing-release-tag) "IndexPatternAttributes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
Expand Down Expand Up @@ -1644,7 +1666,6 @@ export class IndexPatternsService {
getDefault: () => Promise<IndexPattern | null>;
getDefaultId: () => Promise<string | null>;
getFieldsForIndexPattern: (indexPattern: IndexPattern | IndexPatternSpec, options?: GetFieldsOptions | undefined) => Promise<any>;
// Warning: (ae-forgotten-export) The symbol "GetFieldsOptions" needs to be exported by the entry point index.d.ts
getFieldsForWildcard: (options: GetFieldsOptions) => Promise<any>;
getIds: (refresh?: boolean) => Promise<string[]>;
getIdsWithTitle: (refresh?: boolean) => Promise<Array<{
Expand Down Expand Up @@ -1673,7 +1694,7 @@ export enum IndexPatternType {
// @public (undocumented)
export interface IndexPatternTypeMeta {
// (undocumented)
aggs?: Record<string, IndexPatternAggRestrictions>;
aggs?: Record<string, AggregationRestrictions>;
// (undocumented)
params?: {
rollup_index: string;
Expand Down Expand Up @@ -2643,20 +2664,20 @@ export interface WaitUntilNextSessionCompletesOptions {
// src/plugins/data/public/index.ts:123:27 - (ae-forgotten-export) The symbol "validateIndexPattern" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:123:27 - (ae-forgotten-export) The symbol "flattenHitWrapper" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:123:27 - (ae-forgotten-export) The symbol "formatHitProvider" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:294:20 - (ae-forgotten-export) The symbol "getResponseInspectorStats" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:294:20 - (ae-forgotten-export) The symbol "tabifyAggResponse" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:294:20 - (ae-forgotten-export) The symbol "tabifyGetColumns" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:296:1 - (ae-forgotten-export) The symbol "CidrMask" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:297:1 - (ae-forgotten-export) The symbol "dateHistogramInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:306:1 - (ae-forgotten-export) The symbol "InvalidEsCalendarIntervalError" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:307:1 - (ae-forgotten-export) The symbol "InvalidEsIntervalFormatError" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:308:1 - (ae-forgotten-export) The symbol "IpAddress" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:309:1 - (ae-forgotten-export) The symbol "isDateHistogramBucketAggConfig" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:313:1 - (ae-forgotten-export) The symbol "isValidEsInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:314:1 - (ae-forgotten-export) The symbol "isValidInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:317:1 - (ae-forgotten-export) The symbol "parseInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:318:1 - (ae-forgotten-export) The symbol "propFilter" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:321:1 - (ae-forgotten-export) The symbol "toAbsoluteDates" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:296:20 - (ae-forgotten-export) The symbol "getResponseInspectorStats" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:296:20 - (ae-forgotten-export) The symbol "tabifyAggResponse" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:296:20 - (ae-forgotten-export) The symbol "tabifyGetColumns" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:298:1 - (ae-forgotten-export) The symbol "CidrMask" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:299:1 - (ae-forgotten-export) The symbol "dateHistogramInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:308:1 - (ae-forgotten-export) The symbol "InvalidEsCalendarIntervalError" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:309:1 - (ae-forgotten-export) The symbol "InvalidEsIntervalFormatError" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:310:1 - (ae-forgotten-export) The symbol "IpAddress" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:311:1 - (ae-forgotten-export) The symbol "isDateHistogramBucketAggConfig" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:315:1 - (ae-forgotten-export) The symbol "isValidEsInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:316:1 - (ae-forgotten-export) The symbol "isValidInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:319:1 - (ae-forgotten-export) The symbol "parseInterval" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:320:1 - (ae-forgotten-export) The symbol "propFilter" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/index.ts:323:1 - (ae-forgotten-export) The symbol "toAbsoluteDates" needs to be exported by the entry point index.d.ts
// src/plugins/data/public/search/session/session_service.ts:62:5 - (ae-forgotten-export) The symbol "UrlGeneratorStateMapping" needs to be exported by the entry point index.d.ts

// (No @packageDocumentation comment for this package)
Expand Down
Loading