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
Marco Liberati
e3c3b6f334
[Lens] New summary row feature for datatable ( #101075 )
...
* ✨ New summary row feature for datatable
* ✨ Allow empty strings behind flag + tests
* 🐛 Address the transition problem + refactor
* ✅ Add some unit tests
* ✅ Add first functional tests
* 👌 first feedback addressed
* ✨ Make it handle numeric array values
* 📝 Improved message
* ✅ Fix functional test
* 🔥 Remove warning message for last value
* 🚨 Remove unused import
* 🐛 Fix a bug with last value
* 👌 Integrated feedback
* 💄 Migrated to combobox
* ✅ Fix unit tests + restore right data-test-id
* 🏷️ Fix type issue
* 👌 Address all issues reported
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-09 14:27:49 +02:00
Marco Liberati
51616e1b8d
[Lens] Adds dynamic table cell coloring ( #95217 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>
2021-05-28 15:24:28 +02:00
Joe Reuter
33fbe74e4e
[Lens] Transpose columns ( #89748 )
2021-03-11 13:51:50 +01:00
Joe Reuter
ce4c0cda83
[Lens] Table column text alignment ( #89300 )
2021-02-17 16:59:19 +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
132e85144b
[Lens] Add specific IP and Range/Interval sorting to datatable ( #87006 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 16:51:00 +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
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
Marco Liberati
198c5d9988
[Lens] Fix embeddable title and description for reporting and dashboard tooltip ( #78767 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-01 18:02:37 +02:00
Joe Reuter
dbef60d3f1
[Lens] Reduce initial bundle size ( #78142 )
2020-09-29 19:00:29 +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
Marta Bondyra
626fbc2948
[Lens] Clean and inline disabling of react-hooks/exhaustive-deps eslint rule ( #70010 )
2020-08-06 10:10:09 +02:00
Marta Bondyra
84ed5096f3
[Lens] Fix empty values filtering ( #67594 )
2020-05-29 09:38:07 +02: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
Wylie Conlon
561c0f9fed
[Lens] Allow table to scroll horizontally ( #63805 )
...
* [Lens] Allow table to scroll horizontally
* Fixing scrolling pt. 2
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-04-17 17:03:33 -04:00
Tim Roes
ebbc062689
Move Lens frontend to Kibana Platform ( #62965 )
...
* Move Lens frontend to Kibana platform
* Fix line breaks
* Fix jest tests
* Fix remaining test
* Remove old Lens plugin entry
* Fix i18n prefix
* Add config schema
* Address review
2020-04-15 12:22:37 +02:00