Commit fca549e
committed
Row trigger 2 (#83167)
* 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
# Conflicts:
# packages/kbn-optimizer/limits.yml1 parent a22b397 commit fca549e
76 files changed
Lines changed: 1684 additions & 584 deletions
File tree
- docs
- development/plugins
- embeddable/public
- expressions
- public
- server
- ui_actions/public
- user/dashboard
- images
- packages/kbn-optimizer
- src/plugins
- embeddable/public
- lib
- embeddables
- triggers
- expressions
- common/expression_renderers
- public
- types
- server
- ui_actions/public
- service
- tests
- triggers
- visualizations/public/embeddable
- x-pack/plugins
- drilldowns/url_drilldown/public/lib
- test
- lens/public
- datatable_visualization
- __snapshots__
- editor_frame_service/embeddable
- ui_actions_enhanced/public/drilldowns/url_drilldown
- components/url_drilldown_collect_config
- test_samples
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments