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

Dashboard Embed not working properly with Short URL #144591

Closed
Hrithik-Manchanda opened this issue Nov 4, 2022 · 9 comments
Closed

Dashboard Embed not working properly with Short URL #144591

Hrithik-Manchanda opened this issue Nov 4, 2022 · 9 comments
Labels
Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas triage_needed

Comments

@Hrithik-Manchanda
Copy link

Kibana version: 8.5.0

Elasticsearch version: 8.5.0

Server OS version:Ubuntu 20.0.4

Browser version: Firefox Latest 106.0.3 and Chrome latest

Browser OS version: Mac OS Venture 13.0

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

Description of the problem including expected versus actual behavior: Embed behaviour not working as expected for Short URL but working fine with complete URL

Steps to reproduce:

  1. Create embeddable link with short url enabled

Screenshot 2022-11-04 at 3 15 55 PM

2. Open the link in incognito 3.

Screenshot 2022-11-04 at 3 17 19 PM

@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 4, 2022
@kertal kertal added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Nov 7, 2022
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 7, 2022
@kertal kertal added triage_needed needs-team Issues missing a team label labels Nov 7, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 7, 2022
@kertal kertal added the Feature:Dashboard Dashboard related features label Nov 7, 2022
@jsanz
Copy link
Member

jsanz commented Nov 7, 2022

@Hrithik-Manchanda what is not working for you? Can you please elaborate more the issue at hand?

@Hrithik-Manchanda
Copy link
Author

@Hrithik-Manchanda what is not working for you? Can you please elaborate more the issue at hand?

I am attaching expected behaviour in below image.
As you can see that I have not selected Top Menu to be visible but in the image reference 2 in issue. It is getting displayed.

Screenshot 2022-11-07 at 6 58 33 PM

The same dashboard I am using here but this time around I deselected the short url option and it is working as expected.

@jsanz
Copy link
Member

jsanz commented Nov 7, 2022

OK so the issue is that the short URL is redirecting to an address where the global header (top menu) visibility toggle is not honored.

Thanks for clarifying, we'll try to assess this and come back to you soon.

@Hrithik-Manchanda
Copy link
Author

Hrithik-Manchanda commented Nov 7, 2022 via email

@ThomThomson
Copy link
Contributor

Closing this as a duplicate of #50107. We should shift the conversation over there if possible!

@Hrithik-Manchanda
Copy link
Author

Hi @ThomThomson this issue is slightly different as on Page refresh, Embed functionality works perfectly fine. In the issue you mentioned people have reported embed=true parameter getting lost but it is not the case here. Parameter persists and works fine on reloading the same page.

Any suggestions or temporary fix?

@ThomThomson
Copy link
Contributor

@Hrithik-Manchanda, that's strange, the embed param stays but it disappears on a navigation? In which situations does the embed functionality not work? We can use the other issue, and update it to include the problems you are seeing.

@Hrithik-Manchanda
Copy link
Author

@ThomThomson Parameter does not disappears anywhere. But the functionality seems to be not working. But when complete refresh of page is performed. Then embed works totally fine.

Sharing url also here --

Source Url ---- https://example.com/kibana/app/r/s/Bw9IO?auth_provider_hint=guest

Url After Redirect ---- https://example.com/kibana/app/dashboards#/view/16d255f0-49f2-11ed-8e75-9b2c26a297e3?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-6M,to:now))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas triage_needed
Projects
None yet
Development

No branches or pull requests

5 participants