Commit graph

19489 commits

Author SHA1 Message Date
Lisa Cawley
5911917166
[8.0] [DOCS] Fix broken Canvas link (#203852) (#203873)
# Backport

This will backport the following commits from `8.8` to `8.0`:
- [[DOCS] Fix broken Canvas link
(#203852)](https://github.com/elastic/kibana/pull/203852)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-12-11T17:31:43Z","message":"[DOCS]
Fix broken Canvas link
(#203852)","sha":"2d411eab42f0138ed748d39141325007eeabe069","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Team:Presentation","Feature:ExpressionLanguage","loe:small","release_note:skip","impact:low","docs","Feature:Canvas","v7.11.3","v7.12.2","v7.13.5","v7.14.3","skip-ci","v7.15.3","v7.16.4","v8.0.2","v8.1.4","v8.2.4","v8.3.4","v8.4.4","v8.5.4","v8.6.3","v8.7.2","backport:version","v7.17.27"],"number":203852,"url":"https://github.com/elastic/kibana/pull/203852","mergeCommit":{"message":"[DOCS]
Fix broken Canvas link
(#203852)","sha":"2d411eab42f0138ed748d39141325007eeabe069"}},"sourceBranch":"8.8","suggestedTargetBranches":["7.11","7.12","7.13","7.14","7.15","7.16","8.0","8.1","8.2","8.3","8.4","8.5","8.6","8.7","7.17"],"targetPullRequestStates":[{"branch":"7.11","label":"v7.11.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.12","label":"v7.12.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.13","label":"v7.13.5","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.14","label":"v7.14.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.15","label":"v7.15.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.16","label":"v7.16.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.0","label":"v8.0.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.1","label":"v8.1.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.2","label":"v8.2.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.3","label":"v8.3.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.4","label":"v8.4.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.27","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-11 13:11:24 -07:00
István Zoltán Szabó
76eb2404a0
[8.0] Removes perlGuide from doc link service (#148880)
# Backport

This will backport the following commits from `main` to `8.0`:
- [Removes perlGuide from doc link service
(#148803)](https://github.com/elastic/kibana/pull/148803)
2023-01-13 13:19:14 +00:00
Matthew Kime
485e9689b7
[data view mgmt] fix privileges problem for field preview (#127523) (#127541)
* fix privledges problem for field preview

* fix test

(cherry picked from commit fb11d2d8fe)

# Conflicts:
#	src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.test.ts
#	src/plugins/data_view_field_editor/public/components/preview/field_preview_context.tsx
2022-03-11 09:28:33 -07:00
Devon Thomson
c60b9267df
Use debounce instead of async url update to remove app state from URL (#127083) (#127160)
(cherry picked from commit ed4c19c692)
2022-03-08 10:33:11 -07:00
Kibana Machine
2e217725ac
fix data view load err msg (#126974) (#127022)
(cherry picked from commit 0807b53d75)

Co-authored-by: Matthew Kime <matt@mattki.me>
2022-03-07 07:53:46 -07:00
Lisa Cawley
4f52c18c41
Edits dateFormat settings (#126858) (#126965)
(cherry picked from commit 5f8f4d7c4f)
2022-03-04 15:48:10 -07:00
Kibana Machine
8618cb1414
[Dashboard] Close toolbar popover for log stream visualizations (#126840) (#126958)
* Fix close popover on click

* Fix close popover on click - second attempt

* Add functional test to ensure menu closes

(cherry picked from commit f974150c7b)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-03-04 15:17:44 -07:00
Kibana Machine
20030a3510
[ToolingLog] remove some manual indent management (#126636) (#126793)
* [ToolingLog] remove some manual indent management

* improve log message

* [dev/build] write the newline after a failed step

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4f2321d34c)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-03 09:46:26 -07:00
Spencer
06110bd973
[bazel] avoid a little boilerplate in packages (#126309) (#126381)
* [bazel] avoid a little boilerplate for @types packages

* [bazel/ts] stop building sourcemaps since they're ignored

(cherry picked from commit 614139b8e5)

# Conflicts:
#	packages/kbn-alerts/tsconfig.json
#	packages/kbn-doc-links/BUILD.bazel
#	packages/kbn-doc-links/tsconfig.json
#	packages/kbn-field-types/BUILD.bazel
#	packages/kbn-interpreter/BUILD.bazel
#	packages/kbn-io-ts-utils/BUILD.bazel
#	packages/kbn-logging-mocks/BUILD.bazel
#	packages/kbn-logging-mocks/tsconfig.json
#	packages/kbn-logging/BUILD.bazel
#	packages/kbn-mapbox-gl/BUILD.bazel
#	packages/kbn-monaco/BUILD.bazel
#	packages/kbn-optimizer/BUILD.bazel
#	packages/kbn-plugin-generator/BUILD.bazel
#	packages/kbn-plugin-helpers/BUILD.bazel
#	packages/kbn-react-field/BUILD.bazel
#	packages/kbn-react-field/tsconfig.json
#	packages/kbn-rule-data-utils/BUILD.bazel
#	packages/kbn-securitysolution-autocomplete/BUILD.bazel
#	packages/kbn-securitysolution-es-utils/BUILD.bazel
#	packages/kbn-securitysolution-hook-utils/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-alerting-types/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-list-types/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-types/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-utils/BUILD.bazel
#	packages/kbn-securitysolution-list-api/BUILD.bazel
#	packages/kbn-securitysolution-list-constants/BUILD.bazel
#	packages/kbn-securitysolution-list-hooks/BUILD.bazel
#	packages/kbn-securitysolution-list-utils/BUILD.bazel
#	packages/kbn-securitysolution-rules/BUILD.bazel
#	packages/kbn-securitysolution-t-grid/BUILD.bazel
#	packages/kbn-securitysolution-utils/BUILD.bazel
#	packages/kbn-server-http-tools/BUILD.bazel
#	packages/kbn-server-route-repository/BUILD.bazel
#	packages/kbn-std/BUILD.bazel
#	packages/kbn-storybook/BUILD.bazel
#	packages/kbn-telemetry-tools/BUILD.bazel
#	packages/kbn-test-jest-helpers/BUILD.bazel
#	packages/kbn-test-jest-helpers/tsconfig.json
#	packages/kbn-test/BUILD.bazel
#	packages/kbn-typed-react-router-config/BUILD.bazel
#	packages/kbn-ui-shared-deps-npm/BUILD.bazel
#	packages/kbn-ui-shared-deps-src/BUILD.bazel
#	packages/kbn-ui-theme/BUILD.bazel
#	packages/kbn-ui-theme/tsconfig.json
#	packages/kbn-utility-types/BUILD.bazel
#	packages/kbn-utils/BUILD.bazel
2022-02-24 14:06:13 -07:00
Nick Partridge
7ce80f4c7f
Restores default chart timezone to 'local' (#123265)
* fix timezone changes

* fix failing checks and type errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-23 21:08:16 +01:00
Kibana Machine
3cf5d6df21
[jest] add *_node presets (#126192) (#126261)
(cherry picked from commit 1a1a191eb7)

Co-authored-by: Spencer <spencer@elastic.co>
2022-02-23 10:09:19 -07:00
Kibana Machine
1534facc0a
Stop using aborted event for KibanaRequest.events.aborted$ (#126184) (#126249)
* Stop using `aborted` event for `KibanaRequest.events.aborted$`

* add another test, just in case

* use a single `fromEvent`

* add replay effect to aborted$

* improve impl

* remove useless bottom-stream replay

* yup, that's simpler

(cherry picked from commit d053a7f026)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-02-23 09:03:32 -07:00
Kibana Machine
9107a6d117
[Dashboard] Fix time range and filter state comparisons for dashboard-to-dashboard drilldowns (#124278) (#126175)
* Remove deprecated references.

* Add timeRange to DashboardState and timeRestore to DashboardContainerInput

* Ignore filters.$state during dashboard diff

* Undo remove deprecated references.

* Conditionally exclude filter state from comparison

* Inject filter.$state for context filters

* Trigger apply filters

* Add save to functional tests

* Remove unused variable

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6f1a963d1d)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-02-22 12:01:59 -07:00
Kibana Machine
704dcafc5c
Toast notifications: ignore undefined options (#126120) (#126135)
* Toast notifications: ignore undefined options

* just use omitBy

(cherry picked from commit 2cabe1a68f)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-02-22 05:03:19 -07:00
Kibana Machine
78b17c4280
[8.0] [data views] Improve preview pane (#126013) (#126098)
* [data views] Improve preview pane (#126013)

* fix preview pane

* fix preview pane

* one less span tag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 7dbe341c78)

* fix test

Co-authored-by: Matthew Kime <matt@mattki.me>
2022-02-21 14:27:22 -07:00
Jonathan Budzenski
b330ed845c
[ci] Verify docker contexts (#122897) (#126023)
* [ci] Verify docker contexts

* bootstrap

* debug

* mkdir target

* change subdomain if snapshot

* move to separate pipeline

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-18 13:44:47 -07:00
Kibana Machine
1fd2f21b17
ExecutionContext: encode all context fields when converting to header (#125783) (#125925)
* ExecutionContext: encode all context fields when converting to header value

* switch back to using the vis type name instead of title for the execution context name

* adapt FTR tests

* fix server-side tests too

(cherry picked from commit d047765c8b)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-02-17 07:14:45 -07:00
Kibana Machine
66071975ce
DeprecationService: add timeout when resolving deprecations (#125769) (#125902)
(cherry picked from commit 24ea50eeb8)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-02-17 01:19:43 -07:00
Hannah Mudge
a1a5b914fb
[8.0] [Dashboard] Transfer state when drilldown is opened in a new tab (#124770) (#125740)
* [Dashboard] Transfer state when drilldown is opened in a new tab (#124770)

* Translate dashboard state to URL conditionally

* Add functional tests

* Fix typo in functional test descriptions

* Remove deprecated references

* Rename useUrl to be more specific

(cherry picked from commit 17a997cccb)

# Conflicts:
#	src/plugins/dashboard/public/index.ts

* Fix lint
2022-02-16 11:06:23 -07:00
Stratoula Kalafateli
dcf4833bb2
[TSVB] Formatting in the left axis is not respected when I have two separate axis (#123903) (#125779)
Closes: #123891
(cherry picked from commit 2c900c65ba)

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2022-02-16 07:31:09 -07:00
Stratoula Kalafateli
f1a4f218fc
[TSVB] Hides ticks on the y axis for layers with the same format and different template (#123598) (#125515)
* [TSVB] Hides ticks on the y axis for layers with the same format and different template

* fix PR comment

* fix JEST

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 61ef26d511)

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-16 15:02:47 +02:00
Liza Katz
38c6c85855
[8.0] Reverse parent child context relationship (#125486) (#125670)
* Reverse parent child context relationship (#125486)

* reverse parent child context relationship

* bad merge

* ts

* ts

* fix jest

* try unblocking flaky test

* doc

(cherry picked from commit 724e3b2ebf)

# Conflicts:
#	docs/user/troubleshooting/trace-query.asciidoc
#	src/plugins/discover/public/embeddable/saved_search_embeddable.tsx
#	src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx
#	x-pack/plugins/lens/public/embeddable/embeddable.tsx

* backport fixes

* ts

* skip

* es
2022-02-16 04:14:52 -07:00
Kibana Machine
93413ee112
Revert "[build] Include x-pack example plugins when using example-plugins flag (#120697)" (#125729) (#125733)
This reverts commit 3a4c6030b9.

(cherry picked from commit 7b4c34e418)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-02-15 17:10:59 -07:00
Quynh Nguyen
3e0003b496
[8.0][Discover] Only fetch field statistics for available fields (#125385)
* Resolve conflicts

* Revert unrelated ml change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-15 10:25:38 -07:00
Kibana Machine
e85b4f22ab
SavedObjects management: change index patterns labels to data views (#125356) (#125606)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ff5a4dce9d)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-02-15 01:29:46 -07:00
Kibana Machine
87895d8ff8
[ci] Splits Jest integration tests (#125454) (#125532)
(cherry picked from commit 435b772786)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-02-14 10:44:18 -07:00
Kibana Machine
466ad82d4d
Add origin conflict checks when resolving import errors (#125241) (#125435)
(cherry picked from commit 5629decd9e)

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-02-11 13:41:48 -07:00
Joe Reuter
95ffb91fd6
[8.0] [TSVB] Fix shard failures are not reported (#123474) (#125046)
* [TSVB] Fix shard failures are not reported (#123474)

* [TSVB] Fix shard failures are not reported #122944

Closes: #122944

* fix PR comments

* Update ui_settings.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 7e1b780672)

# Conflicts:
#	src/plugins/vis_types/timeseries/kibana.json
#	src/plugins/vis_types/timeseries/public/metrics_type.ts

* fix

* fix telemetry

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-11 06:33:46 -07:00
Kibana Machine
b2c4f039c1
remove tabify performance issue (#124931) (#125045)
(cherry picked from commit ecff412e22)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-11 06:32:42 -07:00
Kibana Machine
889f52e096
Disabled import button while no file is attached (#125180) (#125283)
(cherry picked from commit ea9255342e)

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-02-10 12:17:16 -07:00
Devon Thomson
d559f076ae
move awaitingRemoval control variable (#124913) (#125029)
(cherry picked from commit 16292de730)
2022-02-08 16:47:18 -07:00
Kibana Machine
869749a0eb
Refactor saved query request to not set page size of 10000 (#124187) (#124901)
* Update saved query service to fix expensive query

* Fix types

(cherry picked from commit a8aa3bfbd7)

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2022-02-07 17:12:10 -07:00
Christiane (Tina) Heiligers
af850953fc
Appends the saved objects documents count to the CoreUsageData service (#124308) (#124562)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ad7c8de75a)

# Conflicts:
#	docs/development/core/server/kibana-plugin-core-server.md
#	docs/development/core/server/kibana-plugin-core-server.mergesavedobjectmigrationmaps.md
2022-02-03 12:11:29 -07:00
Jean-Louis Leysens
1fd8c41aea
[Docs] Add missing reporting config (#123917) (#124270)
* added docs for `xpack.reporting.csv.escapeFormulaValues` config and `xpack.reporting.csv.useByteOrderMarkEncoding`, and some minor auto-formatting

* some more auto-formatting changes

* addded some documentation to CSV escape function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 54895a2ef8)
2022-02-01 11:03:33 -07:00
Alison Goryachev
942426de4c
[Upgrade Assistant] Update upgrade guide doc links (#123953) (#124029) (#124128)
(cherry picked from commit 821f0710a6)
2022-01-31 09:20:33 -07:00
Alison Goryachev
7a47b79c57
[Upgrade Assistant] Update copy around system indices (#123946) (#124032) (#124129)
(cherry picked from commit 58d54b2ad4)
2022-01-31 09:20:04 -07:00
Tyler Smalley
4acb55ecce
[8.0] Resolves errors preventing ES snapshot promotion (#123649) (#123855) 2022-01-27 00:06:41 -07:00
James Rodewig
1cbe4ff369
[DOCS] Update repository setting links (#123415) (#123881)
Updates the Kibana link service for changes related to https://github.com/elastic/elasticsearch/pull/82826.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
(cherry picked from commit f77355b665)
2022-01-26 18:46:22 -05:00
Kibana Machine
919c0d09e6
XY Fix percentile with decimals (#123709) (#123807)
(cherry picked from commit 03c8d08026)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-01-26 05:50:28 -07:00
Rudolf Meijering
9e8722039e
Log deprecations originating from Kibana on debug level (#123660) (#123799)
* Log deprecations originating from Kibana on debug level

* Surface debug level deprecation logs on CI

* Review feedback

(cherry picked from commit c64c766444)
2022-01-26 04:48:29 -07:00
Kibana Machine
7a14a0f4a2
Remove support for console.ssl setting. (#123754) (#123780)
(cherry picked from commit 49d0f2eafc)

Co-authored-by: CJ Cenizal <cj@cenizal.com>
2022-01-25 21:29:00 -07:00
James Rodewig
457044356c
Azure, GCS, and AWS snapshot repos no longer require plugins (#123387) (#123768)
With https://github.com/elastic/elasticsearch/pull/81870, the Azure, GCS, and AWS snapshot repository types have built-in support in Elasticsearch and no longer require plugins in 8.0+. This PR updates step one of the **Register Repository** wizard to:

- Include Azure, GCS, and AWS as default repository types
- Tweak UI copy and links referring to repository plugins.

Co-authored-by: Yulia Čech <6585477+yuliacech@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 1e576042df)

# Conflicts:
#	x-pack/plugins/snapshot_restore/server/routes/api/repositories.test.ts
2022-01-25 16:35:46 -07:00
Kibana Machine
0582c81401
Validate server UUID retrieved from data/uuid using the same match from config validation (#123680) (#123733)
Exports the uuid regexp used in to validate configuration for use in validating the data/uuid file. Also includes a `trim()` to allow newlines that could have been edited automatically via file editing or configuration management.

(cherry picked from commit f021f75aea)

Co-authored-by: Mat Schaffer <mat@elastic.co>
2022-01-25 10:25:55 -07:00
Sébastien Loix
42507b9ea0
[Form lib] Fix validation type execution when none is specified (#123363) (#123730) 2022-01-25 10:22:36 -07:00
Kibana Machine
e2548a5907
fix parseAppUrl logic to handle app ids including other app ids (#123594) (#123697)
(cherry picked from commit 531f545c15)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-01-25 05:23:56 -07:00
Tyler Smalley
73708fda30
Support for superuser not having write access (#123337) (#123639)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 23739f5f4d)

# Conflicts:
#	src/core/server/saved_objects/migrations/integration_tests/batch_size_bytes_exceeds_es_content_length.test.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-24 14:34:08 -07:00
Shahzad
727cf5c6a2
[8.0] [Exploratory view] Update index pattern permission error (#122680) (#123589)
* [Exploratory view] Update index pattern permission error (#122680)

(cherry picked from commit 5ad36d2a93)

* fix typo

* fix type
2022-01-24 05:50:22 -07:00
Kibana Machine
0bec1f8e9e
Update more ML URLs in doc link service (#123432) (#123488)
(cherry picked from commit 8b2c40bcb5)

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-01-20 11:29:02 -07:00
Kibana Machine
5407543a57
[Dashboard] Clone ReferenceOrValueEmbeddables by value. (#122199) (#123473)
* Clone all panels by value.

* Moved removal of byReference properties to getInputAsValueType.

* Fixed handling of clone titles.

* Fixed functional and unit clone tests.

* Removed duplicate check for byReference.

* Unset title on Visualize embeddable when by value.

* Remove unused import.

* Added by reference logic for saved search embeddables.

* Re-added unit tests for cloning by reference.

* Added functional tests.

* Added Jest unit tests.

* Ignored TypeScript errors for calling private functions in Jest tests.

* Adjusted logic for generating clone titles.

* Edited unit and functional tests for clone titles.

* Fixed typo in Jest tests.

* Keep hidden panel title status.

* Fix Jest test description.

* Remove unused import.

* Fixed Jest tests after new title logic.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b1d7731afa)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-01-20 10:01:11 -07:00
Kibana Machine
5b0871891f
[Discover] Fix unmapped field document explorer rendering (#123174) (#123437)
(cherry picked from commit 5238ba835a)

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-01-20 02:26:12 -07:00