Commit graph

1829 commits

Author SHA1 Message Date
Anton Dosov b9115a6122
[Index Patterns] Migrate tests to the new es client (#100760) (#100782) 2021-05-27 11:43:58 -04:00
Kibana Machine 4c6d3c9de9
[ftr] migrate "comboBox" service to FtrService class (#100592) (#100761)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-27 13:13:03 +00:00
Kibana Machine df8ba923c4
[ftr] migrate AppsMenuService to FtrService class (#100588) (#100745)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 19:33:14 -04:00
Kibana Machine b6a231621c
[ftr] migrate "flyout" and "inspector" services to FtrService class (#100602) (#100739)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 18:52:52 -04:00
Kibana Machine 9479eaa067
[ftr] migrate "toasts" service to FtrService class (#100613) (#100729)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:35:35 -04:00
Kibana Machine 55651f9abe
[7.x] [ftr] migrate "testSubjects" to FtrService class (#100512) (#100656)
* [ftr] migrate "testSubjects" to FtrService class (#100512)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* fix clickAndValidate() fn

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:08:14 -04:00
Kibana Machine fb74e7204a
[ftr] migrate management services to FtrService class (#100521) (#100723)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:03:51 -04:00
Kibana Machine 483f2b89a1
[ftr] migrate visualizations service to FtrService classes (#100522) (#100721)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 16:54:31 -04:00
Spencer 9693644fdd
[ftr] migrate dashboard services to FtrService class (#100519) (#100720)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/functional/services/dashboard/add_panel.ts
#	test/functional/services/index.ts
2021-05-26 16:52:43 -04:00
Tre 35a193d8d6
[QA] Add saved objects info svc (#96364) (#100700)
Add svc and fn to return saved object types in a given index,
defaulted to ".kibana" index.
2021-05-26 14:00:21 -04:00
Kibana Machine 2fe74fe817
[ftr] migrate "globalNav" service to FtrService class (#100604) (#100665)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 14:11:34 +00:00
Kibana Machine 2aa49fd513
[ftr] migrate "find" service to FtrService class (#100509) (#100644)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 06:58:10 -04:00
Kibana Machine 94d1c48cd8
[ftr] migrate "docTable" service to FtrService class (#100595) (#100640)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 06:37:39 -04:00
Kibana Machine f43da37f87
[ftr] migrate "listingTable" service to FtrService class (#100606) (#100637)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 10:32:32 +00:00
Kibana Machine 9992e63e75
[ftr] migrate "dataGrid" service to FtrService class (#100593) (#100633)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 05:58:14 -04:00
Kibana Machine 58f7eff1ce
[ftr] migrate "fieldEditor" to FtrService class (#100597) (#100627)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:06:13 -04:00
Kibana Machine a6e01e0356
[ftr] migrate "filterBar" service to FtrService class (#100601) (#100626)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:03:04 -04:00
Spencer b601c5c3b4
[ftr] implement FtrService classes and migrate common services (#99546) (#100585)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/common/services/deployment.ts
#	test/common/services/index.ts
#	test/common/services/saved_object_info.ts
#	test/functional/apps/visualize/index.ts
2021-05-25 16:31:02 -04:00
Kibana Machine b25c577ec1
[test/functional/context] include missing await (#100422) (#100529)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-25 04:56:01 -04:00
Kibana Machine e0e106516e
Remove PEG.js generator from the timelion runtime (#100327) (#100380)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-20 07:39:22 -04:00
spalger 8fa93a225d skip flaky suite (#100372) (#96997)
(cherry picked from commit be97fae12e)
2021-05-19 15:51:47 -07:00
Kibana Machine 4b712fda4b
[kbn/test] move types/ftr into src (#99555) (#100228)
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-17 14:49:48 -04:00
Catherine Liu 3124344357
[Dashboard] Fixes dashboard_save functional test (#98830) (#100227)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-17 14:41:02 -04:00
Kibana Machine e1cc66b17b
[QA] fix dashboard lens by value test (#100196) (#100222)
* [functional test] remove redundant navigation, wait for lens to be loaded

* fix navigation to new viz

* update test title

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-05-17 13:13:21 -04:00
Kibana Machine 1d6e26b2b3
[Uptime] Fix overview flaky tests (#99781) (#100157)
* add retry logic and add describe.only to prepare for flaky test runner

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-05-14 16:28:18 -04:00
Stratoula Kalafateli 7571a10615
[TSVB] Filter by clicking on the timeseries chart (#97426) (#99927)
* WIP TSVB filter by click

* Disable filter click when showBar is set to false

* Exclude metric columns as they are not filtered

* Allow filters group by filter click event

* Fix CI and unit tests

* Add some comments

* Move to separate function for easier testing

* Add more unit tests

* Add a functional test

* Improve types

* Fix bug with group by filters and user applies custom labels

* fix time filter bug

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:52:07 -04:00
Kibana Machine 2c5e4b8292
[Bug] Fixes #9184 (#99099) (#99839)
* code review

* test

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-05-11 22:00:09 +00:00
Tiago Costa 7b00bba260
skip flaky suite (#98974) 2021-05-10 14:28:15 +01:00
Matthias Wilhelm 44f1f1728c
[7.x] [Discover] Fix horizontal scrolling of legacy table (#98770) (#99164)
* [Discover] Fix horizontal scrolling of legacy table (#98770)

* Add CSS class to fix scrolling of legacy table

* Add functional test

* Update _doc_table.ts
2021-05-05 12:35:01 -04:00
Kibana Machine ecd9fd401a
Enable custom time ranges for saved searches (#99180) (#99351)
* Enable custom time ranges for saved searches

* Add functional test

* Fix Typing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-05-05 12:34:03 -04:00
Diana Derevyankina 6cffcc9dd2
[TSVB] Timeseries Drop last bucket set default to false (#97257) (#98879)
* [TSVB] Timeseries Drop last bucket should default to false

* Rename isLastBucketDropped prop and move series domain calculation to a separate file

* Fix failing tests because of wrong default value

* update drop_last_bucket.js

* Refactor drop_last_bucket and some functional tests

* Change infra metrics test values because of last bucket value changed

* Refactor series_domain_calculation and related code

* Update series_domain_calculations.test

* Update series_domain_calculations.test

* Fix tooltip showing wrong time

* Refactor index

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-04-30 06:52:02 -04:00
Matthias Wilhelm e1843a49a7
[Discover] Revert default grid back to legacy (#98508) (#98876)
# Conflicts:
#	test/functional/apps/discover/_large_string.ts
#	test/functional/page_objects/discover_page.ts
#	x-pack/test/functional/apps/security/doc_level_security_roles.js
2021-04-30 06:34:55 -04:00
Pierre Gayvallet ab3fed7906
[7.x] SOM: hide actions for hidden types (#98290) (#98568)
* SOM: hide actions for hidden types (#98290)

* SOM: hide actions for hidden types

* fix FTR tests

* add and fix tests

* fix unit tests

* fix test types

* fix FTR test assertions

* add more FTR tests

* delete old file

* fix data set
2021-04-28 05:36:17 -04:00
Dave Snider 8aa25a6245
Fix widths/paddings of first two columns in dsc grid (#98251) (#98369)
* Fix widths of first columns

* clean up gutters

* Fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-04-27 09:33:20 -07:00
Maja Grubic df317f8024
[Discover] Cleanup in runtime fields editor functional test (#97820) (#98441)
* [Discover] Cleanup in runtime fields editor functional test

* Add uuid to field label

* Adding field after the update

* Unskip test

* Remove uuid from custom label

* Remove unused import
2021-04-27 05:00:06 -04:00
Uladzislau Lasitsa 7b834954af
[Visualization] Aggregation-based vis with date histogram - not progressing if current data is missing (#98012) (#98376)
* Fix computation of domainMax

* Fix test

* Fix tests

* Fix tests

* Fix test

* Fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 22:45:59 -07:00
Devon Thomson 6c59c95e31
Fixed copyTo by only copying explicit input (#98083) (#98367) 2021-04-26 17:40:12 -04:00
Mikhail Shustov fce1f7e14c
[7.x] Rewriting SO id during migration (#97222) (#98300)
* Rewriting SO id during migration (#97222)

* some typos

* implement an alternative client-side migration algorithm

required to enforce idempotent id generation for SO

* update tests

* lol

* remove unnecessary param from request generic

* remove unused parameter

* optimize search when quierying SO for migration

* fix wrong type in fixtures

* try shard_doc asc

* add an integration test

* cleanup

* track_total_hits: false to improve perf

* add happy path test for transformDocs action

* remove unused types

* fix wrong typing

* add cleanup phase

* add an integration test for cleanup phase

* add unit-tests for cleanup function

* address comments

* Fix functional test

* set defaultIndex before each test. otherwise it is deleted in the first test file during cleanup phase

* sourceIndex: Option.some<> for consistency

* Revert "set defaultIndex before each test. otherwise it is deleted in the first test file during cleanup phase"

This reverts commit a128d7b7c0.

* address comments from Pierre

* fix test

* Revert "fix test"

This reverts commit 97315b6dc2.

* revert min convert version back to 8.0

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>

* skip id rewriting test

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-04-26 12:11:34 -04:00
Tyler Smalley e5d6d127a0 skip flaky suite (#95376) 2021-04-22 11:38:23 -05:00
Uladzislau Lasitsa b0a7ee96d7
Advanced JSON input in visualize editor is always light scheme (#97232) (#97792)
* Use CodeEditor from react-utils which supports dark theme instead of deprecated EuiCodeEditor

* fix CI

* Fix CI

* Fix tests

* Update monaco_editor.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-22 04:18:16 -04:00
Spencer f442052f56
[7.x] [npm] upgrade all jest related dependencies (#96367) (#97901)
* [npm] upgrade all jest related dependencies (#96367)

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* remove package added by other PR

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-21 20:26:10 -04:00
Tre 9d67b3b143
[QA] Switch tests to use importExport - discover (#94006) (#97885)
Switch es archiver for kbn archiver everywhere possible

Partially closes #93797
2021-04-21 17:12:48 -04:00
spalger 939c68ce2d skip flaky suite (#97864)
(cherry picked from commit c60411ed4a)
2021-04-21 11:41:40 -07:00
Maja Grubic aa3f1a2c28
[Discover] Attempt at fixing a failing test (#97790) (#97814) 2021-04-21 11:12:16 -04:00
Matthias Wilhelm 79190d3d1a
[Discover] Fix wrong sort order with empty sort URL parameter (#97434) (#97706)
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-04-20 16:34:37 -04:00
Matthias Wilhelm 46d8d001da
[Discover] Enable EuiDataGrid (#89264) (#97628)
* Now the new EuiDataGrid based document table is the default

* Columns can be sorted by drag and drop

* Column width can be changed by drag and drop

* There's a fullscreen mode

* There's document selection

* There's document navigation in the flyover of a expanded document

* Sorting is much more user friendly, less confusing and sort order can be changed by drag and drop
2021-04-20 17:34:56 +02:00
Pierre Gayvallet 13388cf82f
Fix flaky SO import tests (#97586) (#97616)
* Fix flaky SO import tests

* [will be reverted] remove all tests from CI group 8

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007ec

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007ec
2021-04-20 09:58:10 -04:00
Matthias Wilhelm ceec53ce80
[7.x] [Discover] Display toast when adding columns and filters from document flyout (#97270) (#97583)
* [Discover] Display toast when adding columns and filters from document flyout (#97270)

* Update _data_grid_doc_table.ts

* Update _data_grid_doc_table.ts
2021-04-20 09:57:27 -04:00
Catherine Liu bdb052cddc
[7.x] [Dashboard] Makes lens default editor for creating new panels (#96181) (#97414)
* [Dashboard] Makes lens default editor for creating new panels (#96181)

* Makes lens default editor in dashboard

Added all editors menu to dashboard panel toolbar

Fixed toggle on editor menu

Removed unnecessary comments

Added data test subjects to editor menu buttons

Populated editor menu with vis types

Removed unused imports

Fixed imports

Adds showCreateNewMenu prop to AddPanelFlyout

Rearranged order of editor menu options

Fixed ts errors

Added groupnig to embeddable factory

Use embeddable state transfer service to redirect to editors

Added showGroups to TypeSelectionState

Fixed add panel flyout test

Fixed data test subjects

Fixed factory groupings

Removed unused import

Fixed page object

Added telemtry to dashboard toolbar

Added telemtry to editor menu

Fix ml embeddable functional tests

Fix lens dashboard test

Fix empty dashboard test

Fixed ts errors

Fixed time to visualize security test

Fixed empty dashboard test

Fixed clickAddNewEmbeddableLink in dashboardAddPanel service

Fixed agg based vis functional tests

Revert test changes

Fixed typo

Fix tests

Fix more tests

Fix ts errors

Fixed more tests

Fixed toolbar sizes and margins to align with lens

Fix tests

Fixed callbacks

Fixed button prop type

New vis modal copy updates

Added savedObjectMetaData to log stream embeddable factory

Addressed feedback

Fixed ts error

Fix more tests

Fixed ts errors

Updated dashboard empty prompt copy

Adds tooltip to log stream embeddable factory saved object meta data

Made icons monochrome in toolbar

Fixed icon colors in dark mode

Cleaned up css

Fixed ts errors

Updated snapshot

Fixed map icon color

* Added tooltips for ML embeddables

* Restored test

* Added empty dashboard panel test

* Fixed i18n id

* Fix dashboard_embedding test

* Removed unused service

* Fixed i18n error

* Added icon and description properties to embeddable factory definition

* Fixed ts errors

* Fixed expected value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Updated snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 16:02:15 -04:00
Matthias Wilhelm b19c592d7d
[Discover] Unskip functional saved queries test (#97478) 2021-04-19 12:46:52 -04:00
Maja Grubic 0f5e65f988
[Discover] Sort option: Introduce format parameter (#96774) (#97449)
* [Discover] Updating a functional test

* [Discover] Context view: add support for date nanos custom

* Remove unnecessary change to a functional test

* Fix failing unit tests

* Remove unnecessary intialization

* Add new type definition to data plugin

* Update docs

* Simplify return statement

* Removing unnecessary type export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 10:32:19 -04:00
Matthew Kime 884e931484
Index pattern field editor - Add warning on name or type change (#95528) (#97386)
* add warning on name or type change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-17 11:21:05 -04:00
Matthias Wilhelm 7a14e4d613
[Discover] Unskip doc navigation functional test (#96948) (#97304) 2021-04-15 16:40:21 -04:00
Maja Grubic f187515c1a
[Discover] Runtime Fields Editor integration: Add + Delete operation (#96762) (#97231)
* [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] Runtime fields editor : add operation

* [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

* Add functionality

* Fix issues with mobile display

* Allow editing if it's a runtime field

* Add a functional test

* [Discover] Updating a functional test

* Add functional test

* Remove unnecessary debugger statement

* Add more tests

* Add delete functionality

* Include runtimeFields in doc search

* Add another functional test

* [Discover] Updating a functional test

* Fix failing i18n check

* Fix package.json

* Addressing PR comments

* Addressing design input

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-15 09:20:08 -04:00
Bhavya RM 9aeec426d8
Test user for maps test verifying sample data maps (#96109) (#97195)
test user for sample maps test & removing geoall_writer_role from add layer
2021-04-14 21:29:41 -04:00
Rashmi Kulkarni 34965c5b6a
unskip accessibility - dashboard_edit_panel tests (#96710) (#97192)
* unskip

* added render complete

* added render complete in couple other places

* minor corrections

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 20:16:24 -04:00
Greg Thompson 99716057b9
Upgrade EUI to v32.0.4 (#96459) (#97147)
* eui to 31.12.0

* type updates

* snapshot updates

* snapshot updates

* euiavatarprops

* eui to 32.0.3

* euicard updates

* update test
2021-04-14 15:28:44 -04:00
Stratoula Kalafateli 5e6b35b86f
[Datatable] Fix filter cell flakiness (#96934) (#97078) 2021-04-14 03:43:37 -04:00
Stratoula Kalafateli 3f2a01ef4f
Unskip heatmap suite and fixes flakiness (#96941) (#97077) 2021-04-14 03:41:52 -04:00
Catherine Liu 8365901c46
[Presentation Util] Shared toolbar component (#94139) (#97003) 2021-04-13 14:36:08 -04:00
Matthias Wilhelm b85cfadada
[Discover][EuiDataGrid] Add document selector (#94804) (#96975)
Co-authored-by: Ryan Keairns <rkeairns@chef.io>

Co-authored-by: Ryan Keairns <rkeairns@chef.io>
2021-04-13 12:03:36 -04:00
Tiago Costa bb6904be8f
skip flaky suite (#89550) 2021-04-12 21:20:42 +01:00
Kibana Machine bed793e8a2
Index pattern management - fix refresh of index pattern list after delete (#92619) (#96789)
* refresh id and title list

* add functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Matthew Kime <matt@mattki.me>
2021-04-12 12:37:08 -04:00
Maja Grubic 8fe4a858bf
[Discover] Integration of Runtime Fields editor - edit operation (#95498) (#96792)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 12:35:24 -04:00
Tiago Costa 40d95e215d
skip flaky suite (#94545) 2021-04-12 12:56:05 +01:00
Tiago Costa 2d1d058295
skip flaky suite (#96113) 2021-04-12 12:54:32 +01:00
Matthias Wilhelm 6775a86025
[Discover] Unskip histogram hiding test (#95759) (#96763)
- improves the test to be no longer flaky
2021-04-12 07:39:36 -04:00
Nathan Reese e1a1f8b989
[Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert (#96633) (#96681)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-09 00:12:42 -04:00
Tyler Smalley 671f91fa2a skip flaky suite (#92522) 2021-04-06 12:49:33 -07:00
Tyler Smalley 21978b6a44 skip flaky suite (#89477) 2021-04-06 12:45:21 -07:00
Thomas Neirynck b31ee25c46
[Maps] Enable all zoom levels for all users (#96093) (#96228)
# Conflicts:
#	.github/CODEOWNERS
2021-04-05 14:33:44 -04:00
spalger af236df4d0 skip flaky suite (#95660) (#95706)
(cherry picked from commit 6868f18343)
2021-04-01 19:18:06 -07:00
Jonathan Budzenski 95f37732d3 skip flaky test #95660 2021-04-01 11:20:40 -05:00
Pierre Gayvallet a4b185b86d
add per space configuration to custom header banner (#94449) (#95897)
* 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
# Conflicts:
#	src/plugins/kibana_usage_collection/server/collectors/management/schema.ts
#	src/plugins/kibana_usage_collection/server/collectors/management/types.ts
#	src/plugins/telemetry/schema/oss_plugins.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 10:36:57 -04:00
Ahmad Bamieh da5edcc055
[7.x] [Core] create deprecations service (#94845) (#95815)
* fix conflicts

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 08:21:07 -04:00
Ece Özalp be873d41c1
[7.x] Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) (#95458)
* Add a11y test coverage to Rule Creation Flow for Detections tab (#94377)

[Security Solution] Add a11y test coverage to Detections rule creation flow (#80060)

* update browser size

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-30 16:03:03 -04:00
Chandler Prall 2c5a9a7cb4
[7.x] Upgrade EUI to v31.10.0 (#93796) (#95687)
* 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>
# Conflicts:
#	test/functional/screenshots/baseline/tsvb_dashboard.png
#	x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot
#	x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/__snapshots__/trusted_apps_page.test.tsx.snap

* snapshot updates
2021-03-30 15:30:58 -04:00
Stratoula Kalafateli 4fe26b8198
[TSVB] Show an indicator when using Last Value mode (#91977) (#95817)
* [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>

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-03-30 14:49:18 -04:00
Matthias Wilhelm 630f00897e
[Discover] Improve sidebar rendering for large field lists (#95038) (#95764)
* 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 08:41:47 -04:00
Uladzislau Lasitsa 9e5b4bffa2
[TSVB] Change the default mode from last value to entire timerange (#93608) (#95662)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-03-30 03:31:54 -04:00
Tiago Costa 1041ed9e7a
skip flaky suite (#95642) 2021-03-30 03:39:27 +01:00
Tiago Costa a056e47edc
skip flaky suite (#94532) 2021-03-29 13:21:08 +01:00
Alexey Antonov 7bf2d4c1ba
[TSVB] Enable dual mode, support index patterns and strings (#92812) (#95631)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 07:43:17 -04:00
Matthew Kime d8c01e6cc6
Index pattern field editor - Add warning and type 'confirm' on delete or save (#95237) (#95526)
* add runtime field change/delete confirm dialog
2021-03-26 12:32:40 -04:00
Matthias Wilhelm e5c58751d5
[Discover] Unskip functional test of saved queries (#94705) (#95450) 2021-03-25 16:51:23 -04:00
Matthias Wilhelm cd5b0d6347
[Discover] Deangularize controller part 1 (#93896) (#95379)
* 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 04:52:47 -04:00
Kibana Machine 95e07fe5c7
[ML] Functional tests for Anomaly swim lane (#94723) (#95313)
* [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

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2021-03-24 12:53:14 -04:00
Dmitry c090bd348f
[dashboard/bwc_shared_urls] check viz are loaded (#94941) (#95085)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 15:47:56 -04:00
Jonathan Budzenski b9933d566c skip "doc table should show popover" #94889 2021-03-19 12:12:26 -05:00
Jonathan Budzenski f5b2ac4870 skip "navigates to doc view from embeddables" #93670 2021-03-18 16:12:07 -05:00
Devon Thomson 52e0a43e21
[Time to Visualize] Add Discrete Library Option to Save Modal (#94589) (#94961)
* save modal UI and Redirect and save to library

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
# Conflicts:
#	.github/CODEOWNERS
2021-03-18 15:56:01 -04:00
Anton Dosov 2df4d5ca96
[QueryBar] a11y improvements, focus glitches fixes, unskip tests (#94148) (#94806)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 07:26:44 -04:00
Kibana Machine 184b01ad97
[Lens] Runtime field editor (#91882) (#94892)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-03-18 05:36:16 -04:00
Diana Derevyankina 8781e4c349
Replace EuiCodeBlock with JsonCodeEditor in DiscoverGrid (#92442) (#94780)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 06:44:23 -04:00
Stratoula Kalafateli da9e1c313d
[XY axis] Integrates legend color picker with the eui palette (#90589) (#94738)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-16 15:58:18 -04:00
Matthew Kime 3ed0a00341
[Field formats] Fix switching away from duration formatter (#93818) (#94631)
* simplify field format editor rendering, fixes switching away from duration formatter
2021-03-15 17:20:49 -04:00
Anton Dosov 26cb5b90a3
Fix importing dashboards created before ~6.1.0 (#94332) (#94565) 2021-03-15 11:13:39 -04:00
Matthew Kime 6e657baac7
Add runtime field functional test (#93710) (#94373)
Add runtime fields editor functional test
2021-03-10 19:06:37 -05:00
Rashmi Kulkarni f6e139f1af
Unskipping Dashboard listing functional test (#93843) (#94208)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping to check the flakiness
2021-03-09 20:35:19 -08:00
Wylie Conlon 5c001f8443
Support for number, date and IP range data types (#76971) (#94001)
* 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 18:03:26 -05:00
Kibana Machine 564079e00b
wait for index pattern button to be enabled (#93677) (#93842)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2021-03-05 19:47:39 -05:00
Nick Partridge 3c3e63f975
[XY Charts] fix partial histogram endzones annotations (#93091) (#93640) 2021-03-04 14:16:59 -05:00
Wylie Conlon fd98aca6c3
[Discover] Fix link from dashboard saved search to Discover (#92937) (#93499)
* [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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-03 21:52:46 -05:00
Wylie Conlon 2faf3f428b
Fix expanding document when using saved search data grid (#92999) (#93522)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-03-03 19:00:41 -05:00
Wylie Conlon ab13e4c9fa
[7.x] [Index patterns] Guarantee order of fields in flattenHits (#93344) (#93483)
* [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
# Conflicts:
#	test/functional/apps/discover/_large_string.ts
#	x-pack/test/functional/apps/security/doc_level_security_roles.js
#	x-pack/test/functional/apps/security/field_level_security.js

* Update tests

* Fix whitespace
2021-03-03 17:17:11 -05:00
Rashmi Kulkarni 51bab14d9a
Test huge fields functional test (#93334) (#93461)
* fixes https://github.com/elastic/kibana/issues/74449

* fix for unskipping test huge fields functional test

* fix eslint
2021-03-03 14:18:33 -05:00
Maja Grubic 9f002eda06
[Search Embeddable] Add highlighting when searching (#93178) (#93372)
* [Search Embeddable] Add highlighting when searching

* Adding a functional test
2021-03-03 05:03:55 -05:00
Devon Thomson 870a529d34
[Time to Visualize] Disable Visualize URL Tracker When Linked to OriginatingApp (#92917) (#93251)
* changed url tracker for visualize to not save when linked to originating app
2021-03-02 13:20:14 -05:00
Uladzislau Lasitsa 0772e207a2
Control round and decimal places in Gauge Visualization when using aggregate functions like average (#91293) (#93014)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 09:42:53 -05:00
Kibana Machine f6e6149e66
[kbn/test] add import/export support to KbnClient (#92526) (#92935)
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>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 20:34:11 -05:00
Rashmi Kulkarni 357cbe0a2f
Test fix management scripted field filter functional test and unskip it (#92756) (#92924)
* 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 19:21:09 -05:00
Wylie Conlon 953b9ad5fe
[Discover] Fix persistence of "hide/show chart" in saved search (#92731) (#92894) 2021-02-25 16:28:14 -05:00
Anton Dosov 9ef5f01872
Fix navigating from discover single document view back to discover (#92463) (#92637) 2021-02-24 12:20:12 -05:00
Devon Thomson d0d6d3923c
[Dashboard] Remove Multiple History Entries & Stay in Edit Mode on Save As (#92105) (#92440)
* made save as stay in edit mode when not navigating to another dashboard. Removed extra history entires from save
2021-02-23 13:14:05 -05:00
Wylie Conlon 7b835f980c
[TSVB] Stop inserting zeroes for null series (#90861) (#92432)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 12:42:56 -05:00
Daniil 76ca536537
[Data Table] Fix visualization layout in split mode (#91799) (#92263)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 03:27:20 -05:00
Daniil 0a4f2a2548
Use EuiResizableContainer in visualize (#86934) (#92183)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 03:26:02 -05:00
Michail Yasonik 41fa5f6909
Enabling Uptime and Dashboard a11y test (#91017) (#92325)
# Conflicts:
#	x-pack/test/accessibility/apps/uptime.ts
2021-02-22 23:08:12 -05:00
Wylie Conlon e9639ef839
[Discover] Show correct data for top level object columns (#91954) (#92268)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 16:34:56 -05:00
Maja Grubic 391b3a827f
[Discover] Always show unmapped fields (#91735) (#92070)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:09:12 +00:00
Devon Thomson ee7cb03a25
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729) (#92053)
* Make quicksave function stay in edit mode
2021-02-19 14:44:28 -05:00
Joe Reuter 980ff31c6b
[7.x] Discover: Add handling for source column (#91815) (#91980)
* Discover: Add handling for source column (#91815)

* enable by default

* fix conflicts

* fix search_after

* fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-02-19 10:50:41 -05:00
Ahmad Bamieh ce22a9e769
[7.x] [SOM] fix flaky suites (#91809) (#91880)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 12:02:55 +02:00
Bhavya RM d2a5a51eec
Unskip import saved objects test (#91834) 2021-02-18 17:25:21 -05:00
Devon Thomson 8537f25996
[Time to Visualize] Dashboard Save As New by Default (#91761) (#91905)
* changed dashboard save as to have save as new switch on by default
2021-02-18 16:03:15 -05:00
Matthew Kime 8dff16a0a6
Index pattern field editor (#88995) (#91896)
Index pattern field editor

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
2021-02-18 14:24:38 -06:00
Nick Partridge a4a74c81ef
Enable new chart library setting (#86538) (#91705) 2021-02-17 13:31:03 -06:00
Rashmi Kulkarni 1d8f36249c
unskip navigation test (#91306) (#91586)
* fixes https://github.com/elastic/kibana/issues/74449

* unskip navigation test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 17:18:20 -08:00
Devon Thomson f81cdc3ff7
[Time to Visualize] Unsaved Changes Badge (#91073) (#91540)
* Added unsaved changes badge to dashboards. Removed (unsaved) from the dashboard title
2021-02-16 16:01:01 -05:00
Devon Thomson 04eca9683c
[Time to Visualize] Combine Discard & Cancel (#91267) (#91533)
* recombined discard and cancel button functionality
# Conflicts:
#	test/functional/apps/dashboard/view_edit.ts
2021-02-16 15:17:31 -05:00
Maja Grubic 8485edc50a
[Discover] Making source filters test run with fields API (#91404) (#91482) 2021-02-16 17:38:09 +00:00
Rudolf Meijering 1fc8122c6d
[7.x] Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992) (#90839)
* Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f97958043f.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fix visualize fixture after backport

* Disable monitoring plugin email notifications in functional tests

* Disabling monitoring emails doesnt disable it, configure instead

* Fix monitoring test

* Remove debug logging from FTR config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 06:56:59 -05:00
Tiago Costa f8eef635e5
skip flaky suite (#86948) 2021-02-15 13:40:36 +00:00
Tiago Costa b54a5ec577
skip flaky suite (#91191) 2021-02-15 13:37:42 +00:00
Ahmad Bamieh ccaded1d89
[7.x] [Saved Objects] Allow exporting and importing hidden types (#90178) (#91351)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-15 03:07:05 +02:00
Catherine Liu f503aa3eed
[Time to Visualize] Adds functional tests for editing by value visualize embeddables (#90241) (#91207)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-12 08:57:55 -08:00
Devon Thomson 578c4ee96b
[Time to Visualize] Rename Visualize to Visualize Library (#91015) (#91184)
* Renamed Visualize to Visualize Library
2021-02-11 19:32:03 -05:00
Devon Thomson 4396e45c4d
[Time to Visualize] Copy Panel to Dashboard (#90856) (#91228)
* Added copy to dashboard action
2021-02-11 19:26:02 -05:00
Catherine Liu f5f6bc17c1
[7.x] [Dashboard] Adds Save as button to top menu (#90320) (#91208)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 15:02:11 -08:00
Catherine Liu 852ef0b643
[Time to Visualize] Adds functional tests for linking/unlinking panel from embeddable library (#89612) (#91066)
# Conflicts:
#	.github/CODEOWNERS

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 13:12:52 -08:00
Marco Vettorello f0fd2ef0bc
Update dependency @elastic/charts to v24.5.1 (#89822) (#91083)
Updates @elastic/charts to 24.5.1 with some Kibana related fixes:
- align tooltip z-index to EUI tooltip z-index
- external tooltip legend extra value sync
- legend: hierarchical legend order should follow the tree paths


fix #84307

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 11:13:24 +01:00
Uladzislau Lasitsa 67acb7fa11
Bump "monaco-editor" and "react-monaco-editor" to latest versions (#90158) (#91019)
* Update version of react-monaco-editor and monaco-editor libraries

* Fix yarn lock file

* Fix CI

* Fix unit tests

* Fix CI

* Fix comment

* move monaco instance in window.MonacoEnvironment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 10:07:29 +03:00
Poff Poffenberger 97a83fb45f
[Time to Visualize] Add functional tests for adding visualizations from Visualize, Lens, and Maps and adjust capabilities for new modal (#89245) (#91004)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 14:46:37 -06:00
Matthias Wilhelm bd8642ba76
[Discover] Add "Hide chart" / "Show chart" persistence (#88603) (#90961) 2021-02-10 18:30:11 +01:00
Tyler Smalley 4ecef99ee0
Use default ES distribution for functional tests (#88737) (#90694)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.ci/packer_cache_for_branch.sh
2021-02-08 22:57:34 -08:00
Tyler Smalley f7d50e5daf
[test] Await retry.waitFor (#90456) (#90541)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-05 18:56:52 -08:00
Chandler Prall d18bdb0fb2
Upgrade EUI to v31.4.0 (#89648) (#90462)
* Bump EUI to v31.4.0

* fix datagrid functional tests

* fix Lens unit tests

* fix table cell filter test

* Fix discover grid doc view test

* stabilize data table tests

* fix dashboard embeddable datagrid test

* Fix x-pack functional tests

* fix ml accessibility tests

* Fix discover grid context test

* Adapt expected nr of documents being displayed

* stabilize Lens a11y tests and skip data table

* Fix 2 ml functional tests

* enable lens datatable test; disable axe rule for datatable

* fix ml test

* fix Lens table test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-02-05 14:17:03 -07:00
Devon Thomson 05d248127f
Fix Visualize Link Redirecting to Dashboard Linked Visualization (#90243) (#90490) 2021-02-05 15:37:22 -05:00
Devon Thomson c78a5a2645
[7.x] [Time to Visualize] Remove Panels from URL (#86939) (#90247)
Removed panels from dashboard URLs

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2021-02-04 13:32:02 -05:00
Maja Grubic af940d518f
[Discover] Minor cleanup (#90260) (#90283) 2021-02-04 16:42:11 +00:00