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] By-Value Embeddables #113827

Merged
merged 6 commits into from
Oct 27, 2021
Merged

[Canvas] By-Value Embeddables #113827

merged 6 commits into from
Oct 27, 2021

Conversation

cqliu1
Copy link
Contributor

@cqliu1 cqliu1 commented Oct 4, 2021

Summary

Related to #108439.
Closes #101633.
Closes #81812.
Closes #101628.

Roadmap: #108439

Oct-15-2021 11-00-26

This introduces support for by-value embeddables in Canvas and adds the same workflow as Dashboard for creating new visualizations/embeddables from external editors.

This merges the by-value embeddables feature branch into master. All commits in this PR have been reviewed individually, and this PR doesn't contain any additional changes beyond those.

This branch contains the following reviewed PRs:

For reviewers:

@elastic/kibana-telemetry @elastic/kibana-core The only telemetry and core changes were made in #104499.

Future enhancements that will not be addressed in the initial phase of this feature

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@cqliu1 cqliu1 added release_note:enhancement WIP Work in progress enhancement New value added to drive a business result Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:x-large Extra Large Level of Effort v8.0.0 impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Feature:Canvas labels Oct 4, 2021
@cqliu1 cqliu1 force-pushed the canvas/by-value-embeddables branch 2 times, most recently from ddb8632 to b706dfd Compare October 5, 2021 20:57
@cqliu1 cqliu1 force-pushed the canvas/by-value-embeddables branch 3 times, most recently from afea023 to 6b2bc48 Compare October 15, 2021 19:47
@cqliu1 cqliu1 force-pushed the canvas/by-value-embeddables branch 2 times, most recently from 7557017 to f8dbcaf Compare October 19, 2021 16:00
@cqliu1 cqliu1 force-pushed the canvas/by-value-embeddables branch from f8dbcaf to 34831c5 Compare October 19, 2021 22:18
@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 19, 2021

💔 Build Failed

Failed CI Steps

Metrics [docs]

‼️ ERROR: no builds found for mergeBase sha [94e1144]

History

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

@cqliu1 cqliu1 force-pushed the canvas/by-value-embeddables branch 4 times, most recently from 1834014 to 151ceac Compare October 25, 2021 20:02
@cqliu1 cqliu1 marked this pull request as ready for review October 26, 2021 15:43
@cqliu1 cqliu1 requested review from a team as code owners October 26, 2021 15:43
@elasticmachine
Copy link
Contributor

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

@cqliu1 cqliu1 force-pushed the canvas/by-value-embeddables branch from e5e3dad to 46edbbe Compare October 26, 2021 15:46
@cqliu1
Copy link
Contributor Author

cqliu1 commented Oct 26, 2021

@elasticmachine merge upstream

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.

Everything looks good to me 👍

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
canvas 1070 1082 +12

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
presentationUtil 151 160 +9

Async chunks

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

id before after diff
canvas 1.0MB 1.0MB +33.0KB
dashboard 143.3KB 143.3KB +2.0B
total +33.0KB

Page load bundle

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

id before after diff
canvas 17.3KB 17.6KB +275.0B
presentationUtil 43.4KB 44.8KB +1.4KB
total +1.6KB
Unknown metric groups

API count

id before after diff
presentationUtil 178 187 +9

References to deprecated APIs

id before after diff
canvas 67 70 +3

History

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

@cqliu1 cqliu1 merged commit bacd7f9 into master Oct 27, 2021
jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 27, 2021
…-migrate-away-from-injected-css-js

* 'master' of github.com:elastic/kibana: (61 commits)
  [ML] Nodes overview for the Model Management page (elastic#116361)
  [Uptime] Uptime index config using kibana.yml (elastic#115775)
  [Controls] Dashboard Integration (elastic#115991)
  skip flaky suite (elastic#104260)
  Include Files in GitHub UI (elastic#115956)
  skip flaky suite (elastic#116060)
  [Canvas] By-Value Embeddables (elastic#113827)
  Skip failing test (elastic#115366)
  [Osquery] Fix live query search doesn't return relevant results for agents (elastic#116332)
  [Integrations] Added link in old Add Data description and fixed alignment in cards (elastic#116213)
  [Actions] Extended ActionTypeRegistry with connector validation to validate config with secrets (elastic#116079)
  skip flaky suite (elastic#109329)
  Grant access to machine learning features when base privileges are used (elastic#115444)
  Skipping failing test (elastic#84957)
  [RAC][Security Solution] Adds migration to new SecuritySolution rule types (elastic#112113)
  skip flaky suite (elastic#115366)
  [Fleet] Marking API spec as experimental (elastic#116331)
  [Docs] Cleaning up the versions in the upgrade paths. Closes elastic#116223 (elastic#116228)
  [Reporting] Suppress debug logs in the mock logger (elastic#116012)
  [Metrics UI] Clear threshold alert groups state when filterQuery changes (elastic#116205)
  ...

# Conflicts:
#	src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx
#	src/plugins/dashboard/public/types.ts
@cqliu1 cqliu1 deleted the canvas/by-value-embeddables branch October 27, 2021 18:58
brianseeders added a commit to brianseeders/kibana that referenced this pull request Oct 27, 2021
brianseeders added a commit to brianseeders/kibana that referenced this pull request Oct 27, 2021
spalger added a commit to spalger/kibana that referenced this pull request Oct 27, 2021
spalger added a commit that referenced this pull request Oct 28, 2021
This reverts commit bacd7f9.

Co-authored-by: spalger <spalger@users.noreply.github.com>
@spalger
Copy link
Contributor

spalger commented Oct 28, 2021

Please see #116527 about revert

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 28, 2021
This reverts commit bacd7f9.

Co-authored-by: spalger <spalger@users.noreply.github.com>
academo pushed a commit to academo/kibana that referenced this pull request Oct 28, 2021
This reverts commit bacd7f9.

Co-authored-by: spalger <spalger@users.noreply.github.com>
nkhristinin pushed a commit to nkhristinin/kibana that referenced this pull request Oct 28, 2021
This reverts commit bacd7f9.

Co-authored-by: spalger <spalger@users.noreply.github.com>
@cqliu1 cqliu1 mentioned this pull request Oct 28, 2021
9 tasks
spalger added a commit that referenced this pull request Nov 1, 2021
…6539)

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
@cqliu1 cqliu1 mentioned this pull request Nov 2, 2021
9 tasks
cqliu1 added a commit to cqliu1/kibana that referenced this pull request Nov 5, 2021
@cqliu1 cqliu1 mentioned this pull request Nov 5, 2021
9 tasks
cqliu1 added a commit that referenced this pull request Nov 5, 2021
…117613)

* Revert "Revert "[Canvas] By-Value Embeddables (#113827)" (#116527)"

This reverts commit 9e6e845.

* Fix ts error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cqliu1 added a commit to cqliu1/kibana that referenced this pull request Nov 5, 2021
…tic#116527)" (elastic#117613)

* Revert "Revert "[Canvas] By-Value Embeddables (elastic#113827)" (elastic#116527)"

This reverts commit 9e6e845.

* Fix ts error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cqliu1 added a commit to cqliu1/kibana that referenced this pull request Nov 9, 2021
…tic#116527)" (elastic#117613)

* Revert "Revert "[Canvas] By-Value Embeddables (elastic#113827)" (elastic#116527)"

This reverts commit 9e6e845.

* Fix ts error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cqliu1 added a commit to cqliu1/kibana that referenced this pull request Nov 10, 2021
…tic#116527)" (elastic#117613)

* Revert "Revert "[Canvas] By-Value Embeddables (elastic#113827)" (elastic#116527)"

This reverts commit 9e6e845.

* Fix ts error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cqliu1 added a commit that referenced this pull request Nov 10, 2021
…117613) (#117751)

* Revert "Revert "[Canvas] By-Value Embeddables (#113827)" (#116527)"

This reverts commit 9e6e845.

* Fix ts error

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@cqliu1 cqliu1 removed the WIP Work in progress label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Canvas impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:x-large Extra Large Level of Effort release_note:enhancement reverted Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v8.0.0
Projects
None yet
7 participants