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

Kibana Dashboard top menu position changes when embedding in iFrame #107172

Closed
Tracked by #168126
Bamieh opened this issue Jul 29, 2021 · 2 comments
Closed
Tracked by #168126

Kibana Dashboard top menu position changes when embedding in iFrame #107172

Bamieh opened this issue Jul 29, 2021 · 2 comments
Labels
enhancement New value added to drive a business result Feature:Dashboard Dashboard related features Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@Bamieh
Copy link
Member

Bamieh commented Jul 29, 2021

Describe the feature:

When embedding a dashboard in an iFrame, with top menu option selected:

The dashboard has the menu aligned to the right ("Full Screen", "Share", "Clone" and "Edit" options):

image

But once in an iFrame, the "Full Screen", "Share", "Clone" and "Edit" options get aligned to the left.

image

The steps to reproduce are to visualize a dashboard, copy the iFrame code, e.g. into index.html locally and load in the browser.

<div class="header">
<p>Simple iFrame viewer</p>
</div>
<iframe src="http://localhost:5601/goto/f7a6c35f5183250e6169580e5c90bae7" height="1200" width="1600"></iframe>

Enhancement details:

The euiHeaderLinks in the iframe view is not the same EuiHeader component in the normal view. This top menu is not the same component as the normal top menu so its not a CSS issue rather than a whole different HTML.

We can update the top menu to match the eui header we normally show inside a non-embedded kibana dashboard.

@Bamieh Bamieh added Feature:Dashboard Dashboard related features Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc enhancement New value added to drive a business result labels Jul 29, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@ThomThomson
Copy link
Contributor

Closing this for the time being. It will be tracked in our Icebox for Iframe / Embedding issues and will be re-opened if our priorities change.

@ThomThomson ThomThomson closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 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:Dashboard Dashboard related features Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

3 participants