Skip to content
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

Merged
merged 5 commits into from
Mar 21, 2022

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Mar 21, 2022

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

@stratoula stratoula changed the title Timelion dataview service [Visualize] Dataviews service Mar 21, 2022
@stratoula stratoula changed the title [Visualize] Dataviews service [Timelion, Vega, TSVB] Dataviews service Mar 21, 2022
@stratoula stratoula added Feature:Timelion Timelion app and visualization Feature:TSVB TSVB (Time Series Visual Builder) Feature:Vega Vega visualizations labels Mar 21, 2022
@stratoula stratoula changed the title [Timelion, Vega, TSVB] Dataviews service [Timelion, Vega, TSVB] Migrate to dataViews service Mar 21, 2022
@stratoula stratoula added technical debt Improvement of the software architecture and operational architecture Team:Visualizations Visualization editors, elastic-charts and infrastructure release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting v8.2.0 labels Mar 21, 2022
@stratoula stratoula mentioned this pull request Mar 21, 2022
5 tasks
@stratoula stratoula marked this pull request as ready for review March 21, 2022 12:07
@stratoula stratoula requested a review from a team as a code owner March 21, 2022 12:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTimeseries 470.3KB 470.1KB -144.0B
visTypeVega 1.7MB 1.7MB -11.0B
total -155.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
visTypeTimelion 9.8KB 9.9KB +123.0B
visTypeTimeseries 16.1KB 16.2KB +103.0B
visTypeVega 33.0KB 33.2KB +128.0B
total +354.0B
Unknown metric groups

References to deprecated APIs

id before after diff
visTypeTimelion 18 0 -18
visTypeTimeseries 427 10 -417
visTypeVega 25 4 -21
total -456

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@@ -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] =
Copy link
Contributor

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 👌🏼

Copy link
Contributor Author

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 :)

Copy link
Contributor

@mbondyra mbondyra left a 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 👌🏼

@stratoula stratoula merged commit 279d3e5 into elastic:main Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Timelion Timelion app and visualization Feature:TSVB TSVB (Time Series Visual Builder) Feature:Vega Vega visualizations release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure technical debt Improvement of the software architecture and operational architecture v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants