-
Notifications
You must be signed in to change notification settings - Fork 35
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] Exporting via reporting on dark mode broke #111
Comments
@rupal-bq can you take a look here? |
I would propose that reporting should always export on a pure white background, because it is used for printing and emailing stuff for other people to print. |
@wbeckler - can we give the customer the option (default to report mirroring their dashboards settings, with an option to "print mode with white background" or something? I think given that most people don't print things anymore and are probably emailing reports, they likely actually want them to look how they have set their Dashboards to look. @kgcreative @mnkugler - thoughts? |
When the user chooses to export a report, a new window is opened with the actual dashboard, visualization, or ..., the "source", and a screenshot of the page is taken and wrapped in a PDF. As a result, it will always match the color-scheme applied to OSD for the tenant the user is using. If we wanted to allow users to choose a theme for exporting:
In short, as long as the report is generated by the browser, we are better off leaving the export to match the user's chosen color-scheme, and if selection of theme is an option we want to offer, the choices are either technically prohibitive or detract from the user experience. |
Thanks Miki! That makes sense and agree that we are better off leaving the export to match the user's chosen color-scheme. |
@BT-93 commented on Wed May 03 2023
When dark mode is set and you export to either PNG or PDF the background of the exports is white.
This was not an issue prior to version 2.6 (I think).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The background to be color #141519
OpenSearch Version
2.6 & 2.7
Dashboards Version
2.6 & 2.7
Plugins
The default ones
Screenshots
Host/Environment (please complete the following information):
Additional context
:)
@zhongnansu commented on Thu May 04 2023
@opensearch-project/triage Please transfer this issue to reporting repo https://github.com/opensearch-project/dashboards-reporting
The text was updated successfully, but these errors were encountered: