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

Replace GIF assets with SVG assets for HTML report #1608

Open
huangsam opened this issue Apr 6, 2024 · 5 comments
Open

Replace GIF assets with SVG assets for HTML report #1608

huangsam opened this issue Apr 6, 2024 · 5 comments

Comments

@huangsam
Copy link

huangsam commented Apr 6, 2024

THIS IS A BUG TRACKER ONLY. FOR QUESTIONS PLEASE CHECK FAQ OR USE FORUM:

http://www.jacoco.org/jacoco/trunk/doc/faq.html

https://groups.google.com/forum/?fromgroups=#!forum/jacoco

Please understand that
ISSUES WITHOUT FOLLOWING INFORMATION WILL BE CLOSED WITHOUT COMMENTS!
Thank you for filling feature request!

Scenario

  • JaCoCo version: 0.8.11.202310140853
  • Operating system: macOS 14.4.1
  • Tool integration: Gradle 8.4
  • Description of your use case: Create HTML report after tests complete

Current Behaviour

The tool emits coverage with GIF images as background image.

Screenshot 2024-04-06 at 5 34 18 AM

Wanted Behaviour

Use image assets in SVG format - or PNG output based on SVG. Here are some initial SVG mocks I have from playing around with Freeform.

Screenshot 2024-04-06 at 5 35 08 AM

Possible Workarounds

Ask some GenAI solution to autogenerate SVG equivalents of the existing image assets.

@marchof
Copy link
Member

marchof commented Apr 6, 2024

@huangsam
Copy link
Author

huangsam commented Apr 6, 2024

Thanks for clarifying

@huangsam huangsam closed this as completed Apr 6, 2024
@marchof
Copy link
Member

marchof commented Apr 6, 2024

I still think this is a valid enhancement request to actually use SVGs in JaCoCo html report.

@marchof marchof reopened this Apr 6, 2024
@huangsam
Copy link
Author

huangsam commented Apr 6, 2024

Thanks for reopening. Yeah it would be great to have sharp images on the HTML report especially given that screen resolution has gotten considerably better with laptop and monitor displays - and user's expectations for UX are higher in recent years. Modern browser support for SVG is pretty good now

@huangsam
Copy link
Author

huangsam commented Apr 7, 2024

See here for browser support matrix of SVGs: https://caniuse.com/svg

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

No branches or pull requests

3 participants