Commit graph

19489 commits

Author SHA1 Message Date
Jonathan Budzenski
57a764f057
Revert "[8.0] replace any with unknown in http client and types (#114265) (#117524)" (#117592)
This reverts commit 58f1af552e.
2021-11-04 15:18:29 -05:00
Kibana Machine
c24b8a6bf0
[Metrics UI] Add docs link to redundant groupBy detection (#116822) (#117563)
* [Metrics UI] Fix OR logic on redundant groupBy detection

* Switch regex change to doc change

* Fix core docs links

* Update x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-11-04 18:58:41 +00:00
Or Ouziel
58f1af552e
[8.0] replace any with unknown in http client and types (#114265) (#117524)
* replace any with unknown in http client and types (#114265)

# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts
#	x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/api.ts

* commit using @elastic.co
2021-11-04 18:15:11 +00:00
Kibana Machine
16e75d7f40
[Discover] fix context loading view (#115710) (#117508)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-11-04 15:00:31 +00:00
Kibana Machine
ff3c0d4d25
[Home] Adding upload data link to home page (#117129) (#117336)
* [Home] Adding upload data link to home page

* renaming link

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2021-11-04 10:02:41 +00:00
Kibana Machine
3e6fe7c332
Delete legacy URL aliases when objects are deleted or unshared (#117056) (#117461)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-11-04 04:42:45 +00:00
Spencer
7d3d79e6a1
[8.0] [eslint] enable type-specific lint rules (#114184) (#117444)
* [eslint] enable type-specific lint rules (#114184)

* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/share/common/index.ts

* autofix more types

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-11-04 03:02:56 +00:00
Kibana Machine
a29bbc075c
chore(NA): creates wrapper macro for ts_project rule (#117424) (#117454)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-11-04 02:38:45 +00:00
Kibana Machine
56aa84e697
[Discover] Fix time interval warning (#116606) (#117431)
* [Discover] fix time interval warning

* [Discover] apply suggestions

* [Discover] return check

* [Discover] fix typo

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-11-03 22:51:42 +00:00
Nick Partridge
6fe0e5079a
fix cursor theme issues (#117323) 2021-11-03 21:05:29 +00:00
Kibana Machine
81f73ef34d
[Discover] Fix doc viewer field column Field and Value width issues (#117121) (#117319)
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>
2021-11-03 16:23:57 +00:00
Kibana Machine
8c49c871b7
[Visualize] Fixes wrong header menu when navigating from a dashboard to a by ref viz (#117077) (#117322)
* [Visualize] fixes share inactive button when navigating from a dashboard to a by ref vz

* Add unit test

* Remove the hardcoded 'dashboards'

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

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-11-03 16:23:47 +00:00
Kibana Machine
a0e1c46051
APM RUM integration - number of resources loaded from network (#116923) (#117314)
* add a label with the number of resources actually loaded from network

* code review

* @v code review + tests

* minor review fixes

* update jest

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

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-11-03 15:46:52 +00:00
Jean-Louis Leysens
ba7667ebbf
[Share] The redirect app path should not appear in the browser history (#117155) (#117309)
* the redirect app path should not appear in the browser history

* updated jest test to also expect replace

* added comment

* update jest test
2021-11-03 15:32:36 +00:00
Kibana Machine
3a739875ac
[charts] Fix multilayer time axis styles (#116749) (#117296)
This commit fixes a set of issues to the new multilayer time axis:
- the tickLine is now removed from ticks without a label
- the axis/tick/label style is restored to the original EUI one
- the multilayer time axis style is now moved into the charts plugin and reused
- Lens: use the single-layer time axis when bars cluster is used
- TSVB: I reduced a bit the number of ticks on the Y axis, to reduce the noise of gridlines with multilayer axis
- Discover: I reduced by 8px the height of the histogram and moved the top padding to the bottom to separate a bit the time range text and the time axis

Coming from @elastic/charts update:
- multilayer time axis tick/grid is shown only when tick is inside domain (this removes the black vertical axis line at the beginning of the chart) fix(xy): show mouse cursors on charts with opaque background elastic-charts#1447
- Fix the invisible cursor on charts with opaque backgrounds fix(xy): multilayer time axis tick/grid only when tick is inside domain elastic-charts#1446
- Add missing last tick and rarify gridlines fix(xy): adding missing last tick and other tick improvements elastic-charts#1448

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-11-03 14:38:06 +00:00
Kibana Machine
b340560175
[TSVB] Fix cannot override the timerange mode on the override index pattern series settings (#116955) (#117271)
Closes: #116745

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

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-11-03 12:06:44 +00:00
Kibana Machine
d0194b79e6
[Discover] Fix Data grid columns movement (#115279) (#117265)
* [Discover] fix data grid columns movement

* [Discover] apply suggestion

* [Discover] fix linting

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-11-03 10:40:40 +00:00
Andrea Del Rio
847aff2bbc
[Design] Swap button styles in header and KQL search bar (#117062) (#117240) 2021-11-02 23:30:22 +00:00
Kibana Machine
cd5e7998a7
Update Workplace Search integration categories (#117036) (#117202)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
2021-11-02 20:05:02 +00:00
Kibana Machine
75fb14d849
[TSVB] [Timelion] Brushing is broken for the string mode (#117106) (#117144)
Closes: #116734

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-11-02 17:48:22 +00:00
Kibana Machine
f97ade20c5
[8.0] [Fleet] cypress setup (#113106) (#117138)
* [Fleet] cypress setup (#113106)

* added cypress setup for fleet

* updated readme

* fixed types

* fix unused

* starting up fleet server in cypress

* added more fleet tests

* added package update test

* updated readme

* trying jenkins run

* trying jenkins run

* trying jenkins run

* fix types, cypress config

* example of mocked requests

* added getBySel

* fix test after refactor

* removed duplication

* fix tests

* added to buildkite

* updated tests

* starting agent with docker

* trying to fix ip address

* ifconfig

* ip address

* ip address

* ip address

* type fix

* remove extra logging

* fixed test

* fix buildkite

* cleanup

* cleanup

* using docker for fleet_server

* fix

* fix

* trying to fix

* update config

* test

* test

* test

* test

* revert changes

* test

* test

* static ip on linux

* docker version

* try again

* fixed review comments

* fixed types

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

* using 8.0.0 docker image for backport

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Julia Bardi <julia.bardi@elastic.co>
2021-11-02 17:40:17 +00:00
Kibana Machine
850dcc7212
[Global Nav] Moved Overview page/link to the accordion/Solution title (#114018) (#117137)
* [Global Nav] Moved Overview page/link to the accordion/Solution title
* Using Cloud logo for deployment link and fixing isActive state
* Change Deployment section to dark background
* Completely remove locking ability
* Change buttonElement if overview page exists
* Snaps from button/div
* PR Feedback:
  - Puts `Overview` links back for Observability and Security
  - Increases hit area and scopes underline of anchor tag within the accordion header
  - Uses `id`’s to find Overview pages instead of `title` text

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-11-02 16:13:45 +00:00
Kibana Machine
7f6a5fcd6d
Fix sample data for share-capable objects (#116378) (#117108)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-11-02 13:55:42 +00:00
Kibana Machine
4139f1a0dc
fix relative urls in external url service (#116404) (#117100)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-11-02 12:57:03 +00:00
Kibana Machine
9aa4cbf0a1
[Visualize] Fixes the deprecation message of the colorMapping setting (#116921) (#117089)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-11-02 12:24:27 +00:00
Kibana Machine
bc8128b6cb
[Timelion] Fixes the deprecation message (#116910) (#117090)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-11-02 12:19:37 +00:00
Kibana Machine
b979f40042
Reply with 503 to unknown API requests at the preboot stage. (#116593) (#117069)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2021-11-02 10:23:28 +00:00
Kibana Machine
0980e431b6
docs: update links to apm docs (#116529) (#117051)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2021-11-02 00:51:14 +00:00
Kibana Machine
fdb83b860a
Don't show telemetry opt-in/out notice when it has been disabled via yml config. (#116867) (#117039)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-11-01 23:36:35 +00:00
Kibana Machine
e414cb6b57
Upgrade to EUI v40.1.0 (#116692) (#117037)
* Upgrade EUI to v40.1.0

* [Discover] Remove temp fix + update snapshot

* Fix deprecated `popperPlacement` prop

* Update test snapshots with table cell change

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

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-11-01 23:34:53 +00:00
Kibana Machine
bbca0e1544
Remove unused isNewInstance code (#116747) (#116938)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-11-01 21:40:55 +00:00
Kibana Machine
4359e708b0
[8.0] Revert "[Canvas] By-Value Embeddables (#113827)" (#116527) (#116539)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
2021-11-01 14:17:15 -06:00
Kibana Machine
9ea57f61b1
[Reporting] Remove banner from reports (#116147) (#116965)
* remove banner from reports

* added types file

* updated types references and imports

* added screenshot mode public mock

* added jest tests for when screenshot mode is enabled

* Update x-pack/plugins/banners/public/plugin.test.tsx

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* Update x-pack/plugins/banners/public/plugin.test.tsx

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

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

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
2021-11-01 18:14:58 +00:00
Kibana Machine
dc8d64917a
[Canvas] Fixes Reveal Image background is not contained. (#116403) (#116623)
* Fixed the problem with `backgroundSize` and `backgroundRepeat`.

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-11-01 18:12:02 +00:00
Kibana Machine
1d79ea46cd
[Fleet] Add missing documentation link on integrations page (#116453) (#116600)
* add missing doc link

* node scripts/check_published_api_changes.js --accept

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-11-01 14:43:11 +00:00
Spencer
fa264aa7b6
remove all references to v7 theme (#113570) (#116824)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/presentation_util/public/components/solution_toolbar/items/quick_group.scss

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-01 02:27:29 +00:00
Kibana Machine
1bbf57c8f4
[Dev Tools] Design fixes for theme v8 (#116236) (#116887)
* Fixed icon buttons in Console
* Quick cleanup of tabs and panels

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-10-31 01:04:53 +00:00
Andrea Del Rio
7f472f4dbc
[Controls] Post integration design cleanup (#116511) (#116857) 2021-10-30 01:22:49 +01:00
Kibana Machine
3911490502
[saved objects] Strip version qualifier in SO service to fix unknown type deprecations. (#116480) (#116858)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-10-30 01:13:19 +01:00
Tyler Smalley
69cb2d3e2c
Updates Github link references from master to main (#116789) (#116791)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	.github/ISSUE_TEMPLATE/v8_breaking_change.md
#	.github/PULL_REQUEST_TEMPLATE.md
2021-10-29 10:07:44 -07:00
Lisa Cawley
2424ff2879
Reverts client URLs in doc link service (#116712) 2021-10-28 15:29:57 -07:00
Lisa Cawley
05367cbea4
Fixes client URLs in doc link service (#116525) 2021-10-28 12:07:37 -07:00
Nick Partridge
6b4d9dd1a9
[Charts] Multi-layer time axis (#115853)
This commit introduces the multi-layer time axis in Discover, Lens, Visualize, TSVB.
It adds visualization:useLegacyTimeAxis advanced settings under charts plugin to toggle legacy time axis.

The new multi-layer time axis is introduced in @elastic/charts https://elastic.github.io/elastic-charts/?path=/story/area-chart--timeslip and was demoed as part of the Kibana Demo Days.

It is the outcome of the research done in elastic/elastic-charts#1310 related to improving the time axis solving the following problems:
- sparse time labels that can be far apart
- unclear where time point is on the label (the middle)
- difficult / tedious to read due to redundant information and small fonts
- resolution is not explicit (is it hours of days or days themselves)
2021-10-27 19:22:35 +02:00
Rudolf Meijering
e0fe09607f
Unskip migrations actions integration tests (#116285) 2021-10-27 19:11:08 +02:00
Shahzad
98231f45ac
[Uptime] Uptime index config using kibana.yml (#115775)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-27 10:15:21 +02:00
Devon Thomson
0b2dcdf408
[Controls] Dashboard Integration (#115991)
Create filters when controls change. Integrated controls on dashboard behind lab
2021-10-27 03:55:55 -04:00
Catherine Liu
bacd7f91dd
[Canvas] By-Value Embeddables (#113827)
* [Canvas] Generic embeddable function (#104499)

* Created generic embeddable function

    Fixed telemetry

    Updates expression on input change

    Fixed ts errors

Store embeddable input to expression

Added lib functions

Added comments

Fixed type errors

Fixed ts errors

Clean up

Removed extraneous import

Added context type to embeddable function def

Fix import

Update encode/decode fns

Moved embeddable data url lib file

Added embeddable test

Updated comment

* Fix reference extract/inject in embeddable fn

* Simplify embeddable toExpression

* Moved labsService to flyout.tsx

* Added comment

* [Canvas] Adds Save and Return Workflow (#111411)

* [Canvas] Adds editor menu to Canvas (#113194)

* Merge existing embeddable input with incoming embeddable input (#116026)

* [Canvas] Extract and inject references for by-value embeddables (#115124)

* Extract/inject references for by-value embeddables in embeddable function

Fixed server interpreter setup

Register external functions in canvas_plugin_src plugin def

* Fixed ref name in embeddable.inject

* Fixed ts errors

* Fix missing type error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-26 17:25:06 -07:00
Caroline Horn
5666bd79fd
[Integrations] Added link in old Add Data description and fixed alignment in cards (#116213) 2021-10-26 19:46:51 -04:00
Lukas Olson
eb74b86ca4
[data.search.session] Use locators instead of URL generators (#115681)
* [data.search.session] Use locators instead of URL generators

* Add migration

* Fix/update tests

* Fix types

* Fix test setup

* Update docs

* Fix version :)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-26 12:30:11 -07:00
Thom Heymann
99d07acfce
Interactive setup functional tests (#115274) 2021-10-26 19:03:00 +01:00