Skip to content

Don't show active "download button" for project code coverage data if none exists

Release notes

Problem to solve

As a team lead reviewing a project's repository stats without code coverage setup, I do not want to see the download button for code coverage data, so i don't waste time downloading an empty file.

Intended users

This could impact any user on the page, the team lead is the targeted persona for the feature.

User experience goal

The user should not see a button that when clicked gives them an empty data set.

Proposal

Hide the button if there is no data to present / the chart is empty.

Screen_Shot_2020-08-26_at_7.36.45_AM

Further details

A common complaint of the GitLab UI is having components visible that aren't actively being used but we also have to balance making features discoverable. Until a user sets up code coverage parsing they will not realize the value of this feature, but unless they see the empty graph they may not even realize that functionality is available.

Permissions and Security

Documentation

  • Update the docs to call out download button will be active when there is data to download.

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

The developer.

Is this a cross-stage feature?

No.

Links / references

Edited by Rayana Verissimo