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

testing image inclusion in reports #128

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

nderwin
Copy link
Contributor

@nderwin nderwin commented Oct 16, 2024

  • set up a report that includes images from inside the application, from the static resources of the application, and from an external source
  • added a unit test to validate that the HTML export includes img tags with not-empty src attributes
  • added endpoints for PDF and XLSX output
  • added an application-wide HTML file resource handler to deal with storing the images in a temp folder
  • setup and tear down the temp folder and any files in it with the application lifecycle
  • added a REST endpoint to serve images from the temp directory for HTML reports

Signed-off-by:Nathan Erwin [email protected]

@nderwin nderwin force-pushed the feature/images-in-reports branch from b43ae22 to e777077 Compare October 16, 2024 12:49
@nderwin nderwin mentioned this pull request Oct 16, 2024
@nderwin nderwin force-pushed the feature/images-in-reports branch 4 times, most recently from d353346 to 58aa15d Compare October 18, 2024 02:14
* set up a report that includes images from inside the application, from the static resources of the application, and from an external source
* added a unit test to validate that the HTML export includes `img` tags with not-empty `src` attributes
* added endpoints for PDF and XLSX output
* added an application-wide HTML file resource handler to deal with storing the images in a temp folder
* setup and tear down the temp folder and any files in it with the application lifecycle
* added a REST endpoint to serve images from the temp directory for HTML reports

Signed-off-by:Nathan Erwin <[email protected]>
@nderwin nderwin force-pushed the feature/images-in-reports branch from 58aa15d to 1c4af40 Compare October 18, 2024 02:23
@nderwin nderwin changed the title WIP - testing image inclusion in reports testing image inclusion in reports Oct 18, 2024
@nderwin nderwin marked this pull request as ready for review October 18, 2024 11:16
@nderwin nderwin requested a review from a team as a code owner October 18, 2024 11:16
@nderwin
Copy link
Contributor Author

nderwin commented Oct 18, 2024

@melloware marking this up as ready for review, but the native build is failing because... I didn't do something, but not sure what.

@melloware melloware merged commit b2ed01e into quarkiverse:main Oct 18, 2024
1 check failed
@melloware
Copy link
Contributor

Working on fixing the native image now!

@nderwin nderwin deleted the feature/images-in-reports branch October 18, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants