Commit graph

1697 commits

Author SHA1 Message Date
Matthias Wilhelm 6b5023a681
[Discover] Deangularize controller part 1 (#93896)
* Refactor minimumVisibleRows

* Extract setupVisualization function

* Extract getDimensions function

* Inline breadcrumb and help menu function exec to discover.tsx

* Extract getStateDefault 

* Remove unnecessary code

* Improve performance by React.memo
2021-03-25 07:34:01 +01:00
Dima Arnautov edaa64f150
[ML] Functional tests for Anomaly swim lane (#94723)
* [ML] update @elastic/charts

* [ML] swim lane service, axes tests

* [ML] check single cell selection and current URL

* [ML] clear selection

* [ML] assert anomaly explorer charts

* [ML] fix unit test

* [ML] assert anomalies table and top influencers list

* [ML] update apiDoc version

* [ML] exclude host from the URL assertion

* [ML] clicks view by swim lane

* [ML] fix method for cell selection

* [ML] brush action tests

* [ML] use debug state flag

* [ML] declare window interface

* [ML] pagination tests

* [ML] enable test

* [ML] scroll into view for swim lane actions

* [ML] rename URL assertion method

* [ML] fix assertion for charts count

* [ML] extend assertion

* [ML] refactor test subjects selection

* [ML] fix assertSelection

* [ML] reduce timeout for charts assertion
2021-03-24 10:38:58 -04:00
Tiago Costa 2dea06f5a4
skip flaky suite (#94545) 2021-03-24 13:43:00 +00:00
Dmitry 041566d85a
[dashboard/bwc_shared_urls] check viz are loaded (#94941)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 18:35:57 +01:00
Jonathan Budzenski fc3125af08 skip "doc table should show popover" #94889 2021-03-19 12:11:34 -05:00
Jonathan Budzenski 0b984c92d9 skip "navigates to doc view from embeddables" #93670 2021-03-18 16:10:48 -05:00
Devon Thomson 882248c671
[Time to Visualize] Add Discrete Library Option to Save Modal (#94589)
* save modal UI and Redirect and save to library

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-03-18 13:40:02 -04:00
Joe Reuter 52a1ce1723
[Lens] Runtime field editor (#91882) 2021-03-18 08:21:39 +01:00
Spencer 37ff43b0c3
[theme] default to v8 theme (#94370)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-17 09:49:39 -07:00
Anton Dosov 4ed09420ce
[QueryBar] a11y improvements, focus glitches fixes, unskip tests (#94148) 2021-03-17 15:02:37 +01:00
Diana Derevyankina bdcd2ec859
Replace EuiCodeBlock with JsonCodeEditor in DiscoverGrid (#92442)
* Replace EuiCodeBlock with JsonCodeEditor in DiscoverGrid

* Add optional "hasLineNumbers" property to JsonCodeEditor and removed line numbers from the popover

* Update json_code_editor snapshot

* Add functional test for cell expanded content popover

* Remove unused code

* Fix geo point case and refactor some code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 11:17:48 +03:00
Stratoula Kalafateli a1f15fbe5d
[XY axis] Integrates legend color picker with the eui palette (#90589)
* XY Axis, integrate legend color picker with the eui palette

* Fix functional test to work with the eui palette

* Order eui colors by group

* Add unit test for use color picker

* Add useMemo to getColorPicker

* Remove the grey background from the first focused circle

* Fix bug caused by comparing lowercase with uppercase characters

* Fix bug on complimentary palette

* Fix CI

* fix linter

* Use uppercase for hex color

* Use eui variable instead

* Changes on charts.json

* Make the color picker accessible

* Fix ci and tests

* Allow keyboard navigation

* Close the popover on mouse click event

* Fix ci

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 19:36:48 +02:00
Anton Dosov df98465982
Fix importing dashboards created before ~6.1.0 (#94332) 2021-03-15 13:57:44 +01:00
Matthew Kime 44d8093ddf
[Field formats] Fix switching away from duration formatter (#93818)
* simplify field format editor rendering, fixes switching away from duration formatter
2021-03-10 12:15:51 -06:00
Rashmi Kulkarni ff2b3beaa8
Unskipping Dashboard listing functional test (#93843)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping to check the flakiness
2021-03-09 13:31:32 -08:00
Matthew Kime 2d109df886
Add runtime field functional test (#93710)
Add runtime fields editor functional test
2021-03-08 15:54:59 -06:00
Wylie Conlon c33987d929
Support for number, date and IP range data types (#76971)
* Support for number, date and IP ranges

* Update tests

* Ranges don't work with range agg

* Fix test case

* Allow Discover to create range filters

* Supports ranges in Visualize, KQL, remove Lens support

* Fix test mappings

* Bring back field cache to work around bug

* Fix some tests

* Fix test expectation

* Respond to review comments

* Fix type error

* Remove added sample data

* Fix api_docs

* Fix test
2021-03-08 15:50:36 -05:00
Lee Drengenberg ad5a7a528a
wait for index pattern button to be enabled (#93677)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-05 15:30:36 -06:00
Nick Partridge 667cb14f5a
[XY Charts] fix partial histogram endzones annotations (#93091) 2021-03-04 11:06:33 -06:00
Wylie Conlon 799c05e0b8
[Discover] Fix link from dashboard saved search to Discover (#92937)
* [Discover] Fix link from dashboard saved search to Discover

* Fix tests that weren't fully testing the navigation

* Fix snapshot

* Fix test navigation to context app by reverting to previous

* Unskip functional test and fix issue in data grid

* Respond to review comments
2021-03-03 14:47:53 -05:00
Wylie Conlon eec777b7ef
[Index patterns] Guarantee order of fields in flattenHits (#93344)
* [Discover] Guarantee order of fields in table preview

* Remove comments

* Fix test that relied on discover ordering

* Fix ordering of test
2021-03-03 13:12:36 -05:00
Rashmi Kulkarni a0881f90e2
Test huge fields functional test (#93334)
* fixes https://github.com/elastic/kibana/issues/74449

* fix for unskipping test huge fields functional test

* fix eslint
2021-03-03 09:01:54 -08:00
Maja Grubic eece6d4cbd
[Search Embeddable] Add highlighting when searching (#93178)
* [Search Embeddable] Add highlighting when searching

* Adding a functional test
2021-03-03 07:45:59 +00:00
Bhavya RM 4218813464
removing the linked issue in comments from PR (#93303) 2021-03-02 17:21:28 -05:00
Devon Thomson 41b81a1011
[Time to Visualize] Disable Visualize URL Tracker When Linked to OriginatingApp (#92917)
* changed url tracker for visualize to not save when linked to originating app
2021-03-02 11:03:27 -05:00
Matthias Wilhelm 5afe844001
Fix expanding document when using saved search data grid (#92999) 2021-03-02 08:31:56 +01:00
Uladzislau Lasitsa ccf1fcc00e
Control round and decimal places in Gauge Visualization when using aggregate functions like average (#91293)
* Add field for providing format in percentage mode

* Fix CI

* Add tests

* Fix ci

* Fix some remarks

* Fix ci

* Fix some remarks

* Fix ci

* Fix width

* Fix some remarks

* Fix text

* Fix i18n

* Remove unneeded import

* Remove unneeded code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 14:58:16 +03:00
Spencer 0aabc317ec
[kbn/test] add import/export support to KbnClient (#92526)
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 16:13:27 -07:00
Rashmi Kulkarni 9c527347ef
Test fix management scripted field filter functional test and unskip it (#92756)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping the functional test, removing the unload and adding an empty kibana in the after method
2021-02-25 14:11:11 -08:00
Wylie Conlon 272bf97e31
[Discover] Fix persistence of "hide/show chart" in saved search (#92731) 2021-02-25 14:17:47 -05:00
Anton Dosov e3eaa97c6b
Fix navigating from discover single document view back to discover (#92463) 2021-02-24 16:09:14 +01:00
Devon Thomson cb932075fa
[Dashboard] Remove Multiple History Entries & Stay in Edit Mode on Save As (#92105)
* made save as stay in edit mode when not navigating to another dashboard. Removed extra history entires from save
2021-02-23 11:01:21 -05:00
Wylie Conlon 62a0a4beac
[TSVB] Stop inserting zeroes for null series (#90861)
* [TSVB] Stop inserting zeroes for null series

* Replace empty default value with hyphen

* Stop treating 0 as false

* Fix test cases

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:32:46 -05:00
Wylie Conlon 4614202297
[Discover] Show correct data for top level object columns (#91954)
* [Discover] Show correct data for top level object columns

* Fix bug with missing fields

* Fix bug in data grid

* Fix remaining bug in datagrid

* Change use of API to work with any type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 14:24:10 -05:00
Daniil d9cdb99c07
[Data Table] Fix visualization layout in split mode (#91799)
* Fix table vis layout in split mode

* Stick pagination at the bottom

* Fix functional tests

* Fix jest test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 22:03:01 +03:00
Daniil d0a7ca2eb4
Use EuiResizableContainer in visualize (#86934)
* Use EuiResizableContainer

* Code cleanup

* Memoize the sidebar for performance boost

* Prevent mouseLeave event

* Downgrade eui to 30.6.0

* Revert eui downgrade

* Update styles

* Render embeddable after a timeout

* Fix printing

* Fix resizer functional test

* Create an explicit layout breakpoint

* Remove extra code

* Update layout styles

* Add a note of using height: 1px

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 17:19:58 +03:00
Michail Yasonik d23c01b4be
Enabling Uptime and Dashboard a11y test (#91017) 2021-02-19 19:21:20 -05:00
Devon Thomson 85bc8b0b42
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729)
* Make quicksave function stay in edit mode
2021-02-19 12:34:01 -05:00
Maja Grubic c8fab9f8cb
[Discover] Always show unmapped fields (#91735)
* [Discover] Always show unmapped fields

* Updating the functional test

* Remove unmapped switch toggle

* Some more code cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 16:41:00 +00:00
Jonathan Budzenski 539f33e53b Revert "[SOM] fix flaky suites (#91809)"
This reverts commit 386afdca8f.
2021-02-18 18:43:43 -06:00
Devon Thomson 0a685dbb63
[Time to Visualize] Dashboard Save As New by Default (#91761)
* changed dashboard save as to have save as new switch on by default
2021-02-18 13:49:26 -05:00
Sébastien Loix eddf1c94b1
Index pattern field editor (#88995)
Index pattern field editor
2021-02-18 12:00:43 -06:00
Ahmad Bamieh 386afdca8f
[SOM] fix flaky suites (#91809)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 18:34:44 +02:00
Joe Reuter 543bf1bf1d
Discover: Add handling for source column (#91815) 2021-02-18 16:39:17 +01:00
Bhavya RM 2aaeea7ce8
Unskip import saved objects test 2021-02-18 07:56:18 -05:00
Dmitry 119199ef41
[coverage] change worker, save json files in original path (#91683)
* [coverage] write data to original path

* [coverage] change worker size
2021-02-17 19:45:06 +01:00
Rashmi Kulkarni f398244425
unskip navigation test (#91306)
* fixes https://github.com/elastic/kibana/issues/74449

* unskip navigation test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 14:52:38 -08:00
Devon Thomson dc4e94e0ba
[Time to Visualize] Unsaved Changes Badge (#91073)
* Added unsaved changes badge to dashboards. Removed (unsaved) from the dashboard title
2021-02-16 13:47:25 -05:00
Devon Thomson 6f857dd7f3
[Time to Visualize] Combine Discard & Cancel (#91267)
* recombined discard and cancel button functionality
2021-02-16 13:03:56 -05:00
Maja Grubic 7fc56131c0
[Discover] Making source filters test run with fields API (#91404) 2021-02-16 13:27:25 +00:00