codecov / codecov-browser-extension

A browser extension for Codecov. Works for Chrome and Firefox
Apache License 2.0
36 stars 11 forks source link

Display line coverage when viewing a single file for a commit #2

Closed eliatcodecov closed 1 year ago

eliatcodecov commented 1 year ago

For the most part this is already supported in GitHub’s new UI:

Image

The total coverage for the file is shown, and the visibility can be toggled. Line coverage should be shown for hits (green), misses (red), and partials (yellow). This functionality should work when viewing any file on any branch in the repo for which coverage has been uploaded.

If no coverage is available for the file, a small warning should be displayed:

No coverage available for file

in the UI, likely in the file header close to the “Coverage: X%” button.

eliatcodecov commented 1 year ago

completed as part of current beta release