-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: ๐ธ add ROW_CLICK_TRIGGER * feat: ๐ธ wire row click event to UI Actions trigger in Lens * feat: ๐ธ add row click trigger to url drilldown * feat: ๐ธ add datatable to row click context * feat: ๐ธ pass in row index in row click trigger context * feat: ๐ธ add columns to row click trigger context * feat: ๐ธ fill values and keys event scope array * feat: ๐ธ generate correct row scope variables * fix: ๐ report triggers from lens embeddable * feat: ๐ธ add sample preview for row click trigger * feat: ๐ธ remove url drilldown preview box * chore: ๐ค remove mock variable generation functions * feat: ๐ธ generate context and global variable lists * feat: ๐ธ preview event variable list * feat: ๐ธ show empty url error on blur * feat: ๐ธ add ability to always show popup for executed actions * refactor: ๐ก rename multiple action execution method * fix: ๐ don't add separator befor group on no main items * feat: ๐ธ wire in uiActions service into datatable renderer * feat: ๐ธ check each row if it has compatible row click actions * feat: ๐ธ allow passing data to expression renderer * feat: ๐ธ add isEmbeddable helper * feat: ๐ธ pass embeddable to lens table renderer * feat: ๐ธ hide lens table row actions which are empty * feat: ๐ธ re-render lens embeddable when dynamic actions chagne * feat: ๐ธ hide actions column if there are no row actions * feat: ๐ธ re-render lens embeddable on view mode chagne * fix: ๐ fix TypeScript errors * chore: ๐ค fix TypeScript errors * docs: โ๏ธ update auto-generated docs * feat: ๐ธ add hasCompatibleActions to expression layer * feat: ๐ธ remove "data" from expression renderer handlers * fix: ๐ fix TypeScript errors * test: ๐ fix Jest tests * docs: โ๏ธ update autogenerated docs * fix: ๐ wrap event payload into data * test: ๐ add "alwaysShowPopup" test * chore: ๐ค add comment requested in review #83167 (comment) * test: ๐ add hasCompatibleActions test * test: ๐ add datatable renderer test * test: ๐ add Lens embeddable input change tests * test: ๐ add embeddable row click test * fix: ๐ add url validation * test: ๐ add url drilldown tests * docs: โ๏ธ remove url drilldown preview from docs * docs: โ๏ธ remove preview from url templating * docs: โ๏ธ add row click description * chore: ๐ค move 36.5 KB bundle balance to url_drilldown * test: ๐ simplify test case * style: ๐ change types places * refactor: ๐ก clean up panel variable generation * test: ๐ add getPanelVariables() tests * fix: ๐ generate runtime variables correctly * fix: ๐ improve getVariableList() and add tests for it * feat: ๐ธ add translation, improve types
- Loading branch information
Showing
76 changed files
with
1,684 additions
and
584 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
11 changes: 11 additions & 0 deletions
11
...ugins/embeddable/public/kibana-plugin-plugins-embeddable-public.isembeddable.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-embeddable-public](./kibana-plugin-plugins-embeddable-public.md) > [isEmbeddable](./kibana-plugin-plugins-embeddable-public.isembeddable.md) | ||
|
||
## isEmbeddable variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
isEmbeddable: (x: unknown) => x is IEmbeddable<import("./i_embeddable").EmbeddableInput, import("./i_embeddable").EmbeddableOutput> | ||
``` |
11 changes: 11 additions & 0 deletions
11
...able/public/kibana-plugin-plugins-embeddable-public.isrowclicktriggercontext.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-embeddable-public](./kibana-plugin-plugins-embeddable-public.md) > [isRowClickTriggerContext](./kibana-plugin-plugins-embeddable-public.isrowclicktriggercontext.md) | ||
|
||
## isRowClickTriggerContext variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
isRowClickTriggerContext: (context: ChartActionContext) => context is RowClickContext | ||
``` |
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
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
11 changes: 11 additions & 0 deletions
11
...ugin-plugins-expressions-public.iexpressionloaderparams.hascompatibleactions.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [IExpressionLoaderParams](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.md) > [hasCompatibleActions](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.hascompatibleactions.md) | ||
|
||
## IExpressionLoaderParams.hasCompatibleActions property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
hasCompatibleActions?: ExpressionRenderHandlerParams['hasCompatibleActions']; | ||
``` |
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
11 changes: 11 additions & 0 deletions
11
...n-plugins-expressions-public.iinterpreterrenderhandlers.hascompatibleactions.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [IInterpreterRenderHandlers](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.md) > [hasCompatibleActions](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.hascompatibleactions.md) | ||
|
||
## IInterpreterRenderHandlers.hasCompatibleActions property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
hasCompatibleActions?: (event: any) => Promise<boolean>; | ||
``` |
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
11 changes: 11 additions & 0 deletions
11
...n-plugins-expressions-server.iinterpreterrenderhandlers.hascompatibleactions.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) > [IInterpreterRenderHandlers](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.md) > [hasCompatibleActions](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.hascompatibleactions.md) | ||
|
||
## IInterpreterRenderHandlers.hasCompatibleActions property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
hasCompatibleActions?: (event: any) => Promise<boolean>; | ||
``` |
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
11 changes: 11 additions & 0 deletions
11
.../ui_actions/public/kibana-plugin-plugins-ui_actions-public.row_click_trigger.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) > [ROW\_CLICK\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.row_click_trigger.md) | ||
|
||
## ROW\_CLICK\_TRIGGER variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
ROW_CLICK_TRIGGER = "ROW_CLICK_TRIGGER" | ||
``` |
15 changes: 15 additions & 0 deletions
15
..._actions/public/kibana-plugin-plugins-ui_actions-public.rowclickcontext.data.md
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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) > [RowClickContext](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.md) > [data](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.data.md) | ||
|
||
## RowClickContext.data property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
data: { | ||
rowIndex: number; | ||
table: Datatable; | ||
columns?: string[]; | ||
}; | ||
``` |
11 changes: 11 additions & 0 deletions
11
...ns/public/kibana-plugin-plugins-ui_actions-public.rowclickcontext.embeddable.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) > [RowClickContext](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.md) > [embeddable](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.embeddable.md) | ||
|
||
## RowClickContext.embeddable property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
embeddable?: IEmbeddable; | ||
``` |
19 changes: 19 additions & 0 deletions
19
...ns/ui_actions/public/kibana-plugin-plugins-ui_actions-public.rowclickcontext.md
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,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) > [RowClickContext](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.md) | ||
|
||
## RowClickContext interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface RowClickContext | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [data](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.data.md) | <code>{</code><br/><code> rowIndex: number;</code><br/><code> table: Datatable;</code><br/><code> columns?: string[];</code><br/><code> }</code> | | | ||
| [embeddable](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.embeddable.md) | <code>IEmbeddable</code> | | | ||
|
11 changes: 11 additions & 0 deletions
11
...ns/ui_actions/public/kibana-plugin-plugins-ui_actions-public.rowclicktrigger.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) > [rowClickTrigger](./kibana-plugin-plugins-ui_actions-public.rowclicktrigger.md) | ||
|
||
## rowClickTrigger variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
rowClickTrigger: Trigger<'ROW_CLICK_TRIGGER'> | ||
``` |
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
11 changes: 11 additions & 0 deletions
11
...ana-plugin-plugins-ui_actions-public.triggercontextmapping.row_click_trigger.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) > [TriggerContextMapping](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.md) > [ROW\_CLICK\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.row_click_trigger.md) | ||
|
||
## TriggerContextMapping.ROW\_CLICK\_TRIGGER property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
[ROW_CLICK_TRIGGER]: RowClickContext; | ||
``` |
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
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
Oops, something went wrong.