Commit 687c878
committed
Drilldown allow list (#85779)
* 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
* feat: ๐ธ check if external URL is valid before redirecting user
* test: ๐ check for external URL validity
* feat: ๐ธ check if external URL is allowed in exec and getHref
* test: ๐ fix test import1 parent d0c88d5 commit 687c878
3 files changed
Lines changed: 106 additions & 8 deletions
File tree
- x-pack/plugins/drilldowns/url_drilldown/public
- lib
Lines changed: 78 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
63 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
69 | 85 | | |
70 | 86 | | |
71 | 87 | | |
| |||
125 | 141 | | |
126 | 142 | | |
127 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
128 | 168 | | |
129 | 169 | | |
130 | 170 | | |
| |||
173 | 213 | | |
174 | 214 | | |
175 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
176 | 252 | | |
177 | 253 | | |
178 | 254 | | |
| |||
Lines changed: 27 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
115 | 124 | | |
116 | 125 | | |
117 | | - | |
118 | | - | |
119 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
120 | 141 | | |
121 | 142 | | |
122 | 143 | | |
123 | | - | |
| 144 | + | |
124 | 145 | | |
125 | 146 | | |
126 | 147 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments