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] Fix asset image preview #54659

Merged
merged 3 commits into from
Jan 14, 2020

Conversation

poffdeluxe
Copy link
Contributor

@poffdeluxe poffdeluxe commented Jan 13, 2020

Summary

Modification of the CSS to get images displaying again in the asset manager while also maintaining a nice aspect ratio.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@poffdeluxe poffdeluxe added review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:small Small Level of Effort v8.0.0 release_note:skip Skip the PR/issue when compiling release notes impact:critical This issue should be addressed immediately due to a critical level of impact on the product. v7.6.0 labels Jan 13, 2020
@poffdeluxe poffdeluxe requested review from a team as code owners January 13, 2020 21:45
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

@poffdeluxe poffdeluxe force-pushed the bug/asset-images-not-displaying branch from 5139be6 to d3ee3bc Compare January 13, 2020 21:49
@ryankeairns
Copy link
Contributor

@poffdeluxe did you test the Logs workpad too? That one has the SVGs that wouldn't load for me.

@poffdeluxe
Copy link
Contributor Author

@ryankeairns Logs assets are lookin' good to me:
_Logs__Web_Traffic_-_Kibana

Copy link
Contributor

@ryankeairns ryankeairns left a comment

Choose a reason for hiding this comment

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

LGTM, checked all three sample workpads plus one of my own.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@poffdeluxe poffdeluxe merged commit 2ac0c91 into elastic:master Jan 14, 2020
poffdeluxe added a commit to poffdeluxe/kibana that referenced this pull request Jan 14, 2020
* fix image preview

* Center image in asset box

* Updating snapshot

Co-authored-by: Ryan Keairns <rkeairns@chef.io>
poffdeluxe added a commit that referenced this pull request Jan 14, 2020
* fix image preview

* Center image in asset box

* Updating snapshot

Co-authored-by: Ryan Keairns <rkeairns@chef.io>

Co-authored-by: Ryan Keairns <rkeairns@chef.io>
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
* fix image preview

* Center image in asset box

* Updating snapshot

Co-authored-by: Ryan Keairns <rkeairns@chef.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants