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

Pass uiSettings to all data plugin services #42159

Merged
merged 144 commits into from
Aug 11, 2019
Merged
Show file tree
Hide file tree
Changes from 133 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
e5f6f9c
kbn top nav in discover
Jun 19, 2019
d5d7e38
New top nav in dashboard and vis editor
Jun 19, 2019
3b97926
change kbn top nav directive
Jun 19, 2019
1ea5b7b
Stop using template feature of kbn top nav
Jun 26, 2019
8a7ba6b
Combined css
Jun 27, 2019
c4b84bf
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jun 27, 2019
2e90a18
Merge branch 'newplatform/kbn-top-nav/graph' into newplatform/kbn-top…
Jun 27, 2019
344b055
console top nav
Jun 27, 2019
3c5878b
Removed unnecessary use of kbn-top-nav in dev tools app (wrapping tabs)
Jun 27, 2019
d01d882
Merge branch 'newplatform/kbn-top-nav/devtools-2' into newplatform/kb…
Jun 27, 2019
366b03a
Changed console menu to new directive
Jun 27, 2019
5b0a63d
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jun 30, 2019
9599e15
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 1, 2019
4766510
CSS adjustments + functional implementation of top nav menu item
Jul 1, 2019
b23d0c3
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 1, 2019
929ed9c
Fixed DevTools top nav toggle
Jul 2, 2019
6adc512
Optional show-border
Jul 2, 2019
0f24457
timelion menu works
Jul 2, 2019
f6906b7
Improve filter sorting logic to be more stable
Jul 3, 2019
c5d3a14
Merge branch 'bug/filter-manager/sorting-logic-failure' into newplatf…
Jul 3, 2019
20a9922
Support showing filter bar as part of top nav
Jul 3, 2019
daf6f98
Use search bar in top nav in discover and maps
Jul 3, 2019
c580fe7
tmp revert
Jul 4, 2019
78ea450
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 4, 2019
b3711e6
Align search bar settings accross apps
Jul 4, 2019
3117fce
Reverted change in ML, removed unused css
Jul 4, 2019
3cfa5c7
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 4, 2019
e749bd4
Added data test subj to top nav menu items
Jul 4, 2019
fa5332d
Watch config by value
Jul 4, 2019
833d49f
Some directive magic to make sure that disabledButtons functions are …
Jul 5, 2019
8fee73a
Fix missing controls from new top nav in some visualizations
Jul 7, 2019
cc5dbff
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 7, 2019
d368c94
showAutoRefreshOnly in input controls visualization
Jul 7, 2019
000eeb2
Fixed inspector disabled test
Jul 7, 2019
efe00bf
Fix dashboard action links
Jul 7, 2019
97496c6
snapshots
Jul 7, 2019
d52e581
Fixed maps filter bar
Jul 7, 2019
8c06d39
Remvoed comment
Jul 7, 2019
afd9933
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 8, 2019
5f71b4e
Update Query Bar defaults
Jul 8, 2019
86dbbbc
Top nav menu item tests
Jul 8, 2019
e6260ea
Moved storage instantiation to angular directive
Jul 8, 2019
ddcdda0
SearchBar jest tests
Jul 8, 2019
9a68d7a
Query bar additional tests
Jul 8, 2019
c2bc4d3
Top nav menu tests
Jul 8, 2019
144d8bb
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 8, 2019
247a4f7
Pass store into top nav menu correctly
Jul 9, 2019
e5fb6d8
watch store by reference
Jul 9, 2019
1856e8f
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 9, 2019
7786fa9
Added not null assertion
Jul 9, 2019
bcb6674
Make index patterns optional (for timepicker only setup)
Jul 9, 2019
60f1643
QueryBar tests again
Jul 9, 2019
d7b9941
Search bar tests
Jul 9, 2019
362d322
Top nav tests
Jul 9, 2019
01b359c
Top nav menu tests
Jul 9, 2019
541c813
removed unnecessary ui/new_platform mock
Jul 9, 2019
d7fe175
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 10, 2019
caad37f
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 11, 2019
5cac8c9
Moved discover result count away from top nav
Jul 11, 2019
3316b4a
Moved and improved top nav menu css
Jul 11, 2019
4d64d66
remove unused translations
Jul 11, 2019
0401c7f
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 14, 2019
df1f06d
Move timepicker (to be deprecated) into old kbn_top_nav
Jul 9, 2019
eaf21a7
Deleted search-bar and query-bar directives!
Jul 11, 2019
cef0742
moved search bar to kibana_react (it's a generic react component, not…
Jul 11, 2019
938c5c0
translations
Jul 11, 2019
83ff3c3
Moved superDatePicker directive to kbn_top_nav (to be deprecated)
Jul 11, 2019
50fc77f
Use index patterns from data plugin itself instead of importing from …
Jul 11, 2019
008bc6f
Pass uiSettings from top level of data plugin
Jul 13, 2019
abaa9dc
Pass saved objects client from top level
Jul 14, 2019
f5ad6ad
query bar input to rely on provided localStorage (?)
Jul 14, 2019
4dba9c2
import QueryBarInput correctly from vis ediror
Jul 14, 2019
2a91ea6
Query bar input tests - uiSettings
Jul 14, 2019
e95bbd2
Query bar - uiSettings tests
Jul 14, 2019
ff36393
import QueryBar from data plugin correctly
Jul 14, 2019
c9850b0
Use provider to pass config to TSVB query bar inputs
Jul 14, 2019
665007a
Add query bar input parms to agg types
Jul 14, 2019
90bbba4
Standardize shape data plugin and use it to pass uiSettings in.
Jul 15, 2019
573a8bc
Removed unnecessary mocks
Jul 15, 2019
d5e07ab
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 15, 2019
b14dd9f
Fixed test typo
Jul 15, 2019
ff59ab8
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 17, 2019
209797d
Code review part 1
Jul 17, 2019
37d7a98
Code review part 2 - clean up top nav menu item run interface
Jul 17, 2019
8729b57
Give top nav items better keys
Jul 17, 2019
d6f904f
Simplified top nav construction logic in editor
Jul 17, 2019
d6b1112
Merge branch 'newplatform/kbn-top-nav/new-directive' into newplatform…
Jul 17, 2019
c2ed904
Fixed mock of search bar in top nav test
Jul 17, 2019
c6f6ca5
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 17, 2019
8881518
Merge remote-tracking branch 'upstream/master' into newplatform/kbn-t…
Jul 17, 2019
0f41c0c
Merge branch 'newplatform/kbn-top-nav/new-directive' into newplatform…
Jul 18, 2019
d127cfd
Moved filter trigger button rendering to helper function
Jul 18, 2019
541a779
Remove responsiveness from top nav items
Jul 18, 2019
a6ba593
vertical align for cases where showSearchBarInline is true
Jul 18, 2019
f5ea79d
Export TopNavMenuData type
Jul 18, 2019
045efb0
Removed unused name attribute in top nav. Use app-name instead.
Jul 18, 2019
b8ff540
Merge branch 'newplatform/kbn-top-nav/new-directive' into newplatform…
Jul 18, 2019
0d34cd1
Merge branch 'newplatform/kbn-top-nav/new-directive-cleanup' into new…
Jul 18, 2019
66e85fc
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 29, 2019
f9ced92
Minor merge fixes
Jul 29, 2019
5256b3b
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 30, 2019
9f0133c
Update data plugin shape
Jul 30, 2019
672ed4f
Merge new-shape branch in
Jul 30, 2019
5569313
type fixes
Jul 30, 2019
bfefe9d
fix core start import
Jul 30, 2019
941e686
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 30, 2019
a5680b1
Merge branch 'newplatform/data-plugin/new-shape' into newplatform/dat…
Jul 30, 2019
333d928
Fixed tests
Jul 30, 2019
b7691ea
Merge branch 'newplatform/data-plugin/new-shape' into newplatform/dat…
Jul 30, 2019
2d09451
fix another test mock
Jul 30, 2019
8797f63
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 30, 2019
b8bde7e
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 30, 2019
62f912b
Brought back setup.ts for backward compatibility.
Jul 30, 2019
dd558fd
bad import from data plugin
Jul 30, 2019
dfccf57
Yet another import :-(
Jul 30, 2019
5644e3d
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 30, 2019
3959d82
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Jul 31, 2019
7989aa5
Code revire #1 @lukeelmers
Jul 31, 2019
e20b60c
Merge branch 'newplatform/data-plugin/new-shape' into newplatform/dat…
Jul 31, 2019
92ae0f1
create wrapper for QueryBarInput
alexwizp Jul 31, 2019
468db17
use IndexPatterns type
Aug 1, 2019
a0e7f23
import order
Aug 1, 2019
144203b
Merge branch 'newplatform/data-plugin/new-shape' into newplatform/dat…
Aug 1, 2019
5f415ab
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 1, 2019
897fdd2
Changed context provider based on feedback from @alexwizp
Aug 1, 2019
445a583
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 1, 2019
6391caa
Code review fixes
Aug 1, 2019
534df7a
Merge branch 'newplatform/data-plugin/new-shape' into newplatform/dat…
Aug 1, 2019
cf39c7f
inject uiSettings into filter-bar directive
Aug 1, 2019
a19a7fc
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 1, 2019
569c41f
Fix some type errors
Aug 1, 2019
94151fe
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 4, 2019
7fdf463
Fixes
Aug 4, 2019
62630de
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 5, 2019
fb1d146
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 6, 2019
2113aec
Filter bar context
Aug 6, 2019
0964435
ts CoreSetupContextProvider
Aug 6, 2019
bb20565
Moved coreCOntext to vis_editor constructor
Aug 6, 2019
a5010b7
Reverted filter bar context
Aug 6, 2019
145b4e3
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 7, 2019
a194edb
Removed editor html ng-show
Aug 7, 2019
ac616c2
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 7, 2019
5f2599c
use saved objects contract + check uiSettings
Aug 7, 2019
fe7d1df
Merge remote-tracking branch 'upstream/master' into newplatform/data-…
Aug 11, 2019
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@ import {
import { FormattedMessage, InjectedIntl, injectI18n } from '@kbn/i18n/react';
import classNames from 'classnames';
import React, { Component } from 'react';
import chrome from 'ui/chrome';
import { UiSettingsClientContract } from 'src/core/public';
import { IndexPattern } from '../../index_patterns';
import { FilterEditor } from './filter_editor';
import { FilterItem } from './filter_item';
import { FilterOptions } from './filter_options';

const config = chrome.getUiSettingsClient();

interface Props {
filters: Filter[];
onFiltersUpdated: (filters: Filter[]) => void;
className: string;
indexPatterns: IndexPattern[];
intl: InjectedIntl;
uiSettings: UiSettingsClientContract;
}

interface State {
Expand Down Expand Up @@ -103,13 +102,14 @@ class FilterBarUI extends Component<Props, State> {
onUpdate={newFilter => this.onUpdate(i, newFilter)}
onRemove={() => this.onRemove(i)}
indexPatterns={this.props.indexPatterns}
uiSettings={this.props.uiSettings}
/>
</EuiFlexItem>
));
}

private renderAddFilter() {
const isPinned = config.get('filters:pinnedByDefault');
const isPinned = this.props.uiSettings.get('filters:pinnedByDefault');
const [indexPattern] = this.props.indexPatterns;
const index = indexPattern && indexPattern.id;
const newFilter = buildEmptyFilter(isPinned, index);
Expand Down Expand Up @@ -144,6 +144,7 @@ class FilterBarUI extends Component<Props, State> {
onSubmit={this.onAdd}
onCancel={this.onCloseAddFilterPopover}
key={JSON.stringify(newFilter)}
uiSettings={this.props.uiSettings}
/>
</div>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { i18n } from '@kbn/i18n';
import { FormattedMessage, InjectedIntl, injectI18n } from '@kbn/i18n/react';
import { get } from 'lodash';
import React, { Component } from 'react';
import { UiSettingsClientContract } from 'src/core/public';
import { Field, IndexPattern } from '../../../index_patterns';
import { GenericComboBox, GenericComboBoxProps } from './generic_combo_box';
import {
Expand All @@ -61,6 +62,7 @@ interface Props {
onSubmit: (filter: Filter) => void;
onCancel: () => void;
intl: InjectedIntl;
uiSettings: UiSettingsClientContract;
}

interface State {
Expand Down Expand Up @@ -327,6 +329,7 @@ class FilterEditorUI extends Component<Props, State> {
value={this.state.params}
onChange={this.onParamsChange}
data-test-subj="phraseValueInput"
uiSettings={this.props.uiSettings}
/>
);
case 'phrases':
Expand All @@ -336,6 +339,7 @@ class FilterEditorUI extends Component<Props, State> {
field={this.state.selectedField}
values={this.state.params}
onChange={this.onParamsChange}
uiSettings={this.props.uiSettings}
/>
);
case 'range':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
*/

import { Component } from 'react';
import chrome from 'ui/chrome';
import { getSuggestions } from 'ui/value_suggestions';
import { UiSettingsClientContract } from 'src/core/public';
import { Field, IndexPattern } from '../../../index_patterns';
const config = chrome.getUiSettingsClient();

export interface PhraseSuggestorProps {
indexPattern: IndexPattern;
field?: Field;
uiSettings: UiSettingsClientContract;
}

export interface PhraseSuggestorState {
Expand All @@ -52,7 +52,7 @@ export class PhraseSuggestor<T extends PhraseSuggestorProps> extends Component<
}

protected isSuggestingValues() {
const shouldSuggestValues = config.get('filterEditor:suggestValues');
const shouldSuggestValues = this.props.uiSettings.get('filterEditor:suggestValues');
const { field } = this.props;
return shouldSuggestValues && field && field.aggregatable && field.type === 'string';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
import { InjectedIntl, injectI18n } from '@kbn/i18n/react';
import classNames from 'classnames';
import React, { Component } from 'react';
import { UiSettingsClientContract } from 'src/core/public';
import { IndexPattern } from '../../index_patterns';
import { FilterEditor } from './filter_editor';
import { FilterView } from './filter_view';
Expand All @@ -40,6 +41,7 @@ interface Props {
onUpdate: (filter: Filter) => void;
onRemove: () => void;
intl: InjectedIntl;
uiSettings: UiSettingsClientContract;
}

interface State {
Expand Down Expand Up @@ -169,6 +171,7 @@ class FilterItemUI extends Component<Props, State> {
indexPatterns={this.props.indexPatterns}
onSubmit={this.onSubmit}
onCancel={this.closePopover}
uiSettings={this.props.uiSettings}
/>
</div>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,20 @@ import { StubIndexPatterns } from './test_helpers/stub_index_pattern';
import { StubState } from './test_helpers/stub_state';
import { getFiltersArray } from './test_helpers/get_filters_array';

jest.mock(
'ui/chrome',
() => ({
getBasePath: jest.fn(() => 'path'),
getUiSettingsClient: jest.fn(() => {
return {
get: () => true,
};
}),
}),
{ virtual: true }
);

jest.mock('ui/new_platform', () => ({
npStart: {
core: {
chrome: {
recentlyAccessed: false,
},
},
},
npSetup: {
core: {
uiSettings: {
get: () => true,
},
import { coreMock } from '../../../../../../core/public/mocks';
const setupMock = coreMock.createSetup();

setupMock.uiSettings.get.mockImplementation((key: string) => {
return true;
});

jest.mock('ui/timefilter', () => {
return {
timefilter: {
setTime: jest.fn(),
},
},
}));
};
});

describe('filter_manager', () => {
let appStateStub: StubState;
Expand All @@ -79,7 +64,7 @@ describe('filter_manager', () => {
appStateStub = new StubState();
globalStateStub = new StubState();
indexPatterns = new StubIndexPatterns();
filterManager = new FilterManager(indexPatterns as IndexPatterns);
filterManager = new FilterManager(indexPatterns as IndexPatterns, setupMock.uiSettings);
readyFilters = getFiltersArray();

// FilterStateManager is tested indirectly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import { Filter, isFilterPinned, FilterStateStore } from '@kbn/es-query';
import _ from 'lodash';
import { Subject } from 'rxjs';

import { npSetup } from 'ui/new_platform';

import { UiSettingsClientContract } from 'src/core/public';
// @ts-ignore
import { compareFilters } from './lib/compare_filters';
// @ts-ignore
Expand All @@ -46,9 +45,11 @@ export class FilterManager {
private filters: Filter[] = [];
private updated$: Subject<void> = new Subject();
private fetch$: Subject<void> = new Subject();
private uiSettings: UiSettingsClientContract;

constructor(indexPatterns: IndexPatterns) {
constructor(indexPatterns: IndexPatterns, uiSettings: UiSettingsClientContract) {
this.indexPatterns = indexPatterns;
this.uiSettings = uiSettings;
}

private mergeIncomingFilters(partitionedFilters: PartitionedFilters): Filter[] {
Expand Down Expand Up @@ -144,9 +145,8 @@ export class FilterManager {
return;
}

const { uiSettings } = npSetup.core;
if (pinFilterStatus === undefined) {
pinFilterStatus = uiSettings.get('filters:pinnedByDefault');
pinFilterStatus = this.uiSettings.get('filters:pinnedByDefault');
}

// Set the store of all filters. For now.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,20 @@ import { getFilter } from './test_helpers/get_stub_filter';
import { FilterManager } from './filter_manager';
import { StubIndexPatterns } from './test_helpers/stub_index_pattern';

jest.mock('ui/new_platform', () => ({
npStart: {
core: {
chrome: {
recentlyAccessed: false,
},
},
},
npSetup: {
core: {
uiSettings: {
get: () => true,
},
import { coreMock } from '../../../../../../core/public/mocks';
const setupMock = coreMock.createSetup();

setupMock.uiSettings.get.mockImplementation((key: string) => {
return true;
});

jest.mock('ui/timefilter', () => {
return {
timefilter: {
setTime: jest.fn(),
},
},
}));
};
});

describe('filter_state_manager', () => {
let appStateStub: StubState;
Expand All @@ -55,7 +53,7 @@ describe('filter_state_manager', () => {
appStateStub = new StubState();
globalStateStub = new StubState();
const indexPatterns = new StubIndexPatterns();
filterManager = new FilterManager(indexPatterns as IndexPatterns);
filterManager = new FilterManager(indexPatterns as IndexPatterns, setupMock.uiSettings);
});

describe('app_state_undefined', () => {
Expand Down
6 changes: 4 additions & 2 deletions src/legacy/core_plugins/data/public/filter/filter_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* under the License.
*/

import { UiSettingsClientContract } from 'src/core/public';
import { IndexPatterns } from '../index_patterns';
import { FilterManager } from './filter_manager';
/**
Expand All @@ -26,11 +27,12 @@ import { FilterManager } from './filter_manager';

export interface FilterServiceDependencies {
indexPatterns: IndexPatterns;
uiSettings: UiSettingsClientContract;
}

export class FilterService {
public setup({ indexPatterns }: FilterServiceDependencies) {
const filterManager = new FilterManager(indexPatterns);
public setup({ indexPatterns, uiSettings }: FilterServiceDependencies) {
const filterManager = new FilterManager(indexPatterns, uiSettings);
lizozom marked this conversation as resolved.
Show resolved Hide resolved

return {
filterManager,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/

import chrome from 'ui/chrome';
// @ts-ignore
import { mockFields, mockIndexPattern } from 'ui/index_patterns/fixtures';
// @ts-ignore
Expand All @@ -35,9 +33,15 @@ import { isFilterable, getFromSavedObject } from 'ui/index_patterns/static_utils

// IndexPattern, StaticIndexPattern, Field
import * as types from 'ui/index_patterns';
import { SavedObjectsClient } from 'ui/saved_objects';

import { UiSettingsClientContract } from 'src/core/public';

export interface IndexPatternDependencies {
uiSettings: UiSettingsClientContract;
savedObjectsClient: SavedObjectsClient;
}

const config = chrome.getUiSettingsClient();
const savedObjectsClient = chrome.getSavedObjectsClient();
/**
* Index Patterns Service
*
Expand All @@ -50,9 +54,9 @@ const savedObjectsClient = chrome.getSavedObjectsClient();
* @internal
*/
export class IndexPatternsService {
alexwizp marked this conversation as resolved.
Show resolved Hide resolved
public setup() {
public setup({ uiSettings, savedObjectsClient }: IndexPatternDependencies) {
return {
indexPatterns: new IndexPatterns(config, savedObjectsClient),
indexPatterns: new IndexPatterns(uiSettings, savedObjectsClient),
};
}

Expand Down
9 changes: 8 additions & 1 deletion src/legacy/core_plugins/data/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,20 @@ export class DataPlugin implements Plugin<DataSetup, void, DataPluginSetupDepend
private readonly search: SearchService = new SearchService();

public setup(core: CoreSetup, { __LEGACY, interpreter }: DataPluginSetupDependencies): DataSetup {
const indexPatternsService = this.indexPatterns.setup();
const { uiSettings } = core;
const savedObjectsClient = __LEGACY.savedObjectsClient;

const indexPatternsService = this.indexPatterns.setup({
uiSettings,
savedObjectsClient,
});
return {
expressions: this.expressions.setup({
interpreter,
}),
indexPatterns: indexPatternsService,
lizozom marked this conversation as resolved.
Show resolved Hide resolved
filter: this.filter.setup({
uiSettings,
indexPatterns: indexPatternsService.indexPatterns,
}),
query: this.query.setup(),
Expand Down
Loading