elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Iframe embed code is not behaving correctly since 8.15 #192980

Closed yomduf closed 1 month ago

yomduf commented 1 month ago

Kibana version: 8.15.1

Elasticsearch version: 8.15.1

Server OS version:

Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.):

Describe the bug:

Steps to reproduce:

  1. Use Kibana sample Dashboard

  2. Click on share and click embed

  3. Select 1 item or nothing Image

  4. The dashboard exposed is equivalent to all item selected

Comparaison 8.14.3 vs 8.15.1 with no item selected in both version Image

Explanation guess : In 8.15.1 the URL suffix is

?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-7d%2Cto%3Anow))&hide-filter-bar=true

where in 8.14.3 it's

?embed=true&_g=()&hide-filter-bar=true

The ?embed=true& is missing in 8.15.1, adding it solve the issue

Expected behavior: Having an URL that is like this

?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-7d%2Cto%3Anow))&hide-filter-bar=true

Image

Screenshots (if relevant):

Errors in browser console (if relevant): No error in browser

Provide logs and/or server output (if relevant):

Any additional context:

elasticmachine commented 1 month ago

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

elasticmachine commented 1 month ago

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

tsullivan commented 1 month ago

Duplicate of https://github.com/elastic/kibana/issues/193447