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

Modernize JaCoCo Report design #756

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Modernize JaCoCo Report design #756

wants to merge 1 commit into from

Conversation

marchof
Copy link
Member

@marchof marchof commented Sep 13, 2018

By adjusting some CSS the look & feel can be improved a bit:

report

  • left and right border for tables
  • round corners for boxes (header, table, source)
  • increased line distance for better horizontal readability
  • Use unicode triangles as separators in bread crump header.

@marchof marchof self-assigned this Sep 13, 2018
@marchof marchof changed the title Modernize JaCoCo Reports design Modernize JaCoCo Report design Sep 13, 2018
@Godin Godin added this to Implementation in Current work items via automation Oct 21, 2018
@Godin Godin self-requested a review October 21, 2018 07:50
@@ -141,7 +143,7 @@ private static void breadcrumbParent(final ReportPage page,
if (page != null) {
breadcrumbParent(page.parent, div, base);
div.a(page, base);
div.text(" > ");
div.text(BREADCRUMP_SEPARATOR);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO and SonarSource designer @thibaudeberwein agree with me that previously was better:

report

org.jacoco.doc/docroot/doc/resources/doc.css Outdated Show resolved Hide resolved
@marchof
Copy link
Member Author

marchof commented May 13, 2019

Idea of @Godin: Why not showing totals at the top? This is the primary information. If shown in headers no scrolling is required even for long lists of elements to see totals.

@Godin Godin moved this from Implementation to Candidates in Current work items Aug 30, 2019
@huangsam
Copy link

huangsam commented Apr 6, 2024

Yes I saw this as well when playing around with the CSS. This PR has been around for years. Any plans of bringing it into the mainline branch?

Copy link

@barnett-yuxiang barnett-yuxiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Current work items
  
Candidates
Development

Successfully merging this pull request may close these issues.

None yet

4 participants