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

[Visualizations] Adds dimensionName in datatable meta info #107265

Merged
merged 12 commits into from
Aug 3, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Jul 30, 2021

Summary

Follup PR of #106514

Adds dimensionName in datatable meta information for the rest legacy visualizations (it has only been implemented for pie chart).

Checklist

Delete any items that are not applicable to this PR.

@stratoula stratoula added Feature:Vislib Vislib chart implementation release_note:skip Skip the PR/issue when compiling release notes v7.15.0 v8.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jul 30, 2021
@stratoula stratoula marked this pull request as ready for review July 30, 2021 12:02
@stratoula stratoula requested a review from a team July 30, 2021 12:02
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@stratoula stratoula requested a review from ppisljar July 30, 2021 12:02
@stratoula stratoula added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) and removed Feature:Vislib Vislib chart implementation labels Jul 30, 2021
Comment on lines +20 to +38
export interface DateHistogramParams {
date: boolean;
interval: number;
intervalESValue: number;
intervalESUnit: string;
format: string;
bounds?: {
min: string | number;
max: string | number;
};
}

export interface HistogramParams {
interval: number;
}

export interface FakeParams {
defaultValue: string;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a duplicate of the vis_type_xy/public/types content?

In case can we rely on these only without duplication? If you reexport these from the param.ts file the impact on other files should be minimal.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot them, thanx. I moved them to the visualizations plugin, otherwise we will have circular dependencies

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
visTypeXy 100 99 -1
visualizations 106 107 +1
total -0

Async chunks

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

id before after diff
visTypeTable 102.7KB 103.4KB +710.0B

Page load bundle

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

id before after diff
visTypeMetric 21.6KB 22.0KB +441.0B
visTypeTagcloud 14.5KB 14.8KB +339.0B
visTypeXy 63.5KB 62.1KB -1.4KB
visualizations 57.9KB 59.5KB +1.7KB
total +1.1KB
Unknown metric groups

API count

id before after diff
visualizations 257 270 +13

API count missing comments

id before after diff
visualizations 239 252 +13

Non-exported public API item count

id before after diff
visualizations 12 15 +3

History

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

Copy link
Contributor

@dej611 dej611 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review only. LGTM 👍

@stratoula stratoula merged commit 4d3aed5 into elastic:master Aug 3, 2021
stratoula added a commit to stratoula/kibana that referenced this pull request Aug 3, 2021
…07265)

* [Visualizations] Adds dimensionName in datatable meta info

* Delete unused file

* fix i18n

* Another fix of i18n

* Fix translations

* Remove double types

* Fix types

* Another type fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
stratoula added a commit that referenced this pull request Aug 3, 2021
…107501)

* [Visualizations] Adds dimensionName in datatable meta info

* Delete unused file

* fix i18n

* Another fix of i18n

* Fix translations

* Remove double types

* Fix types

* Another type fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
streamich pushed a commit to vadimkibana/kibana that referenced this pull request Aug 8, 2021
…07265)

* [Visualizations] Adds dimensionName in datatable meta info

* Delete unused file

* fix i18n

* Another fix of i18n

* Fix translations

* Remove double types

* Fix types

* Another type fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants