codecov / codecov-browser-extension

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

Allow coverage to be displayed using Flags or Components #6

Closed eliatcodecov closed 1 year ago

eliatcodecov commented 1 year ago

We should allow the user to filter coverage for any particular file by any Flags or Components that they may be using. This can be accomplished with the /report endpoint and the /flags and /components endpoints.

This functionality, due to its complexity, should likely only be present when viewing a single file on a commit or branch (e.g., https://github.com/codecov/uploader/blob/main/src/index.ts) , but future work may attempt to show flag coverage on a Pull Request as well.

An example UI element is as follows, but note that if a more suitable element exists (such as a multiselect) it should be used:

Image

This is likely the most complex feature to build into the integration, and should be prioritized after other items (excluding low priority items, which should go last).

eliatcodecov commented 1 year ago

completed as part of current beta release