Implement support for the richer style Vega tooltips, per https://github.com/elastic/kibana/issues/17215 request. Uses [Vega tooltip plugin](https://github.com/vega/vega-tooltip) for formatting. Always enabled unless user sets `tooltips=false` flag in the `config.kibana` section of the spec.
![image](https://user-images.githubusercontent.com/1641515/39344487-7abc9eb0-49eb-11e8-89dd-bf562563ae1c.png)
## Test code
```js
{
$schema: https://vega.github.io/schema/vega/v3.json
config: {
kibana: {
tooltips: {
// always center on the mark, not mouse x,y
centerOnMark: true
position: top
padding: 20
}
}
}
data: [
{
name: table
values: [
{
title: This is a long title
fieldA: value of fld1
fld2: 42
}
]
}
]
marks: [
{
from: {data: "table"}
type: rect
encode: {
enter: {
fill: {value: "#060"}
x: {signal: "40"}
y: {signal: "40"}
width: {signal: "40"}
height: {signal: "40"}
tooltip: {signal: "datum || null"}
}
}
}
]
}
```
* update to eui 0.0.44
* keep eui dependency in x-pack
* wrap EuiBasic table column in span to avoid className prop from getting overridden
* remove brittle functional tests that are no longer needed with EUI components
* filter field list instead of chaning table size
* update x-pack snapshots
* convert dashboard listing page to react and EUI
* add jest test for DashboardListing component
* add data-test-subj attributes
* clean up jest test
* hideWriteControls and call to action when no dashboards exist
* pass initial filter to dashboard listing, get functional tests to work
* fix dashboard queries functional tests
* upgraded to EUI 0.0.29 to get defaultFocusedButton fix
* move dashboardListing directive to index
* spacing in if statement
* switch to EuiBasicTable
* pagination
* add sorting
* fix jest test
* handle out of order fetchs
* remove info.gif
* re-instate search functional test
* replace EuiSearchBar with EuiFieldSearch
* fix functional tests
* update snapshot - when code rebased - new EUI version add another prop
* add Edit link to actions column
Turns out there is a significant problem with how Vega library manages its dependencies. Instead of using a fairly common "^1.2.3" form, it used "1" (major only) almost everywhere. While this works fine if node_modules and yarn.lock are deleted and rebuilt, bumping Vega lib's primary version in our package.json and using yarn install would not touch other subcomponents. This resulted in several 6.2 and 6.3 shipping with the outdated vega dependencies while we thought that we included the latest vega versions The problem has been reported vega/vega#1259 and will hopefully be solved with the next version.
In the mean time, this patch updates all vega-related dependencies in the yarn.lock file.
* Flesh out communication layer between embeddables and dashboard
* fix flaky legend colors
* Address code review comments
* Remove embeddableHandlerCache and push render/destroy handling of Embeddable instance into react component
* Fix a bug and adds tests that would have failed
* Whoops, fix toggleExpandPanel, in view mode it's not in the panel options
* Update readme based on newest implementation, after pushing all embeddable lifecycle handling to the embeddable_viewport component
* Push embeddable handling back up to dashboard_panel, get rid of embeddable_viewport
The options menu will eventually need access to the embeddable for
things like pluggable panel actions.
* Update README.md
* Fix jest tests
* Add two failing tests to catch current bugs
* Fix max call size exceeded err
* fix time range bug
* Add failing test for filter field index pattern bug
* Fix bug with index patterns
* Expand on definition of an embeddable
* Address code review comments
* address some code comments
rename personalization => customization
add more optional config overrides into an Embeddable constructor
* Fix refactor bug
This changes the Advanced Node page for Elasticsearch to recognize the
"write" threadpool, while also incorporating the deprecated "index"
threadpool and renamed "bulk" usage (renamed to "write").
This sums the three writing threadpools together and displays it as a
unified view.
* Update tutorial-define-index.asciidoc
Added a note on how to check for current indices in Elasticsearch, to make it clearer for people that haven't used the previous chapters.
* Update tutorial-define-index.asciidoc
- Improve performance by avoiding unnecessary ES-response conversion.
- Prepare the code-internals visualization to use intermediate tabular representation. This sets this up for a possible refactor to use the Canvas data pipeline.
- Do not clone ES-responses when not necessary.
The old backport tool we used, Jasper, would create PRs with .rej files
when it couldn't merge a backport cleanly. That lead to this task which
would skip the tests if .rej files were found. Now we don't use Jasper
and this check takes about 1 minute to run on CI, so we can remove it
and save some time.
* Introduce @kbn/plugin-system
* Throw if plugin exposes a promise from 'start'
* TS updates
* rename
* Better error if missing plugin
* Api to add multiple specs at the same time
* isPromise prettier-ified
* Rename 'plugin' to 'system'
* Metadata + some cleanups
* Make it possible to type system metadata
* Throw if stop is async
* Add tests for System class