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

Make the generated report use the correct background color #165

Merged

Conversation

AMoo-Miki
Copy link
Contributor

@AMoo-Miki AMoo-Miki commented Aug 10, 2023

Description

Make the generated report use the correct background color

Also:

  • Remove font and color overrides from generated reports
  • Remove side-nav from the exported report
  • Avoid creating a footer when it has no content
  • Fix report dimensions

test12_2023-08-10T05 49 37.983Z_b12ad400-3741-11ee-a3da-f9dc44b8dbe5.pdf

Test23_2023-08-30T20 18 35.215Z_65a3edf0-4772-11ee-bd7a-cb1f0be60683.pdf

Issues Resolved

Fixes #111
Fixes opensearch-project/OpenSearch-Dashboards#3979
opensearch-project/reporting#735 - Part 1

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Also:
* Remove font and color overrides from generated reports
* Remove side-nav from the exported report
* Avoid creating a footer when it has no content
* Fix report dimensions

Signed-off-by: Miki <miki@amazon.com>
@KrooshalUX
Copy link

KrooshalUX commented Aug 15, 2023

For UX review completions sake - do you have an export in Next Light as well?

@AMoo-Miki
Copy link
Contributor Author

For UX review completions sake - do you have an export in Next Light as well?

I added a sample to the PR description.

@KrooshalUX
Copy link

@AMoo-Miki thanks for the additional export for light mode. LGTM!

@derek-ho derek-ho merged commit 13288ec into opensearch-project:main Aug 31, 2023
7 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 31, 2023
Also:
* Remove font and color overrides from generated reports
* Remove side-nav from the exported report
* Avoid creating a footer when it has no content
* Fix report dimensions

Signed-off-by: Miki <miki@amazon.com>
(cherry picked from commit 13288ec)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
derek-ho pushed a commit that referenced this pull request Sep 5, 2023
Also:
* Remove font and color overrides from generated reports
* Remove side-nav from the exported report
* Avoid creating a footer when it has no content
* Fix report dimensions


(cherry picked from commit 13288ec)

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@wbeckler
Copy link

wbeckler commented Oct 3, 2023

Was there any consideration of using print mode so that pdfs would be printable?
https://developer.mozilla.org/en-US/docs/Web/Guide/Printing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Exporting via reporting on dark mode broke [BUG] Exporting via reporting on dark mode broke
7 participants