Then need to link user to respective PR / Commit page:
Separate, @codecovdesign ToDo create separate issue to improve PR / Commit error state. NOTE TO ADD: the banner is shown on multiple pages, but is not needed in some cases. Said differently, data that could be shown should be shown.
Problem to solve
In the table there are cases when the errors below happen and then the
tr
is unable to show data.query Commit
``` graphql query Commit( $owner: String! $repo: String! $commitid: String! $filters: ImpactedFilesFilters ) { owner(username: $owner) { repository(name: $repo) { __typename ... on Repository { commit(id: $commitid) { compareWithParent { __typename ... on Comparison { indirectChangedFilesCount directChangedFilesCount state patchTotals { coverage: percentCovered } impactedFiles(filters: $filters) { __typename ... on ImpactedFiles { results { patchCoverage { coverage: percentCovered } headName baseCoverage { coverage: percentCovered } headCoverage { coverage: percentCovered } } } ... on UnknownFlags { message } } } ... on FirstPullRequest { message } ... on MissingBaseCommit { message } ... on MissingHeadCommit { message } ... on MissingComparison { message } ... on MissingBaseReport { message } ... on MissingHeadReport { message } } } } ... on NotFoundError { message } ... on OwnerNotActivatedError { message } } } } ```Then need to link user to respective PR / Commit page:
Separate, @codecovdesign ToDo create separate issue to improve PR / Commit error state. NOTE TO ADD: the banner is shown on multiple pages, but is not needed in some cases. Said differently, data that could be shown should be shown.
Solution ideation