Skip to content

Revamp coverage file UI#3108

Merged
josephsnyder merged 2 commits into
Kitware:masterfrom
williamjallen:coverage-file-ui-refactor
Sep 3, 2025
Merged

Revamp coverage file UI#3108
josephsnyder merged 2 commits into
Kitware:masterfrom
williamjallen:coverage-file-ui-refactor

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

The current UI for viewing individual coverage files is outdated, the technical implementation is poor for a multitude of reasons, and branch coverage is currently entirely broken. This PR completely replaces the page with a brand new Vue-based UI.

Before:
image

After:
image

image

@williamjallen williamjallen force-pushed the coverage-file-ui-refactor branch from bf264f7 to 14166a2 Compare September 2, 2025 20:14

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm unable to see coverage data. The new page (builds/####/coverage/###) loads but the spinning wheel where the line-by-line information doesn't go away. There are no issues in the console nor did any of the network calls fail.

Though, looks like the page got no data back from the coverage graphql call:

Image

@williamjallen

Copy link
Copy Markdown
Collaborator Author

@josephsnyder Does that coverage file ID exist?

@josephsnyder

Copy link
Copy Markdown
Member

@josephsnyder Does that coverage file ID exist?

@williamjallen I was just checking that and the IDs don't line up. CDash's links say the file id should be 965 or 966 but GraphQL says it should be 1022 and 1023:
image

@williamjallen

Copy link
Copy Markdown
Collaborator Author

@josephsnyder Ah, good catch! The page links to the coveragefile ID, while everything in GraphQL refers to the coverage ID (via coverageview). I'll update the links.

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Much better. Thanks for the fix!

@josephsnyder josephsnyder added this pull request to the merge queue Sep 3, 2025
Merged via the queue into Kitware:master with commit 1fdfa35 Sep 3, 2025
7 checks passed
@williamjallen williamjallen deleted the coverage-file-ui-refactor branch September 3, 2025 16:39
github-merge-queue Bot pushed a commit that referenced this pull request Oct 20, 2025
Building on the work in #3108, this PR adds a reusable code box with
line numbers for use across the site. This component is expected to
eventually replace all of the existing prepared text boxes used for
displaying build and test output. I used the new component on the build
notes page as an example and will create follow-up PRs to increase the
usage across the site.
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.

2 participants