Commit graph

151 commits

Author SHA1 Message Date
Joe Reuter
cd84ace53d
[Lens] Leverage original http request error (#79831) 2020-10-13 15:17:40 +02:00
Maja Grubic
13059bdd8f
[Refactor] Move AttributeService from Dashboard to Embeddable plugin (#79830)
* [Refactor] Move AttributeService from Dashboard to Embeddable plugin

* Fix wrong import

* Fixing typescript errors

* Make Dashboard a required dependency

* Fixing circular dependency

* Fix label namespace

* Updating docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-12 14:51:39 +01:00
Marco Liberati
ff80d90626
[Lens] Fix for Percentage and Metric suggestions/visualizations on 0 or empty vlaues (#79309)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 10:36:56 +02:00
Marta Bondyra
ae84bb2033
[Lens] Improve unclear UI for bucket aggregation grouping order (#77331) 2020-10-07 10:34:48 +02:00
Joe Reuter
018c2bd22f
[Lens] Make histogram brushing possible (#79435) 2020-10-07 10:20:58 +02:00
Marta Bondyra
cded1ce5f1
[Lens] Don't debounce visualization settings UI (#79625)
* perf: don't debounce settings menu

* perf: fix performance for settings
2020-10-07 10:17:17 +02:00
Wylie Conlon
2de2c70f75
[Lens] Break long titles into multiple lines (#79580) 2020-10-06 11:50:44 -04:00
Joe Reuter
11886bf51c
[Lens] Add search to chart switcher (#77631) 2020-10-06 17:17:41 +02:00
Stratoula Kalafateli
08a4586b14
[Lens] Navigate from discover to lens (#77873)
* Create lens action and unregister the visualize one

* remove console

* Implement Discover to Lens, wip, missing tests

* Add unit tests

* fix embed lens to empty dashboard functional tests

* fix suggestions on save

* Fix bug on save button, query and filters should be transferred from discover

* Add functional test for the navigation from Discover to Lens

* PR update after code review

* unregister visualize action only if the action exists

* Change the test to not be flaky

* Move suggestions to editor frame and hide the emptyWorkspace for visualize field

* Update ui actions docs

* Add a retry to remove test flakiness

* Fix bug of infinite loader when removing the y axis dimension

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 11:15:41 +03:00
Maja Grubic
989e9c9702
Refactor attribute service (#78414)
* Making saveMethod mandatory in attribute service

* Making unwrap method mandatory

* Making book embeddable respect new attribute service

* Remove savedObjectsClient from attribute service

* Add checkForDuplicateTitle method to book embeddable

* Make options mandatory on attribute service

* Changing Lens attribute service

* Somw more typescript fixes

* Fixing attribute service typescript and tests

* Fixing typescript errors

* Unsetting feature flag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 08:31:55 +01:00
Marta Bondyra
f663743d78
[Lens] fix empty callout for empty/meta fields accordion (#79429) 2020-10-05 23:07:07 +02:00
Marta Bondyra
ce97982522
[Lens] refactor DimensionContainer and fix flyout bug (#79277) 2020-10-05 12:41:09 +02:00
Joe Reuter
b66de2ce1d
improve lens lazy loading (#79292) 2020-10-02 21:50:25 +02:00
Nick Partridge
e9fd3902c5
upgrade @elastic/charts to v23.0.0 (#79226)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 19:48:40 +02:00
Ryan Keairns
d9915fdee0
Re-style and re-order top menu buttons (#79206)
* Re-style and re-order top menu buttons

* Update snapshot due to removed fill prop

* Fix link order for Maps
2020-10-02 11:47:20 -05:00
Marco Liberati
d679624532
[Lens] Fix open custom ranges saved issue (#78915)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 18:41:40 +02:00
Marta Bondyra
fccfad24cb
[Lens] remove test warnings about improper HTML structure (#79251)
* [Lens] remove test warnings about improper HTML structure
2020-10-02 17:18:20 +02:00
PavithraCP
94ef651d7b
[Lens]Do not enable histogram mode for multiple un-stacked bar series (#78525) 2020-10-02 13:16:46 +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
Caroline Horn
e248f32111
[Lens] Consistent Drag and Drop styles (#78674)
* Remove wrapping div of DragDrop and pass props to child
* Using EuiHighlight
* Basic styles in for all DnD states
* Fixing dimension button styles
* Fix FieldButton to accept `…rest` props
* A few other minor fixes
* Fixed horizontal scroll of error message
* Quick fix for invalid link
2020-10-01 11:58:23 -04:00
Marco Liberati
d793040082
[Lens] Histogram/range operation new copy (#78328)
* 💬 New copy revision for histogram/range operation in lens

* 👌 Updated panel copy

* 👌 Change copy based on feedback
2020-10-01 14:25:59 +02:00
Joe Reuter
8d7f2d0828
[Lens] Handle missing fields gracefully (#78173) 2020-10-01 13:39:10 +02:00
Marta Bondyra
8948811c63
fix: add EuiOutsideClickDetector (#78733)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-01 12:54:48 +02:00
Marta Bondyra
d11da3275d
[Lens] Don't allow values outside of range for number of top values (#78734) 2020-10-01 12:54:40 +02:00
Marta Bondyra
3e7fb9352d
[Lens] fix wrong message in fields accordion (#78924) 2020-09-30 18:51:18 +02:00
Wylie Conlon
9605e291d8
[Lens] Maintain order of operations in dimension panel (#78864) 2020-09-30 11:38:43 -04:00
Joe Reuter
dbef60d3f1
[Lens] Reduce initial bundle size (#78142) 2020-09-29 19:00:29 +02:00
Wylie Conlon
0ebaf92a6a
[Lens] Fieldless operations (#78080)
* [Lens] Fieldless operations

* Overhaul types

* Fix invalid state and add tests

* Fix types

* Small cleanup

* Add additional error message

* Reset field selector to empty state when invalid

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-28 11:22:03 -04:00
Caroline Horn
ba635340be
[Lens] Add a better drag/drop illustration (#78245)
Fixes #76021
2020-09-24 09:46:18 -04:00
Joe Reuter
839817ca9a
[Lens] show meta field data in Lens (#77210) 2020-09-24 09:55:32 +02:00
Devon Thomson
32abbff685
[Time to Visualize] Lens By Value With AttributeService (#77561)
Used the attribute service to make lens work properly with by value embeddables.
2020-09-23 17:40:52 -04:00
Joe Reuter
6ebffef9c5
[Lens] Add search provider for global search (#77448) 2020-09-23 17:53:21 +02:00
Alejandro Fernández Haro
75a84ad56f
[Lens] Rename "telemetry" to "stats" (#78125) 2020-09-23 12:50:07 +01:00
Marco Liberati
0f8043ca8d
[Lens] Combined histogram/range aggregation for numbers (#76121)
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-09-23 10:23:55 +02:00
Marta Bondyra
8ce495b6bc
[Lens] adding some functional tests (#77863) 2020-09-18 18:41:22 +02:00
Marta Bondyra
eb825db09e
[Lens] change name of custom query to filters (#77725) 2020-09-18 08:43:12 +02:00
Stratoula Kalafateli
3cf41674f5
Aligns the y axis settings on horizontal mode (#77585) 2020-09-17 18:38:43 +03:00
Marta Bondyra
ab38cd5f20
[Lens] create reusable component for filters and range aggregation (#77453) 2020-09-16 12:06:00 +02:00
Stratoula Kalafateli
c4eb47a46b
[Lens] Settings panel redesign and separate settings per y axis (#76373)
* wip, redsign the xy axis general settings

* pie chart settings. fix tests, initial implementation

* Fix Internationalization

* Cleanup

* remove unused translations

* Add test to check that right axis is enabled

* fix test

* remove unecessary translation

* Added icons and cleaned up some of the visuals for grouped buttons

* Fix types

* Axis Settings Popover Reusable Component

* Legend Popover Reusable Component

* Cleanup unused translations

* Fix right axis behavior

* Revert yLeftTitle to yTitle to avoid migration

* PR fixes

* identify which axis is enabled

* Change the logic on enabling the y axes popovers

* Adjust axis popover on horizontal bars

* fix failing test and change the logic of fetching the y axis titles

* Simpify the axis title logic, make the toolbar repsponsive, add TopAxisIcon

* Ui Changes on legends popover

* Cleanup and more unit tests

* use groupId instead of index to take under consideration all possible scenarios

* fix gridlines

* Remove ts-ignore from icons and move toolbar button to shared components

* Workspace toolbar wraps on smaller devices

* Tooltip on Toolbar appears only if the button is disabled

* clean up

* Add missing translations

* fix eslint

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 11:30:19 +03:00
Wylie Conlon
e9a4555623
[Lens] Remove dynamic names in telemetry fields (#76988)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-15 18:27:39 -04:00
Joe Reuter
63f0cc0519
[Lens] Stack as percentage (#70703) 2020-09-15 11:24:02 +02:00
Caroline Horn
5a2f7ae897
[Lens] Move configuration popover to flyout (#76046)
* Moving to a Flyout implementation
* Fix up inner layout of flyout
* Fix up form rows
2020-09-14 18:23:13 -04:00
Michail Yasonik
61c4e6fd8d
Stacked headers and navigational search (#72331)
Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-09-14 14:32:30 -05:00
Devon Thomson
003fcb1332
Add Lens to Recently Accessed (#77249)
added lens to recently accessed on load and save in app.tsx
2020-09-14 13:52:14 -04:00
Marta Bondyra
42e03aa14f
[Lens] fix performance on pie settings slider (#77181) 2020-09-14 11:46:43 +02:00
Joe Reuter
a49d8e8994
Separate url forwarding logic and legacy services (#76892) 2020-09-14 11:08:59 +02:00
Marta Bondyra
0c678ebada
[Lens] Filters aggregation (#75635) 2020-09-10 21:16:07 +02:00
Wylie Conlon
cb5979ad51
[Lens] Show field stats for IP fields and scripted fields (#76457)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 17:29:26 -04:00
Marta Bondyra
728dfb4b6b
[Lens] Update grouping editor to indicate the expected result of a grouping change (#76904) 2020-09-08 17:40:06 +02:00
Wylie Conlon
9ca8551cda
[Lens] Drag dimension to replace (#75895)
* [Lens] Drag to replace

* Add jest tests for drag and drop

* Fix bug in dragging to empty

* Hide dragged dimension when drag starts

* Make table metrics required

* Update class names

* Implement styles on non-droppable items

* Replace drag and drop image in docs

* Remove extra specificity

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 10:11:41 -04:00