Skip to content

Commit 9f435f6

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature-importance
# Conflicts: # x-pack/plugins/ml/server/routes/data_frame_analytics.ts
2 parents a71e190 + e9e0ca3 commit 9f435f6

File tree

3,218 files changed

+79334
-90125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,218 files changed

+79334
-90125
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ target
3939
/x-pack/legacy/plugins/maps/public/vendor/**
4040

4141
# package overrides
42-
/packages/eslint-config-kibana
42+
/packages/elastic-eslint-config-kibana
4343
/packages/kbn-interpreter/src/common/lib/grammar.js
4444
/packages/kbn-plugin-generator/template
4545
/packages/kbn-pm/dist

.eslintrc.js

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ module.exports = {
9494
'jsx-a11y/no-onchange': 'off',
9595
},
9696
},
97-
{
98-
files: ['src/plugins/es_ui_shared/**/*.{js,mjs,ts,tsx}'],
99-
rules: {
100-
'react-hooks/exhaustive-deps': 'off',
101-
},
102-
},
10397
{
10498
files: ['src/plugins/kibana_react/**/*.{js,mjs,ts,tsx}'],
10599
rules: {
@@ -125,25 +119,12 @@ module.exports = {
125119
'jsx-a11y/click-events-have-key-events': 'off',
126120
},
127121
},
128-
{
129-
files: ['x-pack/legacy/plugins/index_management/**/*.{js,mjs,ts,tsx}'],
130-
rules: {
131-
'react-hooks/exhaustive-deps': 'off',
132-
'react-hooks/rules-of-hooks': 'off',
133-
},
134-
},
135122
{
136123
files: ['x-pack/plugins/ml/**/*.{js,mjs,ts,tsx}'],
137124
rules: {
138125
'react-hooks/exhaustive-deps': 'off',
139126
},
140127
},
141-
{
142-
files: ['x-pack/legacy/plugins/snapshot_restore/**/*.{js,mjs,ts,tsx}'],
143-
rules: {
144-
'react-hooks/exhaustive-deps': 'off',
145-
},
146-
},
147128

148129
/**
149130
* Files that require Apache 2.0 headers, settings
@@ -296,10 +277,7 @@ module.exports = {
296277
errorMessage: `Plugins may only import from src/core/server and src/core/public.`,
297278
},
298279
{
299-
target: [
300-
'(src|x-pack)/plugins/*/server/**/*',
301-
'!x-pack/plugins/apm/**/*', // https://github.com/elastic/kibana/issues/67210
302-
],
280+
target: ['(src|x-pack)/plugins/*/server/**/*'],
303281
from: ['(src|x-pack)/plugins/*/public/**/*'],
304282
errorMessage: `Server code can not import from public, use a common directory.`,
305283
},
@@ -327,6 +305,8 @@ module.exports = {
327305
'!src/core/server/mocks{,.ts}',
328306
'!src/core/server/types{,.ts}',
329307
'!src/core/server/test_utils{,.ts}',
308+
'!src/core/server/utils', // ts alias
309+
'!src/core/server/utils/**/*',
330310
// for absolute imports until fixed in
331311
// https://github.com/elastic/kibana/issues/36096
332312
'!src/core/server/*.test.mocks{,.ts}',

.github/CODEOWNERS

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
/x-pack/plugins/ingest_manager/ @elastic/ingest-management
8686
/x-pack/legacy/plugins/ingest_manager/ @elastic/ingest-management
8787
/x-pack/plugins/observability/ @elastic/observability-ui
88-
/x-pack/legacy/plugins/monitoring/ @elastic/stack-monitoring-ui
8988
/x-pack/plugins/monitoring/ @elastic/stack-monitoring-ui
9089
/x-pack/plugins/uptime @elastic/uptime
9190

@@ -210,8 +209,19 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
210209
/x-pack/test/functional_with_es_ssl/fixtures/plugins/alerts/ @elastic/kibana-alerting-services
211210

212211
# Enterprise Search
213-
/x-pack/plugins/enterprise_search/ @elastic/app-search-frontend @elastic/workplace-search-frontend
214-
/x-pack/test/functional_enterprise_search/ @elastic/app-search-frontend @elastic/workplace-search-frontend
212+
# Shared
213+
/x-pack/plugins/enterprise_search/ @elastic/enterprise-search-frontend
214+
/x-pack/test/functional_enterprise_search/ @elastic/enterprise-search-frontend
215+
# App Search
216+
/x-pack/plugins/enterprise_search/public/applications/app_search @elastic/app-search-frontend
217+
/x-pack/plugins/enterprise_search/server/routes/app_search @elastic/app-search-frontend
218+
/x-pack/plugins/enterprise_search/server/collectors/app_search @elastic/app-search-frontend
219+
/x-pack/plugins/enterprise_search/server/saved_objects/app_search @elastic/app-search-frontend
220+
# Workplace Search
221+
/x-pack/plugins/enterprise_search/public/applications/workplace_search @elastic/workplace-search-frontend
222+
/x-pack/plugins/enterprise_search/server/routes/workplace_search @elastic/workplace-search-frontend
223+
/x-pack/plugins/enterprise_search/server/collectors/workplace_search @elastic/workplace-search-frontend
224+
/x-pack/plugins/enterprise_search/server/saved_objects/workplace_search @elastic/workplace-search-frontend
215225

216226
# Elasticsearch UI
217227
/src/plugins/dev_tools/ @elastic/es-ui

.github/ISSUE_TEMPLATE/APM.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: APM Issue
3+
about: Issues related to the APM solution in Kibana
4+
labels: Team:apm
5+
title: [APM]
6+
---
7+
8+
**Versions**
9+
Kibana: (if relevant)
10+
APM Server: (if relevant)
11+
Elasticsearch: (if relevant)

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ apm.tsconfig.json
6060
# release notes script output
6161
report.csv
6262
report.asciidoc
63+
64+
# TS incremental build cache
65+
*.tsbuildinfo

.telemetryrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"src/plugins/testbed/",
88
"src/plugins/kibana_utils/",
99
"src/plugins/kibana_usage_collection/server/collectors/kibana/kibana_usage_collector.ts",
10-
"src/plugins/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts",
1110
"src/plugins/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts",
1211
"src/plugins/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts",
1312
"src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts"

NOTICE.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,13 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
281281
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
282282
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
283283

284+
---
285+
This product includes code in the function applyCubicBezierStyles that was
286+
inspired by a public Codepen, which was available under a "MIT" license.
287+
288+
Copyright (c) 2020 by Guillaume (https://codepen.io/guillaumethomas/pen/xxbbBKO)
289+
MIT License http://www.opensource.org/licenses/mit-license
290+
284291
---
285292
This product includes code that is adapted from mapbox-gl-js, which is
286293
available under a "BSD-3-Clause" license.

docs/api/saved-objects/find.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ experimental[] Retrieve a paginated set of {kib} saved objects by various condit
4444
(Optional, array|string) The fields to return in the `attributes` key of the response.
4545

4646
`sort_field`::
47-
(Optional, string) The field that sorts the response.
47+
(Optional, string) Sorts the response. Includes "root" and "type" fields. "root" fields exist for all saved objects, such as "updated_at".
48+
"type" fields are specific to an object type, such as fields returned in the `attributes` key of the response. When a single type is
49+
defined in the `type` parameter, the "root" and "type" fields are allowed, and validity checks are made in that order. When multiple types
50+
are defined in the `type` parameter, only "root" fields are allowed.
4851

4952
`has_reference`::
5053
(Optional, object) Filters to objects that have a relationship with the type and ID combination.

0 commit comments

Comments
 (0)