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

[BUG] Issues with Maps and Table visualizations in pdf/png reports #336

Open
liamhess opened this issue Apr 3, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@liamhess
Copy link

liamhess commented Apr 3, 2024

Describe the bug
The reports that opensearch dashboards produce have multiple issues.
One is that table fields just get cut off. This is happening since version 2.5 in which, as far as I understand, Opensearch changed the underlying engine that produces the reports from headless chromium to html2canvas?
Anyway this is how tables look:
image

Also, maps don't get displayed at all:
image

Then also if a dashboard is too large it just gets cut off. This obviously shouldn't happen but is a minor problem since

Most dashboards will never be that big
If you run into that issue, you can always split it into half and do two reports
However the table bug is really weird and if fixing is not viable maybe going back to headless chromium would be an idea.

To Reproduce
Steps to reproduce the behavior:

Go to the https://playground.opensearch.org/
Go to any dashboard that has tables or maps (for the table issue: visual consistency dashboard, for the maps issue: global flight dashboard)
generate a pdf report of either of the two
look at it and see that either the tables or the maps are broken
Expected behavior
The reports shouldn't have those issues, they should be as close to what you would see on the website.

OpenSearch Version
Did some testing, happens since version 2.5. I looked through github and found a pull request where someone changed from headless chromium to html2canvas. Can't find it anymore tho

Dashboards Version
2.5-2.12

Plugins

Whatever the playground has. But has happened on my installations too, where I have only the security plugin

Host/Environment (please complete the following information):

OS: MacOS, same Problem on a local windows 11 arm vm that i run through UTM
Browser and version: Happened to me on Arc, Chrome and Brave

@liamhess liamhess added bug Something isn't working untriaged labels Apr 3, 2024
@dblock
Copy link
Member

dblock commented Jun 24, 2024

Catch All Triage - 1 2 3 4 5 6

@dblock dblock removed the untriaged label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants