Commit graph

4423 commits

Author SHA1 Message Date
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