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

embed=true missing from embedding dashboard URLs (Share > Embed > Copy Link) #193447

Closed
gbocchini opened this issue Sep 19, 2024 · 1 comment · Fixed by #194366
Closed

embed=true missing from embedding dashboard URLs (Share > Embed > Copy Link) #193447

gbocchini opened this issue Sep 19, 2024 · 1 comment · Fixed by #194366
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:SharingURLs Short URLs and Share URL features Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@gbocchini
Copy link

  • In versions prior to 8.15.X when generating an embedding URL for a Kibana Dashboard, the URL included a parameter embed=true which caused the embedded dashboard to only show the necessary info (example below):
    Image

In the case above, the embedding URL would look like:

<iframe src="https://example-kibana.cloud.es.io:9243/app/dashboards#/view/0000000-000-00-0000-00000?embed=true&_g=(refreshInterval:(pause:!t,value:60000),time:(from:now-15m,to:now))&_a=()" height="600" width="800"></iframe>

In version 8.15.X the parameter embed=true is missing, which exposes the top bar into the embedded view (example below):
Image

In the case above, in the other hand, the URL is:

<iframe src="https://example-kibana.cloud.es.io:9243/app/dashboards#/view/0000000-000-00-0000-00000?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A60000)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))" height="600" width="800"></iframe>

The workaround is simple:

  • Just manually add the parameter &embed=true to the iframe URL.
@gbocchini gbocchini added the bug Fixes for quality problems that affect the customer experience label Sep 19, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 19, 2024
@gbocchini gbocchini added Feature:Dashboard Dashboard related features and removed bug Fixes for quality problems that affect the customer experience needs-team Issues missing a team label labels Sep 19, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 19, 2024
@gbocchini gbocchini added Feature:SharingURLs Short URLs and Share URL features and removed needs-team Issues missing a team label labels Sep 19, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 19, 2024
@gadekishore gadekishore added the bug Fixes for quality problems that affect the customer experience label Sep 19, 2024
@gbocchini gbocchini added Team:DataVis Team label for DataVis Team and removed bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features Feature:SharingURLs Short URLs and Share URL features needs-team Issues missing a team label labels Sep 19, 2024
@gbocchini gbocchini added bug Fixes for quality problems that affect the customer experience Feature:SharingURLs Short URLs and Share URL features labels Sep 19, 2024
@tsullivan tsullivan added the Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) label Sep 19, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@Heenawter Heenawter removed the Team:DataVis Team label for DataVis Team label Sep 19, 2024
tsullivan added a commit that referenced this issue Oct 3, 2024
## Summary

Fixes [#192980](#193447)

Maybe related pr: #179037 

After fix it, having an URL that is like this:
```
?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A60000)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))&hide-filter-bar=true
```

**Screenshot**
<img width="1918" alt="image"
src="https://github.com/user-attachments/assets/de069fdb-895e-479a-b868-891bbb55594e">

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Tim Sullivan <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 3, 2024
…c#194366)

## Summary

Fixes [elastic#192980](elastic#193447)

Maybe related pr: elastic#179037

After fix it, having an URL that is like this:
```
?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A60000)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))&hide-filter-bar=true
```

**Screenshot**
<img width="1918" alt="image"
src="https://github.com/user-attachments/assets/de069fdb-895e-479a-b868-891bbb55594e">

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Tim Sullivan <[email protected]>
(cherry picked from commit e4ff3bb)
tsullivan pushed a commit to tsullivan/kibana that referenced this issue Oct 3, 2024
…c#194366)

## Summary

Fixes [elastic#192980](elastic#193447)

Maybe related pr: elastic#179037

After fix it, having an URL that is like this:
```
?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A60000)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))&hide-filter-bar=true
```

**Screenshot**
<img width="1918" alt="image"
src="https://github.com/user-attachments/assets/de069fdb-895e-479a-b868-891bbb55594e">

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Tim Sullivan <[email protected]>
(cherry picked from commit e4ff3bb)

# Conflicts:
#	src/plugins/share/public/components/share_tabs.test.tsx
#	src/plugins/share/public/services/share_menu_manager.tsx
tiansivive pushed a commit to tiansivive/kibana that referenced this issue Oct 7, 2024
…c#194366)

## Summary

Fixes [elastic#192980](elastic#193447)

Maybe related pr: elastic#179037 

After fix it, having an URL that is like this:
```
?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A60000)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))&hide-filter-bar=true
```

**Screenshot**
<img width="1918" alt="image"
src="https://github.com/user-attachments/assets/de069fdb-895e-479a-b868-891bbb55594e">

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Tim Sullivan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:SharingURLs Short URLs and Share URL features Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
5 participants