Commit graph

297 commits

Author SHA1 Message Date
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
Joe Reuter f4ebdf3a79
[Lens] Export nested types (#89868) 2021-02-03 12:03:55 +01:00
Marco Liberati c66124e170
[Lens] Make Lens intervals default value adapt to histogram:maxBars Advanced Setting changes (#89305)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-01 15:25:16 +01:00
Marta Bondyra 1b8c3c1dcc
[Lens] Refactor reorder drag and drop (#88578) 2021-02-01 11:54:16 +01:00
Devon Thomson 1fc45a7c37
Fix Lens Save and Return Removing Tags (#89613)
* use last saved tag ids in save and return...
2021-01-29 09:59:05 -05: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
Clint Andrew Hall 55afba4a4d
Setting up and documenting Presentation Util (#88112) 2021-01-28 17:15:13 -06:00
Wylie Conlon 445cb2ef87
[Lens] Fix crash in transition from unique count to last value (#88916)
* [Lens] Fix transition from unique count to last value

* Fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 18:44:17 -05:00
Marco Liberati ba1e795b3f
[Lens] Fix indexpattern checks for missing references (#88840)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 14:23:47 +01:00
Stratoula Kalafateli 64e9cf0440
Cleanup OSS code from visualizations wizard (#89092)
* Cleanup OSS code from visualizations wizard

* Remove unecessary translations

* Remove unused translation

* Fix functional test

* Disable the functional test for OSS

* Remove from oss correctly :D

* Fix ci
2021-01-27 12:45:49 +02:00
Marco Liberati ecf512a048
[Lens] Make Lens visualization load faster on Dashboard (#88953)
* 🚀 Load indexPatternRefs only on edit mode

* :white_mark_check: Fix test with new editor init flag

* 🐛 Avoid to save to localStorage undefined indexPattern

* :white_mark_check: Adapted tests to new conditional ref loading

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 19:06:40 +01:00
Michail Yasonik eaf6831022
Adding better aria-labels for global search and field search in Lens (#89215) 2021-01-26 11:48:22 -06:00
Joe Reuter a4c884b92b
tsconfig file for lens (#89135) 2021-01-26 16:48:47 +01:00
Andrea Del Rio fb536f5428
Make toolbar_button a shared component (#88386) 2021-01-25 14:14:47 -08:00
Joe Reuter ab1d97e441
[Lens] Restart session if fixed now becomes outdated (#88575) 2021-01-21 11:00:57 +01:00
Marco Liberati 86789dabb5
[Lens] Add more in-editor Advanced documentation (#86821)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-01-20 17:49:21 +01:00
Marta Bondyra 0cd8c90a7c
[Lens] (Accessibility) Added button to execute drag and drop to workspace (#85960) 2021-01-20 17:11:37 +01:00
Marco Liberati 7297cc3b1d
[Lens] Add a11y test suite (#88623)
*  Add a11y test suite for Lens + some fixes

* 🔧 Removed unused ids

* 🐛 Fix component duplication via key prop

* :white_mark_check: Add more a11y tests

* ♻️ Restored back reorder id + fix multi layer duplicate ids

* 🐛 Fix #88806

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 16:44:59 +01:00
Marco Liberati 74fac0c009
[Lens] Fix Median operation visibility in Dimension panel (#88474)
Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 19:03:51 +01:00
Marco Liberati 1f4ee91908
[Lens] Use first decimal when required for data summaries (#88463)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 12:20:12 +01:00
Marco Liberati 898385c2e2
[Lens] Clean full reference operation error state when switching to other operation (#87064)
* 🐛 Make sure to check incomplete columns before saved ones

* ⚗️ Try a different approach

* 🐛 Isolate the fullRef to field transition and trigger the removal + tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-18 16:58:23 +01:00
Jonathan Budzenski 51ba94d3e5
[dev] Replace sass-lint with stylelint (#86177)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
2021-01-15 11:52:29 -06:00
Joe Reuter 40b65630be
set aria-pressed for function buttons (#87825) 2021-01-13 16:05:52 +01:00
Joe Reuter ed9479738d
make sure filter object is persistable (#87828) 2021-01-13 13:32:14 +01:00
Joe Reuter cea39d90b7
close popover on repeated button click (#87834) 2021-01-13 13:31:24 +01:00
Anton Dosov d3303f28bb
[Search] Search Sessions with relative time range (#84405) 2021-01-12 14:51:04 +01:00
Joe Reuter 94b02d97ed
[Lens] Implement deep linking and embedding (#84416) 2021-01-12 10:45:53 +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
Wylie Conlon 52e3371c39
[Lens] Transitions for reference-based operations (#83348)
* [Lens] Transition between functions involving references

* Organize transition cases and cover all the basic transitions

* Add functional test

* Change logic for displaying valid transitions

* Show valid transitions more accurately

* Fix transition to only consider valid outputs

* Update test names and style

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 14:37:27 -05:00
Lisa Cawley 9a17446495
Fix broken link to Lens documentation (#87392) 2021-01-07 09:13:19 -08:00
Devon Thomson cdee8599d1
[Time to Visualize] Align Lens & Visualize Top nav Buttons & Behaviour (#86922)
* Aligned Lens & Visualize Top nav behaviour and look
2021-01-07 12:02:11 -05:00
Josh Dover 0af81310b6
Remove dynamic mapped types from UiActions (#87075)
* Remove dynamic mapped types from UiActions

* Remove import between data <-> embeddables

* remove outdated comments, export action types from discover_enhanced

* fix notice.txt

Co-authored-by: restrry <restrry@gmail.com>
2021-01-05 10:11:05 +01:00
Wylie Conlon 83d9ef0f2d
[Lens] Fix duplicate suggestions on single-bucket charts (#86996) 2020-12-30 11:01:54 -05:00
Marco Liberati 2781bf3855
[Lens] Add more chart editor tests based on the debug state (#86750)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 14:18:54 +01:00
Marco Liberati bd908c6ba3
[Lens] Integrate searchSessionId into Lens app (#86297)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-29 14:18:30 +01:00
Joe Reuter a5cfc7fb4a
[Lens] Add percentile function (#86490) 2020-12-23 21:13:03 +01:00
Joe Reuter 57a72a78f7
[Lens] Configurable color syncing (#86180) 2020-12-22 17:35:27 +01:00
Wylie Conlon 23fd044562
[Lens] Introduce 4 new calculation functions: counter rate, cumulative sum, differences, and moving average (#84384)
* [Lens] UI for reference-based functions

* Fix tests

* Add a few unit tests for reference editor

* Respond to review comments

* Update error handling

* Update suggestion logic to work with errors and refs

* Support ParamEditor in references to fix Last Value: refactoring as
needed

* Fix error states

* Update logic for showing references in dimension editor, add tests

* Fix tests

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 10:33:27 -05:00
Wylie Conlon 664a7553d2
[Lens] Refactor param editor to use layers (#86499)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 11:19:25 -05:00
Joe Reuter 36a8343064
fix time scaling bugs (#86444) 2020-12-21 15:02:51 +01:00
Joe Reuter 388b2508b3
[Lens] Make sure Lens does not reload unnecessarily (#86092) 2020-12-21 14:26:14 +01:00
Luke Elmers 9a3e2910a3
App Services: Remove remaining uiActions, expressions, data, embeddable circular dependencies. (#82791)
* Move applyFilter, selectRange, valueClick triggers to data/embeddables.

* Update imports.

* Remove embeddable references to non-existent data plugin dependency.

* remove data mocks from embeddable

* Remove query, filters, timeRange from EmbeddableInput and move to apps.

* Remove data plugin imports from embeddable test samples.

* Remove circular dependencies caused by expressions renderer handlers.

* Update circular deps allowList.

* Remove data dependency on embeddable.

* Revert accidental data plugin change.

* Fix new circular deps issues.

* Update generated docs.

* Fix type errors in vis_type_xy

* Fix inspector data table.
2020-12-18 18:34:07 -07:00
Marta Bondyra cea865f5a9
[Lens] fix transition date_histogram/last_value -> top values/last_value (#86429) 2020-12-18 14:59:49 +01:00
Peter Pisljar b93034b72c
inspector table adapter cleanup (#84232) 2020-12-17 12:14:07 +01:00
Marta Bondyra 5b9e285582
[Lens] (Accessibility) focus on adding/removing layers (#84900) 2020-12-16 21:58:14 +01:00
Marta Bondyra 800f79e588
[Lens] add typeToAgg for median (#86078) 2020-12-16 10:27:00 +01:00
Devon Thomson ee37f6dd91
[Time to Visualize] Transition Embeddable State Transfer to Session Storage (#85688)
* Transitioned embeddable state transfer service to use sessionStorage
2020-12-15 13:18:36 -05:00
Marco Liberati 9b71c94ff1
[Lens] Add datasource fields group help text (#85544)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 18:23:41 +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
Marco Liberati 5304e88c3e
[Lens] Fix chart twitching on flyout open (#85430)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-14 18:43:25 +01:00