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

[Canvas] Register expression_functions in {expression}/public/plugin.ts. #106636

Merged
merged 2 commits into from
Jul 26, 2021

Conversation

Kuznietsov
Copy link
Contributor

@Kuznietsov Kuznietsov commented Jul 23, 2021

At this PR expression_functions has been registered at public/plugin.ts in addition to server at further plugins:

  • expression_reveal_image
  • expression_shape

Testing Notes

This registers some expression functions on the server side. There is no way to test this as there is nothing that uses the server side functions currently.

@Kuznietsov Kuznietsov added release_note:fix Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:small Small Level of Effort v8.0.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Feature:Canvas auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Jul 23, 2021
@Kuznietsov Kuznietsov requested review from crob611 and alexwizp July 23, 2021 06:25
@Kuznietsov Kuznietsov self-assigned this Jul 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

Copy link
Contributor

@crob611 crob611 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Kuznietsov Kuznietsov merged commit 6a50aff into elastic:master Jul 26, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 26, 2021
…in.ts`. (elastic#106636)

* Registered `revealImageFunction` in `public/plugin`.

* Registered `shapeFunction` in `public/plugin`.
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Jul 26, 2021
…in.ts`. (#106636) (#106666)

* Registered `revealImageFunction` in `public/plugin`.

* Registered `shapeFunction` in `public/plugin`.

Co-authored-by: Yaroslav Kuznietsov <[email protected]>
streamich pushed a commit to vadimkibana/kibana that referenced this pull request Aug 8, 2021
…in.ts`. (elastic#106636)

* Registered `revealImageFunction` in `public/plugin`.

* Registered `shapeFunction` in `public/plugin`.
@rashmivkulkarni
Copy link
Contributor

No impact on the UI.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
expressionRevealImage 7 13 +6
expressionShape 40 42 +2
total +8

Async chunks

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

id before after diff
expressionRevealImage 3.8KB 3.8KB +1.0B
expressionShape 9.6KB 7.3KB -2.3KB
total -2.3KB

Page load bundle

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

id before after diff
expressionRevealImage 7.2KB 10.9KB +3.7KB
expressionShape 14.0KB 17.3KB +3.3KB
total +7.0KB

History

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

cc @Kunzetsov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Canvas impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:fix Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants