kibana/x-pack/plugins/observability
Nathan L Smith 2a77307af1
[APM] Use core.chrome to set window title (#73232)
I noticed there's a `core.chrome.docTitle.change` method. It can take a string or array of strings and provides its own separator character if given an array.

Replace our setting of `window.document.title` directly in the APM and Observability plugins with using the chrome method.

This changes the title to be, for example, "トランザクション - opbeans-node - サービス - APM - Elastic" instead of "トランザクション | opbeans-node | サービス | APM | Elastic", using " - " as a separator instead of " | ".
2020-07-27 09:22:37 -05:00
..
common [APM] Annotations API (#64796) 2020-05-05 19:49:39 +02:00
public [APM] Use core.chrome to set window title (#73232) 2020-07-27 09:22:37 -05:00
scripts Observability overview page (#69141) 2020-07-08 21:52:16 +02:00
server Move and rename legacy elasticsearch client (#69797) 2020-06-29 17:43:31 +02:00
typings [Observability] Create context container to enable Observability plugin registry function (#68642) 2020-06-15 08:46:36 +02:00
jest.config.js Add Jest configuration and README to observability plugin (#70340) 2020-06-30 14:03:05 -05:00
kibana.json [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) 2020-07-09 18:43:17 -07:00
README.md Add Jest configuration and README to observability plugin (#70340) 2020-06-30 14:03:05 -05:00

Observability plugin

This plugin provides shared components and services for use across observability solutions, as well as the observability landing page UI.

Unit testing

Note: Run the following commands from kibana/x-pack/plugins/observability.

Run unit tests

npx jest --watch

Update snapshots

npx jest --updateSnapshot

Coverage

HTML coverage report can be found in target/coverage/jest after tests have run.

open target/coverage/jest/index.html