-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Timelion, Vega, TSVB] Migrate to dataViews service #128127
Conversation
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
Unknown metric groupsReferences to deprecated APIs
History
To update your PR or re-run it, just comment with: |
@@ -6,12 +6,13 @@ | |||
* Side Public License, v 1. | |||
*/ | |||
|
|||
import type { IndexPatternsContract, ISearchStart } from 'src/plugins/data/public'; | |||
import type { ISearchStart } from 'src/plugins/data/public'; | |||
import type { DataViewsContract } from 'src/plugins/data_views/public'; | |||
import type { ChartsPluginStart } from 'src/plugins/charts/public'; | |||
import { createGetterSetter } from '../../../../kibana_utils/public'; | |||
|
|||
export const [getIndexPatterns, setIndexPatterns] = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope we'll address these namings at some point too, but I understand it would be hard to manage in one PR 👌🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is not the scope of this PR :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Chrome by running the app and changing data views settings. LGTM 👌🏼
Summary
Part of #124086
This PR is handling Timelion, Vega and TSVB. I have updated the dataviews relates types and methods to use the ones from the data_views plugin.
Checklist