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

Adds row click trigger for Lens table drilldowns #83167

Merged
merged 74 commits into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from 73 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
0e6ea08
feat: 🎸 add ROW_CLICK_TRIGGER
streamich Oct 26, 2020
b842f0b
feat: 🎸 wire row click event to UI Actions trigger in Lens
streamich Oct 27, 2020
7085484
feat: 🎸 add row click trigger to url drilldown
streamich Oct 27, 2020
7313e45
feat: 🎸 add datatable to row click context
streamich Oct 27, 2020
4c504eb
Merge remote-tracking branch 'upstream/master' into row-trigger
streamich Oct 28, 2020
10473b2
feat: 🎸 pass in row index in row click trigger context
streamich Oct 28, 2020
b57a871
feat: 🎸 add columns to row click trigger context
streamich Oct 28, 2020
834ce03
feat: 🎸 fill values and keys event scope array
streamich Oct 29, 2020
5223fa4
Merge remote-tracking branch 'upstream/master' into row-trigger
streamich Nov 4, 2020
d1230f3
feat: 🎸 generate correct row scope variables
streamich Nov 4, 2020
7848fa5
fix: 🐛 report triggers from lens embeddable
streamich Nov 4, 2020
5d71b66
feat: 🎸 add sample preview for row click trigger
streamich Nov 4, 2020
4adff09
Merge remote-tracking branch 'upstream/master' into row-trigger
streamich Nov 5, 2020
f1734f6
feat: 🎸 remove url drilldown preview box
streamich Nov 5, 2020
476d713
chore: 🤖 remove mock variable generation functions
streamich Nov 6, 2020
c009814
feat: 🎸 generate context and global variable lists
streamich Nov 6, 2020
7a3c0d5
feat: 🎸 preview event variable list
streamich Nov 6, 2020
a8f053c
feat: 🎸 show empty url error on blur
streamich Nov 6, 2020
12187eb
Merge remote-tracking branch 'upstream/master' into row-trigger
streamich Nov 6, 2020
797cd56
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Nov 11, 2020
9842aed
feat: 🎸 add ability to always show popup for executed actions
streamich Nov 11, 2020
61c7bb6
refactor: 💡 rename multiple action execution method
streamich Nov 11, 2020
8d7a04b
fix: 🐛 don't add separator befor group on no main items
streamich Nov 11, 2020
b5c0adf
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Nov 12, 2020
5160166
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Nov 24, 2020
8597af5
feat: 🎸 wire in uiActions service into datatable renderer
streamich Nov 24, 2020
aab6b45
feat: 🎸 check each row if it has compatible row click actions
streamich Nov 24, 2020
3bddef3
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Nov 25, 2020
6784115
feat: 🎸 allow passing data to expression renderer
streamich Nov 25, 2020
0db33e0
feat: 🎸 add isEmbeddable helper
streamich Nov 25, 2020
d0d4516
feat: 🎸 pass embeddable to lens table renderer
streamich Nov 25, 2020
24cc7ea
feat: 🎸 hide lens table row actions which are empty
streamich Nov 25, 2020
b4ce09e
feat: 🎸 re-render lens embeddable when dynamic actions chagne
streamich Nov 25, 2020
2897cc3
feat: 🎸 hide actions column if there are no row actions
streamich Nov 25, 2020
a764ec7
feat: 🎸 re-render lens embeddable on view mode chagne
streamich Nov 25, 2020
45ce9af
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 2, 2020
64f08ff
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 2, 2020
dee656e
fix: 🐛 fix TypeScript errors
streamich Dec 2, 2020
5a5a68d
chore: 🤖 fix TypeScript errors
streamich Dec 2, 2020
7b776bb
docs: ✏️ update auto-generated docs
streamich Dec 2, 2020
e2e1b4d
feat: 🎸 add hasCompatibleActions to expression layer
streamich Dec 2, 2020
3137efa
feat: 🎸 remove "data" from expression renderer handlers
streamich Dec 2, 2020
263929e
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 3, 2020
55e6358
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 3, 2020
92386e3
fix: 🐛 fix TypeScript errors
streamich Dec 3, 2020
496ee48
test: 💍 fix Jest tests
streamich Dec 3, 2020
67fc5b2
docs: ✏️ update autogenerated docs
streamich Dec 3, 2020
07f0410
chore: 🤖 catch up with master
streamich Dec 3, 2020
5281131
fix: 🐛 wrap event payload into data
streamich Dec 3, 2020
4ebc092
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 7, 2020
717b01e
test: 💍 add "alwaysShowPopup" test
streamich Dec 7, 2020
3e262de
chore: 🤖 add comment requested in review
streamich Dec 7, 2020
c3ccac3
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 8, 2020
094e6a5
test: 💍 add hasCompatibleActions test
streamich Dec 8, 2020
be61333
test: 💍 add datatable renderer test
streamich Dec 8, 2020
e39eb01
test: 💍 add Lens embeddable input change tests
streamich Dec 8, 2020
ab6cd25
test: 💍 add embeddable row click test
streamich Dec 8, 2020
73ad8f0
fix: 🐛 add url validation
streamich Dec 8, 2020
108e218
test: 💍 add url drilldown tests
streamich Dec 8, 2020
262b6ad
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 9, 2020
5909051
docs: ✏️ remove url drilldown preview from docs
streamich Dec 9, 2020
6a8344d
docs: ✏️ remove preview from url templating
streamich Dec 9, 2020
684293c
docs: ✏️ add row click description
streamich Dec 9, 2020
bc4f4c2
chore: 🤖 move 36.5 KB bundle balance to url_drilldown
streamich Dec 9, 2020
48067fe
test: 💍 simplify test case
streamich Dec 9, 2020
eed6277
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 10, 2020
d469335
style: 💄 change types places
streamich Dec 10, 2020
ff5e414
refactor: 💡 clean up panel variable generation
streamich Dec 10, 2020
919aa56
test: 💍 add getPanelVariables() tests
streamich Dec 10, 2020
9800600
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 10, 2020
b373527
fix: 🐛 generate runtime variables correctly
streamich Dec 10, 2020
e4ac69d
fix: 🐛 improve getVariableList() and add tests for it
streamich Dec 10, 2020
3e370f9
Merge remote-tracking branch 'upstream/master' into row-trigger-2
streamich Dec 14, 2020
1d16a78
feat: 🎸 add translation, improve types
streamich Dec 14, 2020
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 @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
export declare type ChartActionContext<T extends IEmbeddable = IEmbeddable> = ValueClickContext<T> | RangeSelectContext<T>;
export declare type ChartActionContext<T extends IEmbeddable = IEmbeddable> = ValueClickContext<T> | RangeSelectContext<T> | RowClickContext;
```
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-embeddable-public](./kibana-plugin-plugins-embeddable-public.md) &gt; [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>
```
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-embeddable-public](./kibana-plugin-plugins-embeddable-public.md) &gt; [isRowClickTriggerContext](./kibana-plugin-plugins-embeddable-public.isrowclicktriggercontext.md)

## isRowClickTriggerContext variable

<b>Signature:</b>

```typescript
isRowClickTriggerContext: (context: ChartActionContext) => context is RowClickContext
```
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
| [defaultEmbeddableFactoryProvider](./kibana-plugin-plugins-embeddable-public.defaultembeddablefactoryprovider.md) | |
| [EmbeddableRenderer](./kibana-plugin-plugins-embeddable-public.embeddablerenderer.md) | Helper react component to render an embeddable Can be used if you have an embeddable object or an embeddable factory Supports updating input by passing <code>input</code> prop |
| [isContextMenuTriggerContext](./kibana-plugin-plugins-embeddable-public.iscontextmenutriggercontext.md) | |
| [isEmbeddable](./kibana-plugin-plugins-embeddable-public.isembeddable.md) | |
| [isRangeSelectTriggerContext](./kibana-plugin-plugins-embeddable-public.israngeselecttriggercontext.md) | |
| [isRowClickTriggerContext](./kibana-plugin-plugins-embeddable-public.isrowclicktriggercontext.md) | |
| [isValueClickTriggerContext](./kibana-plugin-plugins-embeddable-public.isvalueclicktriggercontext.md) | |
| [PANEL\_BADGE\_TRIGGER](./kibana-plugin-plugins-embeddable-public.panel_badge_trigger.md) | |
| [PANEL\_NOTIFICATION\_TRIGGER](./kibana-plugin-plugins-embeddable-public.panel_notification_trigger.md) | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Constructs a new instance of the `ExpressionRenderHandler` class
<b>Signature:</b>

```typescript
constructor(element: HTMLElement, { onRenderError, renderMode }?: Partial<ExpressionRenderHandlerParams>);
constructor(element: HTMLElement, { onRenderError, renderMode, hasCompatibleActions, }?: ExpressionRenderHandlerParams);
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| element | <code>HTMLElement</code> | |
| { onRenderError, renderMode } | <code>Partial&lt;ExpressionRenderHandlerParams&gt;</code> | |
| { onRenderError, renderMode, hasCompatibleActions, } | <code>ExpressionRenderHandlerParams</code> | |

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare class ExpressionRenderHandler

| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(element, { onRenderError, renderMode })](./kibana-plugin-plugins-expressions-public.expressionrenderhandler._constructor_.md) | | Constructs a new instance of the <code>ExpressionRenderHandler</code> class |
| [(constructor)(element, { onRenderError, renderMode, hasCompatibleActions, })](./kibana-plugin-plugins-expressions-public.expressionrenderhandler._constructor_.md) | | Constructs a new instance of the <code>ExpressionRenderHandler</code> class |

## Properties

Expand All @@ -24,7 +24,7 @@ export declare class ExpressionRenderHandler
| [events$](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.events_.md) | | <code>Observable&lt;ExpressionRendererEvent&gt;</code> | |
| [getElement](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.getelement.md) | | <code>() =&gt; HTMLElement</code> | |
| [handleRenderError](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.handlerendererror.md) | | <code>(error: ExpressionRenderError) =&gt; void</code> | |
| [render](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.render.md) | | <code>(data: any, uiState?: any) =&gt; Promise&lt;void&gt;</code> | |
| [render](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.render.md) | | <code>(value: any, uiState?: any) =&gt; Promise&lt;void&gt;</code> | |
| [render$](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.render_.md) | | <code>Observable&lt;number&gt;</code> | |
| [update$](./kibana-plugin-plugins-expressions-public.expressionrenderhandler.update_.md) | | <code>Observable&lt;UpdateValue &#124; null&gt;</code> | |

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
render: (data: any, uiState?: any) => Promise<void>;
render: (value: any, uiState?: any) => Promise<void>;
```
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-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [IExpressionLoaderParams](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.md) &gt; [hasCompatibleActions](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.hascompatibleactions.md)

## IExpressionLoaderParams.hasCompatibleActions property

<b>Signature:</b>

```typescript
hasCompatibleActions?: ExpressionRenderHandlerParams['hasCompatibleActions'];
```
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface IExpressionLoaderParams
| [customRenderers](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.customrenderers.md) | <code>[]</code> | |
| [debug](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.debug.md) | <code>boolean</code> | |
| [disableCaching](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.disablecaching.md) | <code>boolean</code> | |
| [hasCompatibleActions](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.hascompatibleactions.md) | <code>ExpressionRenderHandlerParams['hasCompatibleActions']</code> | |
| [inspectorAdapters](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.inspectoradapters.md) | <code>Adapters</code> | |
| [onRenderError](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.onrendererror.md) | <code>RenderErrorHandlerFnType</code> | |
| [renderMode](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.rendermode.md) | <code>RenderMode</code> | |
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-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [IInterpreterRenderHandlers](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.md) &gt; [hasCompatibleActions](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.hascompatibleactions.md)

## IInterpreterRenderHandlers.hasCompatibleActions property

<b>Signature:</b>

```typescript
hasCompatibleActions?: (event: any) => Promise<boolean>;
```
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface IInterpreterRenderHandlers
| [done](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.done.md) | <code>() =&gt; void</code> | Done increments the number of rendering successes |
| [event](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.event.md) | <code>(event: any) =&gt; void</code> | |
| [getRenderMode](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.getrendermode.md) | <code>() =&gt; RenderMode</code> | |
| [hasCompatibleActions](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.hascompatibleactions.md) | <code>(event: any) =&gt; Promise&lt;boolean&gt;</code> | |
| [onDestroy](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.ondestroy.md) | <code>(fn: () =&gt; void) =&gt; void</code> | |
| [reload](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.reload.md) | <code>() =&gt; void</code> | |
| [uiState](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.uistate.md) | <code>PersistedState</code> | |
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-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [IInterpreterRenderHandlers](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.md) &gt; [hasCompatibleActions](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.hascompatibleactions.md)

## IInterpreterRenderHandlers.hasCompatibleActions property

<b>Signature:</b>

```typescript
hasCompatibleActions?: (event: any) => Promise<boolean>;
```
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface IInterpreterRenderHandlers
| [done](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.done.md) | <code>() =&gt; void</code> | Done increments the number of rendering successes |
| [event](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.event.md) | <code>(event: any) =&gt; void</code> | |
| [getRenderMode](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.getrendermode.md) | <code>() =&gt; RenderMode</code> | |
| [hasCompatibleActions](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.hascompatibleactions.md) | <code>(event: any) =&gt; Promise&lt;boolean&gt;</code> | |
| [onDestroy](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.ondestroy.md) | <code>(fn: () =&gt; void) =&gt; void</code> | |
| [reload](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.reload.md) | <code>() =&gt; void</code> | |
| [uiState](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.uistate.md) | <code>PersistedState</code> | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
| [Action](./kibana-plugin-plugins-ui_actions-public.action.md) | |
| [ActionContextMapping](./kibana-plugin-plugins-ui_actions-public.actioncontextmapping.md) | |
| [ActionExecutionMeta](./kibana-plugin-plugins-ui_actions-public.actionexecutionmeta.md) | During action execution we can provide additional information, for example, trigger, that caused the action execution |
| [RowClickContext](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.md) | |
| [Trigger](./kibana-plugin-plugins-ui_actions-public.trigger.md) | This is a convenience interface used to register a \*trigger\*.<code>Trigger</code> specifies a named anchor to which <code>Action</code> can be attached. When <code>Trigger</code> is being \*called\* it creates a <code>Context</code> object and passes it to the <code>execute</code> method of an <code>Action</code>.<!-- -->More than one action can be attached to a single trigger, in which case when trigger is \*called\* it first displays a context menu for user to pick a single action to execute. |
| [TriggerContextMapping](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.md) | |
| [UiActionsActionDefinition](./kibana-plugin-plugins-ui_actions-public.uiactionsactiondefinition.md) | A convenience interface used to register an action. |
Expand All @@ -42,6 +43,8 @@
| [ACTION\_VISUALIZE\_LENS\_FIELD](./kibana-plugin-plugins-ui_actions-public.action_visualize_lens_field.md) | |
| [APPLY\_FILTER\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.apply_filter_trigger.md) | |
| [applyFilterTrigger](./kibana-plugin-plugins-ui_actions-public.applyfiltertrigger.md) | |
| [ROW\_CLICK\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.row_click_trigger.md) | |
| [rowClickTrigger](./kibana-plugin-plugins-ui_actions-public.rowclicktrigger.md) | |
| [SELECT\_RANGE\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.select_range_trigger.md) | |
| [selectRangeTrigger](./kibana-plugin-plugins-ui_actions-public.selectrangetrigger.md) | |
| [VALUE\_CLICK\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.value_click_trigger.md) | |
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-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) &gt; [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"
```
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) &gt; [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) &gt; [RowClickContext](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.md) &gt; [data](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.data.md)

## RowClickContext.data property

<b>Signature:</b>

```typescript
data: {
rowIndex: number;
table: Datatable;
columns?: 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-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) &gt; [RowClickContext](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.md) &gt; [embeddable](./kibana-plugin-plugins-ui_actions-public.rowclickcontext.embeddable.md)

## RowClickContext.embeddable property

<b>Signature:</b>

```typescript
embeddable?: IEmbeddable;
```
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) &gt; [kibana-plugin-plugins-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) &gt; [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> | |

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-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) &gt; [rowClickTrigger](./kibana-plugin-plugins-ui_actions-public.rowclicktrigger.md)

## rowClickTrigger variable

<b>Signature:</b>

```typescript
rowClickTrigger: Trigger<'ROW_CLICK_TRIGGER'>
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export interface TriggerContextMapping
| --- | --- | --- |
| [""](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.__.md) | <code>TriggerContext</code> | |
| [FILTER\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.filter_trigger.md) | <code>ApplyGlobalFilterActionContext</code> | |
| [ROW\_CLICK\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.row_click_trigger.md) | <code>RowClickContext</code> | |
| [SELECT\_RANGE\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.select_range_trigger.md) | <code>RangeSelectContext</code> | |
| [VALUE\_CLICK\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.value_click_trigger.md) | <code>ValueClickContext</code> | |
| [VISUALIZE\_FIELD\_TRIGGER](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.visualize_field_trigger.md) | <code>VisualizeFieldContext</code> | |
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-ui\_actions-public](./kibana-plugin-plugins-ui_actions-public.md) &gt; [TriggerContextMapping](./kibana-plugin-plugins-ui_actions-public.triggercontextmapping.md) &gt; [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;
```
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<b>Signature:</b>

```typescript
readonly addTriggerAction: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T, action: ActionDefinition<TriggerContextMapping[T]> | Action<TriggerContextMapping[T], "" | "ACTION_VISUALIZE_FIELD" | "ACTION_VISUALIZE_GEO_FIELD" | "ACTION_VISUALIZE_LENS_FIELD" | "ACTION_GLOBAL_APPLY_FILTER" | "ACTION_SELECT_RANGE" | "ACTION_VALUE_CLICK" | "ACTION_CUSTOMIZE_PANEL" | "ACTION_ADD_PANEL" | "openInspector" | "deletePanel" | "editPanel" | "togglePanel" | "replacePanel" | "clonePanel" | "addToFromLibrary" | "unlinkFromLibrary" | "ACTION_LIBRARY_NOTIFICATION" | "ACTION_EXPORT_CSV">) => void;
readonly addTriggerAction: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "ROW_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T, action: ActionDefinition<TriggerContextMapping[T]> | Action<TriggerContextMapping[T], "" | "ACTION_VISUALIZE_FIELD" | "ACTION_VISUALIZE_GEO_FIELD" | "ACTION_VISUALIZE_LENS_FIELD" | "ACTION_GLOBAL_APPLY_FILTER" | "ACTION_SELECT_RANGE" | "ACTION_VALUE_CLICK" | "ACTION_CUSTOMIZE_PANEL" | "ACTION_ADD_PANEL" | "openInspector" | "deletePanel" | "editPanel" | "togglePanel" | "replacePanel" | "clonePanel" | "addToFromLibrary" | "unlinkFromLibrary" | "ACTION_LIBRARY_NOTIFICATION" | "ACTION_EXPORT_CSV">) => void;
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
readonly attachAction: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T, actionId: string) => void;
readonly attachAction: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "ROW_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T, actionId: string) => void;
```
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<b>Signature:</b>

```typescript
readonly executeTriggerActions: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T, context: TriggerContext<T>) => Promise<void>;
readonly executeTriggerActions: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "ROW_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T, context: TriggerContext<T>) => Promise<void>;
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
readonly getTrigger: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T) => TriggerContract<T>;
readonly getTrigger: <T extends "" | "SELECT_RANGE_TRIGGER" | "VALUE_CLICK_TRIGGER" | "ROW_CLICK_TRIGGER" | "FILTER_TRIGGER" | "VISUALIZE_FIELD_TRIGGER" | "VISUALIZE_GEO_FIELD_TRIGGER" | "CONTEXT_MENU_TRIGGER" | "PANEL_BADGE_TRIGGER" | "PANEL_NOTIFICATION_TRIGGER">(triggerId: T) => TriggerContract<T>;
```
Loading