Commit graph

1728 commits

Author SHA1 Message Date
Greg Thompson d679035664
Upgrade EUI to v32.0.4 (#96459)
* eui to 31.12.0

* type updates

* snapshot updates

* snapshot updates

* euiavatarprops

* eui to 32.0.3

* euicard updates

* update test
2021-04-14 11:27:36 -05:00
Stratoula Kalafateli f0b1b903d5
[Datatable] Fix filter cell flakiness (#96934) 2021-04-14 08:34:50 +03:00
Stratoula Kalafateli 8db70bca19
Unskip heatmap suite and fixes flakiness (#96941) 2021-04-14 08:33:27 +03:00
Matthew Kime 1cd90d744f
Index pattern field editor - Add warning on name or type change (#95528)
* add warning on name or type change
2021-04-13 15:52:37 -05:00
Catherine Liu 74d93a2f6d
[Presentation Util] Shared toolbar component (#94139) 2021-04-13 09:24:17 -07:00
Matthias Wilhelm 8cce4805d4
[Discover][EuiDataGrid] Add document selector (#94804)
Co-authored-by: Ryan Keairns <rkeairns@chef.io>
2021-04-13 15:54:42 +02:00
Tiago Costa 3f131f5966
skip flaky suite (#89550) 2021-04-12 21:19:26 +01:00
Matthew Kime 2ab94f05e1
Index pattern management - fix refresh of index pattern list after delete (#92619)
* refresh id and title list

* add functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 09:27:44 -05:00
Maja Grubic 2d0b32a40a
[Discover] Integration of Runtime Fields editor - edit operation (#95498)
* [Discover] Updating a functional test

* [Discover] Support for edit operation

* Fix unit tests

* Fix typescript

* Fixing failing functional test

* Fixing wrongly commented line

* Uncomment accidentally commented line

* Reintroducing accidnetally removed unit test

* Trigger data refetch onSave

* Remove refreshAppState variable

* Bundling observers together

* Clean state before refetch

* Update formatting in data grid

* [Discover] Updating a functional test

* Adding a functional test

* Fixing package.json

* Reset fieldCount after data fetch

* [Discover] Updating a functional test

* Don't allow editing of unmapped fields

* Fix issues with mobile display

* Allow editing if it's a runtime field

* [Discover] Updating a functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 15:25:50 +01:00
Matthias Wilhelm 5a9fc21415
[Discover] Unskip histogram hiding test (#95759)
- improves the test to be no longer flaky
2021-04-12 11:22:07 +02:00
Nathan Reese ec070d34ed
[Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert (#96633)
* [Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert

* tslint

* instead of forcing refresh on getIdsAndTitles, update index pattern service to add saved object to cache when index pattern is created

* simplify title check

* revert unneeded changes

* tslint

* api doc updates

* fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-08 20:08:10 -06:00
Tre 9ec466e5a1
[QA] Add saved objects info svc (#96364)
Add svc and fn to return saved object types in a given index,
defaulted to ".kibana" index.
2021-04-08 14:46:52 -06:00
Tyler Smalley 32a691f440 skip flaky suite (#92522) 2021-04-06 12:49:30 -07:00
Tyler Smalley 2ac6fc7ee2 skip flaky suite (#95376) 2021-04-06 12:47:39 -07:00
Tyler Smalley 0c33b1f90a skip flaky suite (#89477) 2021-04-06 12:45:18 -07:00
Thomas Neirynck 8e11e2598e
[Maps] Enable all zoom levels for all users (#96093) 2021-04-05 12:04:20 -04:00
Tiago Costa 413477b788
skip flaky suite (#96113) 2021-04-05 13:36:28 +01:00
spalger 6868f18343 skip flaky suite (#95660) (#95706) 2021-04-01 19:17:44 -07:00
Jonathan Budzenski 34b58a4f6f skip flaky test #95660 2021-04-01 11:19:48 -05:00
Pierre Gayvallet ddac0e9501
add per space configuration to custom header banner (#94449)
* restore the banners ui settings

* fix banner init logic

* fix unit tests

* update telemetry schema

* add basic server-side plugin tests

* add FTR tests for banners plugin

* use keyword for sensitive setting

* update snapshots

* setting name consistency with configuration properties

* fix setting names in telemetry files

* open banner links in new tab

* add config.disableSpaceBanners property

* fix types

* add descriptions to banner settings

* change label and value header->top

* finishing header->top replacement

* doc nits

* add banners section to advanced options doc

* feedback on advanced options doc

* adapt deprecation to new format
2021-03-31 10:57:06 +02:00
Diana Derevyankina 78b16fd5d3
[TSVB] Show an indicator when using Last Value mode (#91977)
* [TSVB] Show an indicator when using Last Value mode

* Extended some TSVB types, remove unused translations and do some refactoring

* Fix some functional tests and label displaying for Last value

* Fix some functional tests and label displaying for Last value

* Refactor data_time_range_mode_label and change some types

* fix CI

* Refactor timeseries_visualization seriesData

* Remove unused re export

* Replace "href" prop with "onClick" in EuiLink and refactor tooltip content

* Change link to text and add pointer style to it

* FIx import in kibana_framework_adapter

* Remove label for entire time range mode and add an icon for last value mode label

* Add action to show last value label for TSVB embeddables

* Fix TimeseriesVisParams import

* Revert "Add action to show last value label for TSVB embeddables"

This reverts commit 15f16d6f72.

* Put the "Last value" badge on the top of visualization and add an option to hide it

* Fix failing _tsvb_markdown test and refactor timeseries_visualization

* Move I18nProvider frim timeseries_visualization to timeseries_vis_renderer

* Add condition to hide gear button when entire time range mode is enabled, fix gauge scroll issue

* Change text in the popover, add condition to indicator if series data is empty, create migration script to hide last value label for previously created visualizations and a test for that

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-03-30 19:41:52 +03:00
Ahmad Bamieh a67aa97989
[Core] create deprecations service (#94845)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 19:20:23 +03:00
Matthias Wilhelm 58a6757d7d
[Discover] Improve sidebar rendering for large field lists (#95038)
* 50 fields are rendered initially, more fields are rendered while user is scrolling

* This is a big performance improvement when there are lots of fields to render
2021-03-30 12:31:16 +02:00
Tiago Costa edbb989dec
skip flaky suite (#95642) 2021-03-30 03:38:57 +01:00
Chandler Prall f667aa2d29
Upgrade EUI to v31.10.0 (#93796)
* Upgraded eui version, updated jest snaapshots

* Upgrade EUI to v31.10.0 & update tests

* increase expected histogram brush size result

* revert dev_server snap

* update baseline dashboard reporting png

* avoid multiple acton menu openings when verified that the action exists and is enabled

* update dashboard table expand button

* update dashboard tsvb baseline

* Adjust 2 cypress tests

* snapshot update

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 11:20:30 -06:00
Uladzislau Lasitsa 0e40b94348
[TSVB] Change the default mode from last value to entire timerange (#93608)
* Make 'enter time range' value as default and add telemetry for 'last value' mode

* Fix telemetry schema

* Fix test

* Add possibility count timeseries created from dashboard

* Fix remark

* Fix remark

* Fix problem with time_range_mode

* Fix tests

* Fix tests

* Fix tests for markdown and table

* exclude TSVB which have type as timeseries

* Add description for field in schema in telemetry

* Fix telemetry schema

* Fix some remarks

* Added check for hits

* fix CI

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-03-29 17:31:01 +03:00
Tiago Costa e4e4a01298
skip flaky suite (#94532) 2021-03-29 13:20:47 +01:00
Alexey Antonov 4342f26eaf
[TSVB] Enable dual mode, support index patterns and strings (#92812)
* [TSVB] Enable `dual mode`, support index patterns and strings

* modify UI

* add migration script

* refactoring

* fix CI

* prefill the index pattern name

* modify UI

* modify UI

* update UI

* fix functional test

* some work

* remove callouts

* fix rollup test

* update UI

* fix typo

* add some unit tests

* add functional test

* fix CI

* correct labels

* fix ci group 12

* cleanup interface

* fix CI

* cleanup API

* fix some of PR comments

* move index patterns into so references

* remove wrong logic

* fix JEST

* fix some ui issues

* update sample data

* indexPatternObject -> indexPatternValue

* fix comments

* I have a dashboard with two TSVB viz. One with the default (haven't applied it to the combobox) and one with the logs. The filter contains fields only from the logs index pattern

* When I am on the string mode and try to write my index, sometimes some of the chars are not added or they are deleted while typing, something with the denounce maybe?

* fix merge conflicts

* Does this PR also supports runtime fields? I created one from the editor and I see that I can select it

* fix UI issue

* If I create a viz with the string mode and a wildcard e.g. kibana_sample*, the index patterns are not communicated correctly to the dashboard.

* fix import/export refs for dashboard

* remove MigrationPopover

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 04:32:01 -04:00
Matthew Kime ae4dae46d9
Index pattern field editor - Add warning and type 'confirm' on delete or save (#95237)
* add runtime field change/delete confirm dialog
2021-03-26 09:03:13 -05:00
Ece Özalp d70d02ee83
Add a11y test coverage to Rule Creation Flow for Detections tab (#94377)
[Security Solution] Add a11y test coverage to Detections rule creation flow (#80060)
2021-03-25 15:05:23 -04:00
Matthias Wilhelm fad3b74f2f
[Discover] Unskip functional test of saved queries (#94705) 2021-03-25 19:33:16 +01:00
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