Commit graph

4579 commits

Author SHA1 Message Date
Kibana Machine f9d9e8193a
[Flaky-tests] Fix SOM edit-saved-objects test (#109215) (#109245)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-08-19 11:05:31 -04:00
Tiago Costa 755a9fe139
skip flaky suite (#95376) 2021-08-19 15:32:22 +01:00
Kibana Machine 613f0d95a6
Fix flakiness in load and save agg-based visualizations (#109066) (#109201)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 04:23:28 -04:00
Mikhail Shustov 9f78d17e8f
[Elasticsearch] remove legacy es client (#107619) (#109144)
* remove legacy es client

* update docs

* uninstall elasticsearch package

* fix global_search tests

* ad-hoc fix to address bazel failure. authored by Tiago

* update docs

* remove elasticsearch import. errors are muted with @ts-ignore

* Update WORKSPACE.bazel

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* update docs

* fix problem when dev mock already mocked client

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
# Conflicts:
#	src/core/server/elasticsearch/legacy/scoped_cluster_client.test.ts
2021-08-18 15:41:25 -04:00
Josh Dover 76e9e96905
[7.x] Update onboarding interstitial to handle default Fleet assets (#108193) (#109074)
* Update onboarding interstitial to handle default Fleet assets (#108193)

# Conflicts:
#	test/functional/page_objects/common_page.ts

* Skip flaky test
2021-08-18 14:16:12 -04:00
Dominique Clarke 0312e29cdd
[Observability][Exploratory View] revert exploratory view multi-series (#109091) 2021-08-18 10:56:31 -04:00
Diana Derevyankina f048d82ed0
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_markdown·ts - visualize app visualize ciGroup12 visual builder markdown should render mustache list (#108651) (#109056)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 07:36:17 -04:00
Kibana Machine e518b1ab6c
[TSVB] Markdown variables should be clickable (#108844) (#108948)
* [TSVB] Markdown variables should be clickable

* fix test

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-17 18:52:27 +00:00
Stratoula Kalafateli e032e9fef3
[Lens] Fixes flakiness in editing pre-existing runtime field (#108653) (#108842)
* [Lens] Fixes flakiness in editing pre-existing runtime field

* Field editor changes

* Unskip test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 07:39:03 -04:00
Kibana Machine c9b6ce5abf
Removes supertest-as-promised dependency (#100486) (#108817)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-17 03:30:08 +00:00
Kibana Machine b0cb12e80d
Index pattern creation - text improvements (#107860) (#108806)
* text improvements

Co-authored-by: Matthew Kime <matt@mattki.me>
2021-08-16 21:41:34 -04:00
Kibana Machine 40b1562672
[package testing] Bump status page timeout (#107813) (#108750)
The socket timeout for testing whether the status page is available or
not is currently 30 seconds.  This test was disabled for being flaky.
Reproducing this locally hasn't been straight forward, but I am seeing
an average of ~20 seconds, which is close enough to the timeout that I'd
like to rule out machine differences.  This gives the status check 120
seconds before dropping the connection.

Related to #106749 and #107300

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

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-08-16 16:21:25 -04:00
Kibana Machine 040d74f046
disable execution_context service by default (#108534) (#108732)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-08-16 15:08:37 -04:00
Kibana Machine a6cafd0472
[QA][SO INFO SVC] Add cli (#108353) (#108685)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-08-16 11:05:06 -04:00
Alexey Antonov 1218000fed
[TSVB] Fix UI issue with padding on showing annotations (#108205) (#108672)
* [TSVB] Fix UI issue with padding on showing annotations

* try to fix CI

* move 19 to constant

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-16 09:53:28 -04:00
Anton Dosov 65e73c08ca
[FieldFormats] Example plugin (#108070) (#108663)
# Conflicts:
#	.github/CODEOWNERS
2021-08-16 08:38:26 -04:00
Kibana Machine e737f79d55
[Discover][Context] Add functional test, convert to TypeScript (#108481) (#108659)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-16 08:07:39 -04:00
Alison Goryachev d96cffad3d
[Index pattern field editor] Add preview for runtime fields (#100198) (#108611) 2021-08-13 21:31:21 -04:00
Kibana Machine 650e44acd7
test user with specific roles and permissions- for create index pattern wizard test (#107984) (#108413)
* test user with specific roles and permissions

* added SO method logging, added test data stream to the role and modified createindexpattern function

* removed unused method added in settings page

* removed unused index name- logs-*

* remove unused function from settings page

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

Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
2021-08-12 15:42:49 -04:00
Anton Dosov b58d14467e
include and fix hello world example test (#108072) (#108264) 2021-08-11 17:17:49 -04:00
Stacey Gammon c75403ac60
[7.x] Add a new hello world plugin and adjust the welcome message. (#107789) (#108182)
* Add a new hello world plugin and adjust the welcome message. (#107789)

* Add a new hello world plugin and adjust the welcome message.

* update and move files

* Update CODEOWNERS

* add a tsconfig.json file

* update tsconfig.json

* fix type check

* address code review comments
# Conflicts:
#	.github/CODEOWNERS

* Update tsconfig.json

Need to account for https://github.com/elastic/kibana/pull/108139

* Update tsconfig.json

Needed to add references
2021-08-11 12:45:33 -04:00
Dmitry Tomashevich 7a2a5e854c
[Discover] Deangularize classic table (#104361) (#108149)
* [Discover] move angular directives to react compoenents

* [Discover] add support of infiniteScroll

* [Discover] support paginated classic table

* [Discover] refactor docTable component, remove redundant angular code

* [Discover] remove redundant files

* [Discover] fix some functional tests and pgination

* [Discover] fix functionals

* [Discover] code refactoring, adding tests

* [Discover] update tests

* [Discover] fix embeddable view of doc table

* [Discover] update pagination view

* [Discover] remove unused translations

* [Discover] improve readability, fix pagination

* [Discover] adjust isFilterable check

* [Discover] improve doc viewer table row display

* [Discover] clean up implementation, fix functional test

* [Discover] fix skip button

* [Discover] update test snapshot

* [Discover] update test

* [Discover] simplify pagination, update layout in embeddable

* [Discover] fix functional, remove redundant i18n translations

* [Discover] return indexPatternField

* [Discover] add support of fixed footer for embeddable

* [Discover] move doc_table to apps/components folder, update test

* [Discover] fix imports

* [Discover] update imports, beautify code

* Update src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx

Co-authored-by: Tim Roes <mail@timroes.de>

* [Discover] remove redundant styles

* [Discover] fix lining

* [Discover] fix discover grid embeddable

* [Discover] fix by comments

* [Discover] return extraWidth, describe the problem

* [Discover] fix unresolved conflicts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <mail@timroes.de>
# Conflicts:
#	test/functional/apps/discover/_doc_table.ts
2021-08-11 07:05:38 -04:00
Spencer 79e45f2190
[build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.gitignore
#	examples/hello_world/tsconfig.json
#	tsconfig.json
#	tsconfig.refs.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 05:08:54 -04:00
Kibana Machine a4ee786ca8
[7.x] [APM] Add new ftr_e2e to kibana CI and remove current e2e tests. (#107593) (#108138)
* [APM] Add new ftr_e2e to kibana CI and remove current e2e tests. (#107593)

* fix newly introduced type error (#107593)

(cherry picked from commit 65a5cb1476)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-11 08:05:08 +00:00
Anton Dosov bb93f4e586
[FieldFormats] Add editors tests (#107770) (#108049)
# Conflicts:
#	test/common/services/index.ts
2021-08-10 17:40:41 -04:00
Kibana Machine 6834ac8ba4
[7.x] [Archive Migration] Swap es archiver for kbn archiver - Canvas app (#102533) (#107504)
* [Archive Migration] Swap es archiver for kbn archiver - Canvas app (#102533)

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

* Backport saved object info svc, as it is in master.

Signed-off-by: Tre' Seymour <wayne.seymour@elastic.co>

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-08-10 14:54:11 +00:00
Mikhail Shustov fdb41b9855
[Execution context] Add nested context support (#107523) (#108002)
* Add nested context support

* remove execution context service on the client side

ExecutionContextContaier is not compatible with SerializableState, so I had to fall back to passing context as POJO. With this change, using a service looks like overhead.

* update docs

* fix test

* address comments from Josh

* put export back

* update docs

* remove outdated export

* use input.title for unsaved vis

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 05:19:07 -04:00
Tiago Costa 8e7fdd83af
skip flaky suite (#107831) 2021-08-09 21:12:10 +01:00
Kibana Machine 5a62b60027
filter FilterBar suggestions by time (according to flag) (#107192) (#107897)
* filter filter bar suggestions by time (according to flag)
add api integration tests for autocomplete apis

* test fix: setDefaultAbsoluteRange

* timeRangeForSuggestionsOverride

* revert

* tests

* doc

* set time range

* Added tests following code review

* eslint

* fun-ctional tests

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

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-09 12:18:56 -04:00
Matthew Kime 3717f0d47d
[7.x] [index patterns] index pattern create modal (#101853) (#107823)
* [index patterns] index pattern create modal (#101853)

index pattern creation flyout

* update docs

* update limits

* Update limits.yml

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 12:02:25 -04:00
Ahmad Bamieh cfae29aeed
[Telemetry] Add telemetry.sendUsageTo config (#107396) (#107805) 2021-08-05 17:43:13 -04:00
Anton Dosov cda9966654
[7.x] [FieldFormats] Break from data plugin (#107173) (#107761)
* [FieldFormats] Break from `data` plugin (#107173)

# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.castestokbnfieldtypename.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.getkbntypenames.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.castestokbnfieldtypename.md
#	src/plugins/data/public/public.api.md

* update limits
2021-08-05 13:53:39 -04:00
Kibana Machine 55ce986274
[FieldFormats] Unskip url field formatter test (#107651) (#107720)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-08-05 06:52:24 -04:00
Kibana Machine 3a8020a86b
[package testing] Create target dir before copying artifacts (#107679) (#107698)
gsutil requires a directory to exist before copying artifacts in.
Prior to https://github.com/elastic/kibana/pull/107217, a
.bootstrap-cache file was written, providing the directory for these
writes.  Now that we're no longer writing this file, we need to ensure
it exists.

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-08-04 19:35:02 -04:00
Alexey Antonov 602e26b1b7
[Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard (#106845) (#107691)
* [Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard

Closes: #77530

* add mocks for active_cursor service

* fix jest tests

* fix jest tests

* apply PR comments

* fix cursor style

* update heatmap, jest

* add tests

* fix wrong import

* replace cursor for timelion

* update tsvb_dashboard baseline

* fix CI

* update baseline

* Update active_cursor_utils.ts

* add debounce

* remove cursor from heatmap and pie

* add tests for debounce

* return theme order back

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-04 17:41:46 -04:00
Diana Derevyankina 489117af60
[Timelion Viz] Add functional tests (#107287) (#107689)
* First draft migrate timelion to elastic-charts

* Some refactoring. Added brush event.

* Added title. Some refactoring

* Fixed some type problems. Added logic for yaxes function

* Fixed some types, added missing functionality for yaxes

* Fixed some types, added missing functionality for stack property

* Fixed unit test

* Removed unneeded code

* Some refactoring

* Some refactoring

* Fixed some remarks.

* Fixed some styles

* Added themes. Removed unneeded styles in BarSeries

* removed unneeded code.

* Fixed some comments

* Fixed vertical cursor across Timelion visualizations of a dashboad

* Fix some problems with styles

* Use RxJS instead of jQuery

* Remove unneeded code

* Fixed some problems

* Fixed unit test

* Fix CI

* Fix eslint

* Fix some gaps

* Fix legend columns

* Some fixes

* add 2 versions of Timeline app

* fix CI

* cleanup code

* fix CI

* fix legend position

* fix some cases

* fix some cases

* remove extra casting

* cleanup code

* fix issue with static

* fix header formatter

* fix points

* fix ts error

* Fix yaxis behavior

* Fix some case with yaxis

* Add deprecation message and update asciidoc

* Fix title

* some text improvements

* [Timelion Viz] Add functional tests

* Add more complex cases for _timelion

* Update test expected data

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

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-04 17:26:42 -04:00
Kibana Machine 3eaeac5508
Remove legacyEs test service (#107567) (#107635)
* migrate uptime tests to the new client. it didn't use legacy one anyway

* remove legacyEs service

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-08-04 10:43:21 -04:00
Tyler Smalley 6f7c0225f6 skip flaky suite (#107057) 2021-08-04 06:44:57 -07:00
Kibana Machine 53afa0d31b
[Discover][Main] Split single query into 2 queries for faster results (#104818) (#107392)
Co-authored-by: Tim Roes <tim.roes@elastic.co>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-08-02 11:28:19 -04:00
Kibana Machine 374688ace7
[Discover] Improve functional saved query test to prevent flakiness (#107204) (#107386)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-02 10:44:48 -04:00
Marta Bondyra ee206e4699
[7.x] [Sample data] Use Lens in Logs sample data (#106486) (#107371)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 14:43:26 +02:00
Kibana Machine c3573309f0
[Discover] Improve functional testing searchOnPageLoad (#107181) (#107363)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-02 06:05:45 -04:00
Kibana Machine 7581e1873f
[dev-utils/run] support --info flag when default log level changed (#107244) (#107316)
* [dev-utils/run] support --info flag when default log level changed

* update kbn/pm dist and remove excess --debug flag

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-07-30 15:45:16 -04:00
Stratoula Kalafateli 1618cfe2ad
[Viz listing] Unskip and stabilize the tests (#106830) (#107131)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-29 07:12:56 -04:00
Kibana Machine 8ec8946e8a
[load testing] remove extra loop and pass simulations to running script (#106997) (#107121)
* [load testing] remove loop and pass simulations seq

* pass string, not array to script

* pass var via export

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

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-07-29 06:28:54 -04:00
Kibana Machine 870840da18
[Aggregations] Create expression functions for object types used in agg params (#103494) (#107110)
Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co>
2021-07-29 03:21:11 -04:00
Kibana Machine 9f9f5cfc95
[api-docs] raise memory limit again (#107065) (#107092)
* [api-docs] raise memory limit again

* update buildkite script too

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-07-28 19:03:57 -04:00
Tiago Costa 02fdf6cd38
skip flaky suite (#103389) 2021-07-28 14:55:11 +01:00
Tiago Costa 9c72424ba2
skip flaky suite (#100437) 2021-07-28 12:29:19 +01:00
Stratoula Kalafateli d79657675a
[Timelion app] Stabilize the flakiness in cloud (#106826) (#106952) 2021-07-28 04:28:05 -04:00
Kibana Machine 163eca90be
[data.search.autocomplete] Move autocomplete method to UI settings (#106331) (#106950)
* [data.search.autocomplete] Move autocomplete method to UI settings

* Use select rather than boolean

* Add ftue tour

* Make a select rather than text box

* Only show when focused and first time page is loaded

* Add docs link

* Reverse order of sections

* Update docs/concepts/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/concepts/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Docs updates

* setting

* telemetry

* Add links to docs

* Fix translations

* Fix failing test

* Fix test

* Fix tests

* Revert changes to querybar service

* Fix discover query

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-07-28 02:17:22 -04:00
Stratoula Kalafateli 1bc4d31758
[TSVB] Fixes firefox flakiness on index pattern mode functional test (#106825) (#106855) 2021-07-27 12:12:13 -04:00
Kibana Machine 488bec4831
Update index patterns/field formatters kibana.json with owner and description (#106705) (#106820)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-27 06:58:43 -04:00
Diana Derevyankina 4a80088ed2
[TSVB] Add more functional tests for Timeseries (#106100) (#106812)
* [TSVB] Add more functional tests for Timeseries

* Fix failing test for timeseries

* Refactor visual_builder_page and _tsvb_time_series

* Add getChartItems to visual_builder_page

* Remove generic from getChartItems function
2021-07-27 05:10:10 -04:00
Kibana Machine ab1838ebc1
[ci] raise the max-old-space-size for scripts/build_api_docs (#106735) (#106774)
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-07-26 17:01:00 -04:00
Kibana Machine c3c363e08c
[Deprecations service] Add requireRestart field (#106701) (#106762)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-07-26 15:36:00 -04:00
Jonathan Budzenski a5e3de886f skip flaky test #106749 2021-07-26 11:08:13 -05:00
Kibana Machine 4b6fcd6a1f
[Fleet] Replace hash router by router with scoped history (#106267) (#106709)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-07-26 10:10:31 -04:00
spalger 78b3b3b98b Revert "[i18n] [7.x] Integrate 7.14.0 Translations (#106359)"
This reverts commit 4d356ed432.
2021-07-22 13:47:56 -07:00
Ahmad Bamieh 4d356ed432
[i18n] [7.x] Integrate 7.14.0 Translations (#106359) 2021-07-22 11:41:06 -04:00
Kibana Machine fcb4d39bb3
[Discover] Replace font awesome icons with Eui (#103503) (#106506)
* [Discover] replace font awesome icons with eui

* [Discover] fix eslint

* [Discover] fix tests, update icon styles

* [Discover] fix eslint

* [Discover] fix functional related to awe icons

* [Discover] add empty line for scss file

* [Discover] fix eslint

* [Discover] simplify testSubjects

* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* [Discover] fix icons appearing problem

* [Discover] update test

* [Discover] remove redundant styles

* [Discover] update test snapshot

* Update src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx

Co-authored-by: Tim Roes <mail@timroes.de>

* [Discover] change tool bar text size

* [Discover] update test

* [Discover] replace button with EuiButton

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>
2021-07-22 07:24:56 -04:00
Kibana Machine f70385fcee
[Exploratory View] Multi Series View (#103855) (#106498)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2021-07-22 06:30:38 -04:00
Tiago Costa a91dc36b26
chore(NA): improves @kbn/ui-shared-deps build performance (#105971) (#106472)
* chore(NA): move packages assets optimization into the distributable build

* chore(NA): include terser task on distributable build

* chore(NA): migrate everything into the build tasks

* chore(NA): update webpack config to include react profiler

* chore(NA): optional fsevents

* chore(NA): redo optional fsevents

* chore(NA): remove noparse for fsevents

* chore(NA): include missing task declaration

* chore(NA): include sourcemaps

* chore(NA): include metrics bundle file generation during distributable build

* chore(NA): correctly setup paths

* chore(NA): change sourcemap types

* chore(NA): remove useless sourcemaps

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_build_kibana.sh
2021-07-21 18:42:06 -04:00
Devon Thomson 92e52d0e7f
[Dashboard] Index Pattern Observable Error Handling (#106155) (#106443)
* add error handling to dashboard index pattern observable to prevent issues when embeddables do not load
2021-07-21 16:07:24 -04:00
Kibana Machine 2c4aaf67b6
[Es query] Move to package (#103530) (#106417)
May the forces of bootstrapping helps us 🙏🏻 😉

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-21 13:32:55 -04:00
Kibana Machine c37c573031
[Sample data] Use Lens in ecommerce data (#106039) (#106413)
* [Sample data] Use Lens in ecommerce data

* Fix tests

* Update from comments

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-21 12:48:36 -04:00
Diana Derevyankina 09c2bfcfaf
[TSVB] Add more functional tests for Gauge and TopN (#105361) (#106403)
* [TSVB] Add more functional tests for Gauge and TopN

* Update visual_builder_page.ts

* Update functions related to gauge color and filter ratio numerator in visual_builder_page

* Update visual_builder_page and add some more test subjects

* Update _tsvb_chart.ts

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-21 11:15:07 -04:00
Kibana Machine 78977780b6
[bug] don't convert KbnServerErrors again (#106220) (#106265)
* don't convert KbnServerErrors again

* Add test

* fixy fix

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-20 12:42:56 -04:00
Kibana Machine 6b9d1dc8d3
[TSVB] fix No longer possible to define intervals like >=1m or >=12h (#105954) (#106245)
* [TSVB] fix No longer possible to define intervals like >=1m or >=12h

Closes: #105854

* add tests, remove extra logic

* add functional test, update help text

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

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-20 11:32:28 -04:00
Diana Derevyankina f9d52091f2
[TSVB] Add more functional tests for Table (#105060) (#106241)
* [TSVB] Add more functional tests for Table

* Update filter ratio setting numerator denominator function

* Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts

* Update setFilterRatioOption function
2021-07-20 11:27:23 -04:00
Stratoula Kalafateli 67646f83a0
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055) (#106221)
* [Vislib XY axis] Adds a deprecation notice in the UI and a docs section

* Remove cyclic dependency

* Fix link

* Add functional test

* fix functional tests

* Apply PR comments

* Update docs/user/dashboard/aggregation-based.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Apply PR changes

* minor

* Change the implementation

* Use title calse in Advanced Settings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-20 08:41:07 -04:00
Kibana Machine ce4fee9328
[Reporting] Unskip flaky test when downloading CSV with "no data" (#105252) (#106210)
* unskipped test and added additional checks when using time picker

* rather wait for the timepicker to close

* set up test for flaky test runner

* Additional .only

* Remove .only

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

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-07-20 10:42:00 +00:00
Tiago Costa f4e30786a1
skip flaky suite (#106121) 2021-07-20 00:09:46 +01:00
Kibana Machine 50d6106e56
Instrument vis_type_vislib, lens and vis_type_timeseries with execution context service (#105206) (#106117)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-19 19:19:19 +00:00
Stratoula Kalafateli c89f9d3450
[TSVB] Refactor the index pattern mode functional test (#105725) (#106063)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-19 06:42:07 -04:00
Kibana Machine 98994240ba
[Sample data] Use Lens in flights dashboard (#104780) (#105986)
* [Sample data] Use Lens in flights sample data

* Fix test issues

* Fix functional tests

* Fix a11y test names

* Fix tests again

* Fix test

* Update from comments

* Fix sizing from feedback

* Fix typo

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

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-16 14:23:01 -04:00
Devon Thomson 8581542452
Unskip Dashboard Listing Test (#105668) (#105801)
* unskipped test due to successful flaky test runner
# Conflicts:
#	test/functional/apps/dashboard/dashboard_listing.ts
2021-07-15 14:36:46 -04:00
Kibana Machine 07cdc5ac98
[test] Reverts tests skipped to promote snapshot (#104571) (#105634)
* temp use unverified snapshot

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Revert "skip failing es promotion suite (#104469)"

This reverts commit 87971e74e1.

* Revert "skip failing es promotion suite (#104467)"

This reverts commit c72ad3edcb.

* Revert "skip failing es promotion suite (#104466)"

This reverts commit a0b36c75f5.

* Revert "skip failing es promotion suite (#104413)"

This reverts commit 9773e3f678.

* Revert "skip failing es promotion suite (#104409)"

This reverts commit 79608dcc9e.

* Revert "skip failing es promotion suite (#104366)"

This reverts commit dfc5dbb31b.

* Revert "skip failing es promotion suite (#104365)"

This reverts commit 269577703a.

* Revert "skip failing es promotion suite (#104364)"

This reverts commit 16f69d24b6.

* Revert "skip failing es promotion suite (#104362)"

This reverts commit 2e492c2083.

* Revert another commit to promote ES snapshot

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-07-14 14:25:40 -04:00
Tim Roes db54d67b25
[Discover][Main] Fix missing error message when building search query throws exceptions (#103923) (#105560)
* Fix missing error message when building search fails

* Fix test

* Update _date_nested.ts

* Lint config.js

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>
2021-07-14 08:27:34 -04:00
Spencer 6dee8d8fbc
[7.x] [theme] default to v8 theme (#94370) (#105290)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-12 16:29:09 -07:00
Clint Andrew Hall 4dc378cc8f
[canvas] Reduce bundle by registering Canvas Plugin API on mount (#104264) (#105289) 2021-07-12 16:47:55 -04:00
Diana Derevyankina e510dd77b0
[TSVB] Top_hit supports runtime fields (#103401) (#105226)
* [TSVB] Refactor top-hit aggregation to work with fields instead of _source

* Allow select date strings for top_hit aggregation in table, metric, and markdown

* Fix agg_with handling for top_hit and add some tests

* Refactor get_agg_value and fix type check for _tsvb_chart

* Refactor top_hit.js

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 12:34:27 -04:00
Greg Thompson b13e90e6d1
Enable CSS-in-JS styling with emotion (#98157) (#105223)
* emotion deps

* kbn-babel

* kbn-test

* examples

* babel-plugin-styled-components config

* css prop type fixes

* type context

* declaration location

* some emotion types resolved

* clean up

* emotion v10 accomodations

* types

* kbn-crypto

* kbn-telemetry-tools

* bazel

* eslint rule; shared file regex array

* update paths

* Update packages/kbn-eslint-plugin-eslint/rules/module_migration.js

Co-authored-by: Spencer <email@spalger.com>

* remove placeholder styles

* doc api changes

* snapshot updates

* storybook comments

* use constant

* bump new deps

* condense versions

Co-authored-by: Spencer <email@spalger.com>

Co-authored-by: Spencer <email@spalger.com>
2021-07-12 12:23:24 -04:00
Kibana Machine cb054a741f
[load] run puppeteer script before gatling scenarios (#104836) (#105216)
* [load] puppeteer script before load testing

* install dependencies after metricbeat configuration

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

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-07-12 15:10:11 +00:00
spalger 7e2991010d skip all discover functional tests to unblock es promotion (#104466)
(cherry picked from commit d776c0940e)
2021-07-09 18:01:30 -07:00
spalger b61a4376ca skip another suite blocking es promotion (#104466)
(cherry picked from commit b40fc09dfc)
2021-07-09 16:40:31 -07:00
spalger 080efede4a skip suites failing es promotion (#104466)
(cherry picked from commit ce48b73dc8)
2021-07-09 14:00:25 -07:00
Alexey Antonov 86d34d4f2f
[TSVB] fix include/exclude fields appear to migrated TSVB visualization when using Group by Terms (#104848) (#105068)
* [TSVB] Include/exclude fields appear to migrated TSVB visualization when using Group by Terms

Closes: #104829

* add functional test

* fix JEST
# Conflicts:
#	test/functional/page_objects/visual_builder_page.ts
2021-07-09 13:46:18 -04:00
Kibana Machine 90a1fb4d33
[TSVB] Table view - fix display of item urls (#105051) (#105064)
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-09 11:50:20 -04:00
Dave Snider 8de4c60a39
[KibanaPageTemplate] Adds collapsibility to solutionNav (#103192) (#104867)
Adds the ability to collapse the sidenav. This should work in all solutions. It also adds breakpoints that turn it into a flyout at lower screen widths.

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-07-08 11:14:40 -04:00
Kibana Machine 32a55c2d91
[Discover] Fix multiline display in classic table (#103499) (#104824)
* Restore CSS that broke multiline display

* Add functional test

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-07-08 06:55:36 -04:00
Dzmitry Lemechko 3d2d097fe0
Load testing/restart stack for simulation (#102492) (#104773)
* [load testing] restart Kibana & ES before each simulation

* [load testing] add sleep 30s before starting ES/Kibana
2021-07-07 20:18:53 -04:00
Dzmitry Lemechko 459d194a95
Add metricbeat steps to jenkins_build_load_testing.sh (#90290) (#104727)
* Update jenkins_build_load_testing.sh

* Change variables name

* Change to tar.gz package

* change install location

* Rename folder

* Debug and new folder name

* fix debug

* Fix path not changed

* more logging

* add cat logs

* more logging and skipping tests for debug

* Update jenkins_build_load_testing.sh

* Update jenkins_build_load_testing.sh

* Fix kibana_dir var

* Change log file path

* Update jenkins_build_load_testing.sh

* Update jenkins_build_load_testing.sh

* Fix metricbeat start

* Remove extra ls logging

* Changing to MB 7.11.0

* Fix package name

* Fix wrong copy

* Add vault credentials for stats

* Adding system data and removing log

* Update jenkins_build_load_testing.sh

Update script

* Update jenkins_build_load_testing.sh

Remove `ls` commands

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dmitry <dzmitry.lemechko@elastic.co>

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 15:54:11 -04:00
Mikhail Shustov 73adcb4511
Add execution context service (#102039) (#104686)
* add execution context service on the server-side

* integrate execution context service into http service

* add integration tests for execution context + http server

* update core code

* update integration tests

* update settings docs

* add execution context test plugin

* add a client-side test

* remove requestId from execution context

* add execution context service for the client side

* expose execution context service to plugins

* add execution context service for the server-side

* update http service

* update elasticsearch service

* move integration tests from http to execution_context service

* integrate in es client

* expose to plugins

* refactor functional tests

* remove x-opaque-id from create_cluster tests

* update test plugin package.json

* fix type errors in the test mocks

* fix elasticsearch service tests

* add escaping to support non-ascii symbols in description field

* improve test coverage

* update docs

* remove unnecessary import

* update docs

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* address comments

* remove execution context cleanup

* add option to disable execution_context service on the server side

* put x-opaque-id test back

* put tests back

* add header size limitation to the server side as well

* fix integration tests

* address comments

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-07 13:55:16 -04:00
Kibana Machine 2180bbf840
[Index Patterns] Use deprecation api for scripted fields (#100781) (#104654)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-07 11:35:34 -04:00
Tiago Costa 207078ab50
skip failing es promotion suite (#104467) 2021-07-06 15:35:13 +01:00
Tiago Costa 71230bbe8a
skip failing es promotion suite (#104466) 2021-07-06 15:27:18 +01:00
Tiago Costa 910ef66957
skip failing es promotion suite (#104413) 2021-07-06 12:08:24 +01:00
Tiago Costa 66dcdc3bee
skip failing es promotion suite (#104409) 2021-07-06 11:59:07 +01:00
Tiago Costa 7d2a9ab2ee
skip failing es promotion suite (#104366) 2021-07-06 02:30:14 +01:00
Tiago Costa 2b1575b197
skip failing es promotion suite (#104365) 2021-07-06 02:26:07 +01:00
Tiago Costa f0603aca21
skip failing es promotion suite (#104364) 2021-07-06 02:20:15 +01:00
Tiago Costa b795036576
skip flaky suite (#103252) 2021-07-05 15:00:25 +01:00
Stratoula Kalafateli e4c21ebf07
[TSVB] Add retry to remove flakiness (#104046) (#104277)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-05 06:52:28 -04:00
Michael Dokolin c73e13d744
[Expressions] Update expressions public API to expose partial results support (#102403) (#104210)
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
2021-07-01 18:57:17 -04:00
Dave Snider 5a4a08d80e
[Page layouts] Some light fixes (#103197) (#103885)
* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-06-30 16:05:20 -04:00
Jonathan Budzenski fc23272f74
[7.x] [build] Remove OSS builds (#103685) (#103792) 2021-06-29 21:50:33 -04:00
Kibana Machine cd3063ac93
[Discover] Improve brushing test (#97830) (#103713)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-29 14:49:42 -04:00
Kibana Machine 06313f3b94
Sharing saved objects phase 3.5 (#100424) (#103575)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-06-28 20:33:16 -04:00
Larry Gregory 5a84eb57ef
[7.x] Role Management: improve editing experience for DLS queries (#99977) (#103513)
* Role Management: improve editing experience for DLS queries (#99977)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security/public/management/roles/roles_management_app.tsx

* fix eslint error
2021-06-28 15:29:34 -04:00
Tiago Costa 8bc10abb95
skip flaky suite (#89031) 2021-06-25 12:16:16 +01:00
Tiago Costa 1cb4ce08cf
skip flaky suite (#98240) 2021-06-24 14:16:19 +01:00
Stratoula Kalafateli 74cd25d7a0
[VisTypePie] Use a different advanced setting for pie charts (#103049) (#103222)
* Different switch for pie

* Remove unused translations

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 07:40:58 -04:00
Kibana Machine bcd1489237
[Discover] Add right permission for unmapped field test in cloud env (#102853) (#103221)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-24 07:33:01 -04:00
Matthias Wilhelm 2d0615af3a
[Discover] Unskip and improve sidebar filter functional test (#102986) (#103220) 2021-06-24 07:27:29 -04:00
Greg Thompson e4c7b099e9
[7.x] Upgrade EUI to v34.3.0 (#101334) (#103175)
* Upgrade EUI to v34.3.0 (#101334)

* eui to v34.1.0

* styled-components types

* src snapshot updates

* x-pack snapshot updates

* eui to v34.2.0

* styled-components todo

* src snapshot updates

* x-pack snapshot updates

* jest test updates

* collapsible_nav

* Hard-code global nav width for bottom bar’s (for now)

* Update to eui v34.3.0

* flyout unmock

* src flyout snapshots

* remove duplicate euioverlaymask

* xpack flyout snapshots

* remove unused import

* sidenavprops

* attr updates

* trial: flyout ownfocus

* remove unused

* graph selector

* jest

* jest

* flyout ownFocus

* saved objects flyout

* console welcome flyout

* timeline flyout

* clean up

* visible

* colorpicker data-test-subj

* selectors

* selector

* ts

* selector

* snapshot

* Fix `use_security_solution_navigation` TS error

* cypress

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

* fix bad merge resolution

* fix bad merge resolution

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2021-06-24 01:30:59 -04:00
Kibana Machine 824fd4f8eb
[test] Migrates visualize esArchive to kbnArchiver (#102850) (#103195)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-23 23:16:53 -04:00
Kibana Machine a6985b20ae
Add timeouts and setup enforcement for custom plugins statuses (#77965) (#103149)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-23 16:02:07 -04:00
Kibana Machine 0d508191a0
Lens on Dashboard 7.12.1 Smoke Tests (#102667) (#103128)
* added smoke tests for lens by value panels on dashboard

Co-authored-by: Devon Thomson <devon.thomson@hotmail.com>
2021-06-23 18:38:23 +00:00
Kibana Machine eea0addbb7
[Discover] Unskip and improve empty results query functional test (#102995) (#103110)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-23 16:59:02 +00:00
Kibana Machine 9abcf6e1e8
[Discover] Improve flaky test - doc navigation (#102859) (#103108)
* [Discover] test flakiness

* [Discover] wait for doc loaded

* [Discover] update related test

* [Discover] clean statement

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-06-23 12:47:31 -04:00
Kibana Machine c73473ed92
[Discover] Unskip Discover large field number test (#100692) (#103050)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-23 06:03:36 -04:00
Maja Grubic 0e28661990
[Discover] Add source to doc viewer (#101392) (#102962)
* [Discover] Add source to doc viewer

* Updating a unit test

* Fix typescript errors

* Add unit test

* Add a functional test

* Fixing a typo

* Remove unnecessary import

* Always request fields and source

* Remove unused import

* Move initialization of SourceViewer back to setup

* Trying to get rid of null value

* Readding null

* Try to get rid of null value

* Addressing PR comments

* Return early if jsonValue is not set

* Fix loading spinner style

* Add refresh on error

* Fix error message

* Add loading indicator on an empty string

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-22 14:44:35 -04:00
Kibana Machine c735215051
unksip functional test (#102633) (#102860)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-22 06:01:54 -04:00
Kibana Machine db838743f5
[Lens] Fix time shift bug (#102528) (#102752)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-21 12:57:45 -04:00
Pierre Gayvallet 9cf01f1da5
[7.x] add isExportable SO export API (#101860) (#102698)
* add `isExportable` SO export API (#101860)

* add `isExportable` SO export API

* add warning when export contains excluded objects

* add FTR test

* fix API integration assertions

* lint

* fix assertions again

* doc

* update generated doc

* fix esarchiver paths

* use maps instead of objects

* SavedObjectsExportablePredicate is no longer async

* more docs

* generated doc

* use info instead of warning when export contains excluded objects

* try/catch on isExportable call and add exclusion reason

* add FTR test for errored objects

* log error if isExportable throws

* fix dataset for 7.x
2021-06-21 06:15:45 -04:00
Tyler Smalley 6977be0140
Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019) (#102580)
* Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)"

This reverts commit c272bdbc25.

* [FTR] Stabilize SSLP functional tests (#102553)

* Removes spaces check, since spaces should always be available
* Disables Monitoring, SecuritySolutions, and Reporting in SSPL tests
until #102552 is completed

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-21 03:28:12 -04:00
Caroline Horn b3a59f504c
[7.x] [K8] Added Inter font files for new theme (#102359) (#102579)
* [K8] Added `Inter` font files for new theme (#102359)

Updated the `Fonts` file to accept a `themeVersion` and only use the old Beta files if `v7`.
# Conflicts:
#	test/functional/screenshots/baseline/tsvb_dashboard.png
#	test/interpreter_functional/screenshots/baseline/metric_multi_metric_data.png

* Update baseline snapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-20 19:12:00 -04:00
Tiago Costa 3cfbe71203
[7.x] chore(NA): moving @kbn/ui-shared-deps into bazel (#101669) (#102666)
* chore(NA): moving @kbn/ui-shared-deps into bazel (#101669)

* chore(NA): moving @kbn/io-ts-utils into bazel

* chore(NA): moving @kbn/ui-shared-deps into bazel

* chore(NA): compelte working build for @kbn/ui-shared-deps

* chore(NA): solve eslint problems

* chore(NA): solve typechecking

* chore(NA): debugger changes

* chore(NA): update optimizer basic integration tests

* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets

* chore(NA): use correct ui-shared-deps metrics file location

* chore(NA): remove webpack bazel config

* chore(NA): implement improvements on webpack config

* chore(NA): remove extra comment

* chore(NA): try esbuild-loader minimizer

* Revert "chore(NA): try esbuild-loader minimizer"

This reverts commit bffc49aaae.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_build_kibana.sh

* chore(NA): last file containing old path for metrics.json file
2021-06-18 20:39:29 -04:00
Kibana Machine b85a234d54
[TSVB] Replaces EuiCodeEditor 👉 Monaco editor (#100684) (#102665)
* Сhanged EuiCodeEditor to CodeEditor (monaco) at markdown_editor.js

* Added css lang support for monaco-editor.

* Added .d.ts for css lang import directly from monaco.

* Moved handlebars_url language to the code_editor.

Moved handlebars_url language registration to the code_editor.
Changed the way of registration of languages.

* Added merge for markdown_handlebars lang.

* Changed to simple markdown syntax.

Handlebars syntax breaks highlighting of special chars in markdown syntax.

* Removed useless mergeConfig function.

* Removed legacy import.

* Refactor export from monaco-editor.

* Fixed 'Could not find a declaration file for module'

* Fixed tests.

* Fixed typings errors.

* Added comment to typings.

* Fixed clearMarkdown for Monaco editor.

* Made changes based on suggestions.

* Fixed types errors.

* Fixed function tests types errors.

* Fixes, based on nits.

* Fixes based on nits.

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

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-06-18 16:33:05 -04:00
Kibana Machine 2ffcc767e1
[canvas] Refactor Storybook from bespoke to standard configuration (#101962) (#102589)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-06-17 21:05:55 -04:00
Kibana Machine 4115b2d8f4
Display Kibana overall status in the logs and have FTR wait for green status before running tests (#102108) (#102511)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-17 12:28:01 -04:00
Steph Milovic 3bba37ff68
[7.x] [Observability] [Cases] Cases in the observability app (#101487) (#101971)
* [Observability] [Cases] Cases in the observability app (#101487)

* Fix archive

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* fix data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-15 17:33:45 -04:00
Kibana Machine 6114d5415e
[Fleet] Adjust add integration flow (#101714) (#102152)
* Initial commit, very WIP

- added link to the integrations UI instead of add integration
  in fleet
- added a new piece of route state that gets passed to integration
  from fleet when browsing integrations for a policy
- when the integration is being added the page will send the user
  back to the policy overview instead of back to integrations UI

* remove unnecessary agent policy clear function

* added # to path so that navigation is correctly handled

* added logic to read the forward agent policy id

* remove inline select integration package from fleet add integration

* updated toast notification

* using query parameter to pass policy id back to create policy package page

* removed policyId from route path

* fix type issue

* updated the select agent field layout per the designs

* simpified item rendering in combobox and fixed combobox z-index issue

* added comment

* fix types and i18n

* updated icon and removed unused i18n

* refactor to using styled components for cusomt z-index styling

* attempt to fix integration test

* added scroll functionality for dealing with fixed footers that might be obstructing content

* fix scroll direction!

* attempting another scroll algorithm

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

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-06-15 09:33:09 +00:00
Kibana Machine 04d7498792
[Discover] Improve functional test wording for responsive tests(#101744) (#102151)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-15 05:20:23 -04:00
Stratoula Kalafateli 815c3cee6d
[Tagcloud] Replaces current implementation with elastic-charts (#100017) (#102150)
* WIP - Replace tagcloud with es-charts wordcloud

* Cleanup and add unit tests

* Fix interpreter test

* Update all tagcloud snapshots

* Partial fix tagcloud test

* Fix some other functional tests, add migration script, update sample data

* Replace getColor with getCategorixalColor

* Fix functional test

* Apply clickhandler event for filtering by clicking the word

* Fix weight calculation

* Add a unit test and fix functional

* Change the cursor to pointer

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 04:36:41 -04:00
Kibana Machine a134c9e278
[Discover] Unskip runtime field editor test (#101059) (#102111)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-14 16:33:43 -04:00
Kibana Machine a1705f0bc4
Fix delayed status API updates in alerting and task_manager (#101778) (#102084)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-14 13:23:02 -04:00
Anton Dosov 99e7c9058e
[Index Patterns] Cover field editor with a11y tests (#101888) (#102074) 2021-06-14 12:44:36 -04:00
Tyler Smalley c272bdbc25
Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)
* Revert "[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)"

This reverts commit 9851b7bcfa.

* Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)"

This reverts commit 73225daa87.
2021-06-13 23:29:03 -07:00
Tyler Smalley 9851b7bcfa
[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-13 01:12:38 -04:00
Tyler Smalley 73225daa87
[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)
* [FTR][CI] Use default distribution for all tests (#94968)
* [FTR] Use importExport for saved_object/basic archive (#100244)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 09:53:10 -07:00
Kibana Machine 00cf95cdc0
[esArchive] Persists updates for management/saved_objects/* (#101992) (#102011)
Same as #101950 - these archives are causing issues with a non-oss build https://github.com/elastic/kibana/issues/101654

Last remaining fix for https://github.com/elastic/kibana/pull/101118

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 01:50:36 -04:00
Matthew Kime 36431d0d1e
[Index patterns] Field editor example app (#100524) (#102010)
* add example app
2021-06-11 23:40:40 -04:00
Tyler Smalley 32b7329c62 skip flaky suite (#101449) 2021-06-11 12:18:26 -07:00
Tyler Smalley 5c18bedd49
[esArchives] Persist migrated Kibana archives (#101951)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-10 20:47:22 -07:00
Spencer 34c5979eeb
[kbnArchiver] convert archive names to root-relative paths (#101839) (#101936)
* [kbnArchiver] convert archive names to root-relative paths

* ensure that newly multiline hooks are explicitly async

* missed a newly multiline hook

* fix exists check

* avoid extra lines by wrapping arrow body in {}

* one block more

* fix errant `name` variable

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/kql_telemetry/kql_telemetry.ts
#	test/api_integration/apis/saved_objects/bulk_create.ts
#	test/api_integration/apis/saved_objects/bulk_get.ts
#	test/api_integration/apis/saved_objects/bulk_update.ts
#	test/api_integration/apis/saved_objects/create.ts
#	test/api_integration/apis/saved_objects/delete.ts
#	test/api_integration/apis/saved_objects/export.ts
#	test/api_integration/apis/saved_objects/find.ts
#	test/api_integration/apis/saved_objects/get.ts
#	test/api_integration/apis/saved_objects/import.ts
#	test/api_integration/apis/saved_objects/resolve.ts
#	test/api_integration/apis/saved_objects/resolve_import_errors.ts
#	test/api_integration/apis/saved_objects/update.ts
#	test/api_integration/apis/saved_objects_management/find.ts
#	test/api_integration/apis/saved_objects_management/get.ts
#	test/api_integration/apis/saved_objects_management/relationships.ts
#	test/api_integration/apis/shorten/index.js
#	test/api_integration/apis/stats/stats.js
#	test/api_integration/apis/suggestions/suggestions.js
#	test/functional/apps/discover/_discover.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-10 16:54:10 -04:00
Jonathan Budzenski 0e25a90b62 skip flaky runtime fields test. #100966 2021-06-10 12:01:48 -05:00
Dzmitry Lemechko bc6bc5af2c
remove non-valid code (#100144) (#101885)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/functional/page_objects/common_page.ts
2021-06-10 10:31:10 -04:00
Anton Dosov af45343bee
[7.x] [Index Patterns] Runtime fields CRUD REST API (#101164) (#101770)
* [Index Patterns] Runtime fields CRUD REST API  (#101164)

Part of index pattern REST API
# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpattern.md

* fix bad docs merge
2021-06-09 12:37:53 -04:00