AbortSignal
| An AbortSignal
that allows the caller of search
to abort a search request. |
+| [sessionId](./kibana-plugin-plugins-data-public.isearchoptions.sessionid.md) | string
| A session ID, grouping multiple search requests into a single session. |
| [strategy](./kibana-plugin-plugins-data-public.isearchoptions.strategy.md) | string
| Use this option to force using a specific server side search strategy. Leave empty to use the default strategy. |
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchoptions.sessionid.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchoptions.sessionid.md
new file mode 100644
index 0000000000000..b1d569e58bf1d
--- /dev/null
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchoptions.sessionid.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [ISearchOptions](./kibana-plugin-plugins-data-public.isearchoptions.md) > [sessionId](./kibana-plugin-plugins-data-public.isearchoptions.sessionid.md)
+
+## ISearchOptions.sessionId property
+
+A session ID, grouping multiple search requests into a single session.
+
+Signature:
+
+```typescript
+sessionId?: string;
+```
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.md
index b68c4d61e4e03..bbf856480aedd 100644
--- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.md
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.md
@@ -17,5 +17,6 @@ export interface ISearchSetup
| Property | Type | Description |
| --- | --- | --- |
| [aggs](./kibana-plugin-plugins-data-public.isearchsetup.aggs.md) | AggsSetup
| |
+| [session](./kibana-plugin-plugins-data-public.isearchsetup.session.md) | ISessionService
| session management |
| [usageCollector](./kibana-plugin-plugins-data-public.isearchsetup.usagecollector.md) | SearchUsageCollector
| |
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.session.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.session.md
new file mode 100644
index 0000000000000..7f39d9714a3a3
--- /dev/null
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchsetup.session.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [ISearchSetup](./kibana-plugin-plugins-data-public.isearchsetup.md) > [session](./kibana-plugin-plugins-data-public.isearchsetup.session.md)
+
+## ISearchSetup.session property
+
+session management
+
+Signature:
+
+```typescript
+session: ISessionService;
+```
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.md
index 5defe4a647614..4a69e94dd6f58 100644
--- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.md
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.md
@@ -19,5 +19,6 @@ export interface ISearchStart
| [aggs](./kibana-plugin-plugins-data-public.isearchstart.aggs.md) | AggsStart
| agg config sub service [AggsStart](./kibana-plugin-plugins-data-public.aggsstart.md) |
| [search](./kibana-plugin-plugins-data-public.isearchstart.search.md) | ISearchGeneric
| low level search [ISearchGeneric](./kibana-plugin-plugins-data-public.isearchgeneric.md) |
| [searchSource](./kibana-plugin-plugins-data-public.isearchstart.searchsource.md) | ISearchStartSearchSource
| high level search [ISearchStartSearchSource](./kibana-plugin-plugins-data-public.isearchstartsearchsource.md) |
+| [session](./kibana-plugin-plugins-data-public.isearchstart.session.md) | ISessionService
| session management |
| [showError](./kibana-plugin-plugins-data-public.isearchstart.showerror.md) | (e: Error) => void
| |
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.session.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.session.md
new file mode 100644
index 0000000000000..de25cccd6d27a
--- /dev/null
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.isearchstart.session.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [ISearchStart](./kibana-plugin-plugins-data-public.isearchstart.md) > [session](./kibana-plugin-plugins-data-public.isearchstart.session.md)
+
+## ISearchStart.session property
+
+session management
+
+Signature:
+
+```typescript
+session: ISessionService;
+```
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.handlesearcherror.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.handlesearcherror.md
index 02db74b1a9e91..1c8b6eb41a72e 100644
--- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.handlesearcherror.md
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.handlesearcherror.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-protected handleSearchError(e: any, request: IKibanaSearchRequest, timeoutSignal: AbortSignal, appAbortSignal?: AbortSignal): Error;
+protected handleSearchError(e: any, request: IKibanaSearchRequest, timeoutSignal: AbortSignal, options?: ISearchOptions): Error;
```
## Parameters
@@ -17,7 +17,7 @@ protected handleSearchError(e: any, request: IKibanaSearchRequest, timeoutSignal
| e | any
| |
| request | IKibanaSearchRequest
| |
| timeoutSignal | AbortSignal
| |
-| appAbortSignal | AbortSignal
| |
+| options | ISearchOptions
| |
Returns:
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.md
index a02a6116d7ae0..40c7055e4c059 100644
--- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.md
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptor.md
@@ -27,7 +27,7 @@ export declare class SearchInterceptor
| Method | Modifiers | Description |
| --- | --- | --- |
| [getTimeoutMode()](./kibana-plugin-plugins-data-public.searchinterceptor.gettimeoutmode.md) | | |
-| [handleSearchError(e, request, timeoutSignal, appAbortSignal)](./kibana-plugin-plugins-data-public.searchinterceptor.handlesearcherror.md) | | |
+| [handleSearchError(e, request, timeoutSignal, options)](./kibana-plugin-plugins-data-public.searchinterceptor.handlesearcherror.md) | | |
| [search(request, options)](./kibana-plugin-plugins-data-public.searchinterceptor.search.md) | | Searches using the given search
method. Overrides the AbortSignal
with one that will abort either when cancelPending
is called, when the request times out, or when the original AbortSignal
is aborted. Updates pendingCount$
when the request is started/finalized. |
| [showError(e)](./kibana-plugin-plugins-data-public.searchinterceptor.showerror.md) | | |
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.md
index 63eb67ce48246..3653394d28b92 100644
--- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.md
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.md
@@ -15,6 +15,7 @@ export interface SearchInterceptorDeps
| Property | Type | Description |
| --- | --- | --- |
| [http](./kibana-plugin-plugins-data-public.searchinterceptordeps.http.md) | CoreSetup['http']
| |
+| [session](./kibana-plugin-plugins-data-public.searchinterceptordeps.session.md) | ISessionService
| |
| [startServices](./kibana-plugin-plugins-data-public.searchinterceptordeps.startservices.md) | Promise<[CoreStart, any, unknown]>
| |
| [toasts](./kibana-plugin-plugins-data-public.searchinterceptordeps.toasts.md) | ToastsSetup
| |
| [uiSettings](./kibana-plugin-plugins-data-public.searchinterceptordeps.uisettings.md) | CoreSetup['uiSettings']
| |
diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.session.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.session.md
new file mode 100644
index 0000000000000..40d00483317ba
--- /dev/null
+++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchinterceptordeps.session.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [SearchInterceptorDeps](./kibana-plugin-plugins-data-public.searchinterceptordeps.md) > [session](./kibana-plugin-plugins-data-public.searchinterceptordeps.session.md)
+
+## SearchInterceptorDeps.session property
+
+Signature:
+
+```typescript
+session: ISessionService;
+```
diff --git a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.md b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.md
index 21ddaef3a0b94..af96e1413ba0c 100644
--- a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.md
+++ b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.md
@@ -15,5 +15,6 @@ export interface ISearchOptions
| Property | Type | Description |
| --- | --- | --- |
| [abortSignal](./kibana-plugin-plugins-data-server.isearchoptions.abortsignal.md) | AbortSignal
| An AbortSignal
that allows the caller of search
to abort a search request. |
+| [sessionId](./kibana-plugin-plugins-data-server.isearchoptions.sessionid.md) | string
| A session ID, grouping multiple search requests into a single session. |
| [strategy](./kibana-plugin-plugins-data-server.isearchoptions.strategy.md) | string
| Use this option to force using a specific server side search strategy. Leave empty to use the default strategy. |
diff --git a/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.sessionid.md b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.sessionid.md
new file mode 100644
index 0000000000000..03043de5193d2
--- /dev/null
+++ b/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.isearchoptions.sessionid.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [ISearchOptions](./kibana-plugin-plugins-data-server.isearchoptions.md) > [sessionId](./kibana-plugin-plugins-data-server.isearchoptions.sessionid.md)
+
+## ISearchOptions.sessionId property
+
+A session ID, grouping multiple search requests into a single session.
+
+Signature:
+
+```typescript
+sessionId?: string;
+```
diff --git a/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.label.md b/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.label.md
new file mode 100644
index 0000000000000..26d1e7810f9e7
--- /dev/null
+++ b/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.label.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [Range](./kibana-plugin-plugins-expressions-public.range.md) > [label](./kibana-plugin-plugins-expressions-public.range.label.md)
+
+## Range.label property
+
+Signature:
+
+```typescript
+label?: string;
+```
diff --git a/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.md b/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.md
index cf0cf4cb50b71..83d4b9bd35090 100644
--- a/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.md
+++ b/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.range.md
@@ -15,6 +15,7 @@ export interface Range
| Property | Type | Description |
| --- | --- | --- |
| [from](./kibana-plugin-plugins-expressions-public.range.from.md) | number
| |
+| [label](./kibana-plugin-plugins-expressions-public.range.label.md) | string
| |
| [to](./kibana-plugin-plugins-expressions-public.range.to.md) | number
| |
| [type](./kibana-plugin-plugins-expressions-public.range.type.md) | typeof name
| |
diff --git a/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.label.md b/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.label.md
new file mode 100644
index 0000000000000..767f6011290a1
--- /dev/null
+++ b/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.label.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) > [Range](./kibana-plugin-plugins-expressions-server.range.md) > [label](./kibana-plugin-plugins-expressions-server.range.label.md)
+
+## Range.label property
+
+Signature:
+
+```typescript
+label?: string;
+```
diff --git a/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.md b/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.md
index d369d882757fc..4e6ae12217f2e 100644
--- a/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.md
+++ b/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.range.md
@@ -15,6 +15,7 @@ export interface Range
| Property | Type | Description |
| --- | --- | --- |
| [from](./kibana-plugin-plugins-expressions-server.range.from.md) | number
| |
+| [label](./kibana-plugin-plugins-expressions-server.range.label.md) | string
| |
| [to](./kibana-plugin-plugins-expressions-server.range.to.md) | number
| |
| [type](./kibana-plugin-plugins-expressions-server.range.type.md) | typeof name
| |
diff --git a/docs/fleet/fleet.asciidoc b/docs/fleet/fleet.asciidoc
index 7039468f4b185..06b2b96c0035c 100644
--- a/docs/fleet/fleet.asciidoc
+++ b/docs/fleet/fleet.asciidoc
@@ -3,7 +3,7 @@
[[fleet]]
= {fleet}
-experimental[]
+beta[]
{fleet} in {kib} enables you to add and manage integrations for popular
services and platforms, as well as manage {elastic-agent} installations in
diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx
index e9543814ff015..5ef2cb73b5937 100644
--- a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx
+++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx
@@ -39,7 +39,7 @@ export const PanelEditWithDrilldownsAndContextActions: React.FC = () => {
const customActionGrouping: Action['grouping'] = [
{
id: 'actions',
- getDisplayName: () => 'Custom actions',
+ getDisplayName: () => 'API actions',
getIconType: () => 'cloudStormy',
order: 20,
},
diff --git a/package.json b/package.json
index 732ee1fd3038b..8a87598aec56d 100644
--- a/package.json
+++ b/package.json
@@ -131,10 +131,7 @@
"@kbn/i18n": "1.0.0",
"@kbn/interpreter": "1.0.0",
"@kbn/logging": "1.0.0",
- "@kbn/pm": "1.0.0",
"@kbn/std": "1.0.0",
- "@kbn/telemetry-tools": "1.0.0",
- "@kbn/test-subj-selector": "0.2.1",
"@kbn/ui-framework": "1.0.0",
"@kbn/ace": "1.0.0",
"@kbn/monaco": "1.0.0",
@@ -247,12 +244,22 @@
"@kbn/expect": "1.0.0",
"@kbn/optimizer": "1.0.0",
"@kbn/plugin-generator": "1.0.0",
+ "@kbn/pm": "1.0.0",
"@kbn/release-notes": "1.0.0",
+ "@kbn/telemetry-tools": "1.0.0",
"@kbn/test": "1.0.0",
+ "@kbn/test-subj-selector": "0.2.1",
"@kbn/utility-types": "1.0.0",
"@microsoft/api-documenter": "7.7.2",
"@microsoft/api-extractor": "7.7.0",
"@percy/agent": "^0.26.0",
+ "@storybook/addon-a11y": "^6.0.26",
+ "@storybook/addon-actions": "^6.0.26",
+ "@storybook/addon-essentials": "^6.0.26",
+ "@storybook/addon-knobs": "^6.0.26",
+ "@storybook/addon-storyshots": "^6.0.26",
+ "@storybook/react": "^6.0.26",
+ "@storybook/theming": "^6.0.26",
"@testing-library/dom": "^7.24.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
@@ -301,6 +308,7 @@
"@types/json5": "^0.0.30",
"@types/license-checker": "15.0.0",
"@types/listr": "^0.14.0",
+ "@types/loader-utils": "^1.1.3",
"@types/lodash": "^4.14.159",
"@types/lru-cache": "^5.1.0",
"@types/markdown-it": "^0.0.7",
@@ -346,6 +354,7 @@
"@types/vinyl-fs": "^2.4.11",
"@types/webpack": "^4.41.3",
"@types/webpack-env": "^1.15.2",
+ "@types/webpack-merge": "^4.1.5",
"@types/zen-observable": "^0.8.0",
"@typescript-eslint/eslint-plugin": "^3.10.0",
"@typescript-eslint/parser": "^3.10.0",
diff --git a/packages/elastic-eslint-config-kibana/package.json b/packages/elastic-eslint-config-kibana/package.json
index 3f2c6e9edb261..9d0d579086543 100644
--- a/packages/elastic-eslint-config-kibana/package.json
+++ b/packages/elastic-eslint-config-kibana/package.json
@@ -7,6 +7,9 @@
"type": "git",
"url": "git+https://github.com/elastic/kibana.git"
},
+ "kibana": {
+ "devOnly": true
+ },
"keywords": [],
"author": "Spencer Alger + {i18n.translate('dashboard.panel.libraryNotification.toolTip', { + defaultMessage: + 'This panel is linked to a library item. Editing the panel might affect other dashboards.', + })} +
+