Alexey Antonov
82bec98cd7
[Lens] Register all expression functions to the server ( #107836 )
...
Part of: #97134
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 13:59:49 +03:00
Anton Dosov
af3a976e17
[FieldFormats] Break from data
plugin ( #107173 )
2021-08-05 16:25:22 +02:00
Marco Liberati
3c6b85469b
[Lens] Move Lens functions to common
( #105455 )
...
* 🚚 First move batch to common
* 🚚 Second batch of move
* 🏷️ Import types only
* 🚚 Third batch
* 🚚 Fourth batch move
* 🚚 Another module moved
* 🚚 More function moved
* 🚚 Last bit of move
* ⚡ Reduce page load bundle size
* 🐛 Fix import issue
* 🐛 More import fix
* ✨ Registered functions on the server
* 🐛 Expose datatable_column as well
* ✅ Add server side expression test
* 🚚 Moved back render functions to public
* ✨ Add a timezone arg to time_scale
* 🔥 Remove timezone arg
* 🔥 Remove server side code for now
* 👌 Integrated feedback
* 🚚 Move back datatable render function
* 🏷️ Fix imports
* 🏷️ Fix missing export
* 🚚 Move render functions back!
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 15:26:29 +02:00
Joe Reuter
33fbe74e4e
[Lens] Transpose columns ( #89748 )
2021-03-11 13:51:50 +01:00
Joe Reuter
1741cef4ae
[Lens] Hide column in table ( #88680 )
2021-02-04 16:22:09 +01:00
Brandon Kobel
4584a8b570
Elastic License 2.0 ( #90099 )
...
* Updating everything except the license headers themselves
* Applying ESLint rules
* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00
Marco Liberati
9733d2fdaa
[Lens] Use datagrid with resizable columns for datatable ( #88069 )
...
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 12:09:26 +01:00
Marco Liberati
62623cdab9
[Lens] New sorting feature for the datatable visualization ( #84435 )
...
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 12:37:59 +01:00
Vadim Dalecky
b01a327076
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
https://github.com/elastic/kibana/pull/83167#discussion_r537340216
* 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
2020-12-14 13:28:23 +01:00
Tyler Smalley
aba2068291
Consolidates Jest configuration files and scripts ( #82671 )
...
Jest tests are currently organized into main configuration files (src/dev/jest/config.js and x-pack/dev-tools/jest/create_jest_config.js). Both of these are similar, but very slightly due to previously being in separate repositories. This change consolidates the scripts referenced in those configs and moves them to the `@kbn/test` project.
OSS contained an alias for `test_utils`. Those aliases have been removed in favor of importing these utilities from `@kbn/test/jest`
Blocker to #72569
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-11-12 16:19:56 -08:00
Peter Pisljar
c90dabaeba
removing kibana_datatable
in favor of datatable
( #80548 )
2020-10-16 18:46:51 +02:00
spalger
6eeab00944
Revert "removing kibana_datatable in favor of
datatable` ( #75184 )"
...
This reverts commit 255b865be8
.
2020-10-13 08:53:14 -07:00
Peter Pisljar
255b865be8
removing kibana_datatable in favor of
datatable` ( #75184 )
2020-10-13 17:00:38 +02:00
Joe Reuter
63f0cc0519
[Lens] Stack as percentage ( #70703 )
2020-09-15 11:24:02 +02:00
Wylie Conlon
8364d8d67a
[Lens] Decouple visualizations from specific operations ( #75703 )
...
* [Lens] Decouple visualizations from specific operations
* Remove unused mock
2020-08-26 18:27:40 -04:00
restrry
bf04235dae
apply prettier styles
2020-05-22 09:08:58 +02:00
Marta Bondyra
d9d8777613
[Lens] Fix datatable empty state ( #66744 )
2020-05-19 11:14:26 +02:00
Joe Reuter
52070091f4
Lens drilldowns ( #65675 )
2020-05-15 12:01:27 +02:00
Marta Bondyra
c4e6789c28
[Lens] Trigger a filter action on click in datatable visualization ( #63840 )
...
* wip: datatable
* fix: empty values
* fix: empty values
* translations
* using dataPlugin to get buckets
* one more time, passing aggs data
* tests: added
* feat: new design applied
* remove icon
* feat: old design
* CR corrections
* better name
* Fix merge issue
* fix: design changes
* feat: correction
* fix: copy changes
* Update x-pack/plugins/lens/public/datatable_visualization/_visualization.scss
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
* Update _visualization.scss
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2020-04-30 17:44:16 -04:00