Skip to content

title BWC fix for 7.16#129412

Closed
ThomThomson wants to merge 481 commits intoelastic:7.16from
ThomThomson:dashboard/fixTitleBWC7x
Closed

title BWC fix for 7.16#129412
ThomThomson wants to merge 481 commits intoelastic:7.16from
ThomThomson:dashboard/fixTitleBWC7x

Conversation

@ThomThomson
Copy link
Copy Markdown
Contributor

Summary

Opening a new manual backport for #95355 due to the fact that the main branch has changed to main in Kibana since that PR was merged.

jbudz and others added 30 commits January 27, 2022 14:13
…lastic#123961)

Testing against 8.0 requires system index write access introduced in
elastic#123337.  This adds a temporary
skip while the backport is in progress.
…lastic#123980)

(cherry picked from commit 159825a)

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
…ization tests (elastic#123899) (elastic#123931)

This PR stabilizes the date nanos job and categorization job tests for cloud execution by reducing the job run time.

(cherry picked from commit 4f1d97a)

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
…sponse (elastic#123939)

This PR fixes the jobs_summary API tests for the `7.latest ES 8.1 forward compatibility` scenario by making it only check expected fields in the response body and ignore additional fields that are coming from the newer ES version.
* Fixes missing border in kql bar in Firefox

* remove extra line
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 860a207)

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
… data view in analyzer (elastic#122859) (elastic#124002)

* chore: add message about missing index in data view

* fix: typo

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

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
(cherry picked from commit bc74ed2)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
…astic#124158)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
…lastic#123285) (elastic#124177)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx
#	x-pack/plugins/infra/public/alerting/inventory/components/expression_chart.tsx
#	x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx
#	x-pack/plugins/infra/public/alerting/inventory/index.ts
#	x-pack/plugins/infra/public/alerting/metric_anomaly/components/expression.tsx
#	x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx
#	x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx
#	x-pack/plugins/infra/public/alerting/metric_threshold/index.ts
#	x-pack/plugins/infra/public/plugin.ts
#	x-pack/plugins/infra/server/features.ts
#	x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts
#	x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts
#	x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_anomaly/metric_anomaly_executor.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_alert.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts
#	x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_alert_type.ts
#	x-pack/test/api_integration/apis/metrics_ui/inventory_threshold_alert.ts
#	x-pack/test/api_integration/apis/metrics_ui/metric_threshold_alert.ts
* Unskip search api tests (elastic#123145)

(cherry picked from commit d84a5df)

# Conflicts:
#	x-pack/test/api_integration/apis/search/search.ts

* Fix backport

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
… URL (elastic#123386) (elastic#124217)

* [maps] fix Unable to load layers from WMS spec for a specific URL

* eslint

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
…24233)

* [Maps] drawing layer documentation (elastic#123373)

* [Maps] drawing layer documentation

* fix formatting

* more formating fixes

* text changes

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* Update docs/maps/import-geospatial-data.asciidoc

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

* review feedback

* Update docs/maps/import-geospatial-data.asciidoc

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

* fix formatting of nested bullet

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

* replace data view with index pattern

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
…124042) (elastic#124055)

(cherry picked from commit a7603dd)

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
… (elastic#123950)

(cherry picked from commit 7dedc88)

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
(cherry picked from commit de9f1d4)

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
…c#121241) (elastic#124293)

* [Dashboard][Embeddable] Create Explicit Diffing System (elastic#121241)

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: nreese <reese.nathan@elastic.co>
(cherry picked from commit 944ccf1)

# Conflicts:
#	src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts
#	x-pack/plugins/maps/server/plugin.ts

* type fix

* replace ecommerce sample map id
…20815) (elastic#124295)

* [Dashboard] Fix blank panel save and display issue. (elastic#120815)

* Added special case to panel comparison.

* Fixed panel title behaviour when linking/unlinking to/from the library.

* Added panel title test suite.

* Made the injection of the 'savedSearchId' key conditional on if it is defined when unlinking.

* Adjusted use of 'setValue()' based on feedback from @dmlemeshko

* Refractor test suite.

* Improved code for removal of title on library link.

(cherry picked from commit b6013d1)

# Conflicts:
#	src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx

* replace lens basic with esarchiver

* remove describe.only

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
(cherry picked from commit 291fa71)

Co-authored-by: stuart nelson <stuartnelson3@gmail.com>
…oxy mode (elastic#124220) (elastic#124493)

* Fix table search for clusters with proxy mode

* commit using @elastic.co

* Fix tests and add docs

* Add tests for different kinds of search

(cherry picked from commit 5e3d0b2)

Co-authored-by: Ignacio Rivas <rivasign@gmail.com>
…astic#124482)

* [Fleet] fixed undefined error when missing policy vars in template

* fix merge conflict resolution
…24476)

Co-authored-by: Peter Pisljar <peter.pisljar@gmail.com>
…lastic#124207)

* [TSVB] Fix shard failures are not reported (elastic#123474)

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

Closes: elastic#122944

* fix PR comments

* Update ui_settings.ts

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

# Conflicts:
#	src/plugins/vis_types/timeseries/common/constants.ts
#	src/plugins/vis_types/timeseries/kibana.json
#	src/plugins/vis_types/timeseries/public/metrics_type.ts
#	src/plugins/vis_types/timeseries/server/ui_settings.ts
#	x-pack/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…c#123981)

* Fix Reporting ILM Tests

* fix discover functional csv tests

* fix generateCsv tests

* fix csv snapshots

* wip ilm

* fix snapshot

* clean up

* fix test

* use super user for unsetting ILM policy...

* make ILM tests work for 7.17 and 7.17/8.0 mixed mode

* move super test without auth

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
elastic#124308) (elastic#124563)

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

# Conflicts:
#	docs/development/core/server/kibana-plugin-core-server.md
#	docs/development/core/server/kibana-plugin-core-server.mergesavedobjectmigrationmaps.md
simianhacker and others added 28 commits March 30, 2022 10:32
…ields API (elastic#118245) (elastic#128941)

* [Rule Registry] Switch to _source for updating documents instead of Fields API

* updating test with _source instead of fields

* removing mapValues dep

* Refactor types and clean up names

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

# Conflicts:
#	x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type.test.ts
elastic#128927)

* Allow nested declaration for `exposeToBrowser` (elastic#128864)

* Allow nested declaration for `exposeToBrowser`

* update generated doc

* add utest

(cherry picked from commit dd0a190)

# Conflicts:
#	src/core/server/plugins/plugins_service.ts
#	src/core/server/server.api.md

* update generated odc
* [DOCS] Adds the 7.17.2 release notes

* Review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…lastic#122474) (elastic#128974)

* [RAC][Rule Registry] Paginate results for fetching existing alerts

* Change to difference to increase performance by 2 seconds for 50K alerts

* Changing the pagination to break up the request into 10K chunks

* Updating NOTICE.txt per CI instructions

* Changing warning message to debug

* Prefix log message with [Rule Registry]

(cherry picked from commit d152ca5)

# Conflicts:
#	x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts
…tic#126497) (elastic#128797)

* [APM] Disable fields when frozen property is set to true (elastic#126497)

* using frozen property to disable fields

* removing isCloud since frozen must be enough

(cherry picked from commit b1f9201)

# Conflicts:
#	x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/index.tsx
#	x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts

* fixing CI

* fixing CI

* adding frozen field
…ic#128977)

(cherry picked from commit e2e63c7)

# Conflicts:
#	x-pack/plugins/monitoring/server/index.ts
* WIP

* [Debug] Drill down

* Possible fix

* Create external function to check type of error

* Improve JSDoc

* Add missing required bundle

* Fix UTs

* Use newly created function everywhere

* Add UTs for the new function
…sions (elastic#126470) (elastic#129033)

* [Discover] fix cloud test for encoded param in context

* [Discover] improve test description wording

* [Discover] apply suggestion

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

# Conflicts:
#	test/functional/config.js
…stic#129042)

* set up renderComplete callbacks from the swim lane embeddable

* set up renderComplete callbacks from the anomaly charts embeddable

* update output

* set attribute

* update jest tests

(cherry picked from commit c2db728)

# Conflicts:
#	x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx
#	x-pack/plugins/ml/public/embeddables/anomaly_charts/use_anomaly_charts_input_resolver.test.ts
#	x-pack/plugins/ml/public/embeddables/anomaly_charts/use_anomaly_charts_input_resolver.ts
#	x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx
…28502) (elastic#129134)

* [maps] clarify how layer filters are applied to term joins

* typo

* clean up

* change to present tense

* fix typo

* Update docs/maps/search.asciidoc

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

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b70b69f)

# Conflicts:
#	package.json
#	yarn.lock
…API (elastic#128906) (elastic#129244)

(cherry picked from commit 96ab9bb)

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
…build (elastic#128803) (elastic#129250)

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

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
* [7.17] [build] Cross compile docker images (elastic#128272)

* [build] Cross compile docker images

* typo

* debug

* Revert "[build] Cross compile docker images"

This reverts commit 621780e.

* revert

* support docker-cross-compile flag

* fix types/tests

* fix more tests

* download cloud dependencies based on cross compile flag

* fix array

* fix more tests

* rm extra file
)

The exclamation mark prefix doesn't have any effect in the `files` list.
You instead need to override the matched path later with a different
rule in order to change the behavior.

(cherry picked from commit 98306f1)

Co-authored-by: Thomas Watson <watson@elastic.co>
…lastic#129004)

* [Watcher] Remove `axios` dependency in tests (elastic#128765)

* wip start refactoring tests

* commit using @elastic.co

* Finish refactoring tests

* Remove unused code

* Add docs

* Address CR changes

(cherry picked from commit 1caaaba)

# Conflicts:
#	x-pack/plugins/watcher/__jest__/client_integration/helpers/index.ts
#	x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_create_json.helpers.ts
#	x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_create_threshold.helpers.ts
#	x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_edit.helpers.ts
#	x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_list.helpers.ts
#	x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_status.helpers.ts
#	x-pack/plugins/watcher/__jest__/client_integration/watch_create_threshold.test.tsx
#	x-pack/plugins/watcher/__jest__/client_integration/watch_edit.test.ts

* Fix test and linter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…lastic#129362)

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
(cherry picked from commit ce83b0a)

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
…) (elastic#129343)

* wip: start refactoring test helpers

* commit using @elastic.co

* Fix more tests

* Finish off refactoring all cits

* Add docs

* Fix linter issues

* Fix ts issues

(cherry picked from commit fa74030)

# Conflicts:
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_add.helpers.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_edit.helpers.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/restore_snapshot.helpers.ts
@ThomThomson ThomThomson added the backport This PR is a backport of another PR label Apr 4, 2022
@ThomThomson ThomThomson closed this Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.