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

Embeddable clean up #62486

Merged

Conversation

stacey-gammon
Copy link
Contributor

Taking out some of the clean up and refactoring from #61749.

This PR:

  • Creates a bound react component on EmbeddableStart for users to use EmbeddablePanel without having to pass so many dependent services down.
  • Modifies the listContainer and searchableListContainer examples to use EmbeddablePanel, as I'll want access to the context menu triggers for the PR above.
  • Fixes some issues with negative margins making it difficult to click the context menu icon (the reason for the gutterSize="none" additions)
  • Removes the tested functionality that matching children are removed. It was awkward and not really something you'd actually do, so instead the output is hasMatch and I added a new check matching button, to show how the parent can use output from its children. (cc @lizozom this was something you suggested awhile back, or at least changing the dynamic removal of children functionality).

@botelastic botelastic bot added the Feature:Embedding Embedding content via iFrame label Apr 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@stacey-gammon stacey-gammon added v7.8.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Apr 3, 2020
@stacey-gammon stacey-gammon force-pushed the 2020-04-03-embed-panel-helper branch 5 times, most recently from a982fb6 to e268934 Compare April 3, 2020 22:37
@stacey-gammon stacey-gammon marked this pull request as ready for review April 4, 2020 13:12
@stacey-gammon stacey-gammon requested a review from a team as a code owner April 4, 2020 13:12
Copy link
Contributor

@streamich streamich left a comment

Choose a reason for hiding this comment

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

LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Embedding Embedding content via iFrame release_note:skip Skip the PR/issue when compiling release notes review v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants