Skip to content

The commits page doesn't default to "All branches" if coverage isn't on the default branch #870

Closed

Description

@eliatcodecov

Recently I setup Codecov on a new repo and uploaded coverage to a non default branch. When browsing Codecov in a pre-merge state, it can be difficult to view coverage unless you understand that you have to switch branches on certain pages.

For example, the commits page just defaults to "select branch" and shows nothing (link, but this will likely be merged to main before this ticket is looked at, so I've included an image).

Screenshot 2023-11-29 at 9 03 44 AM

I think the right fix for the Commits tab is just to default to ''all branches'' if there's no coverage on the default. This will list all commits, which is likely to be very few for the repo since the repo is just being setup.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions