Skip to content

Add empty state for project prebuilds #5022

Closed
@gtsiolis

Description

@gtsiolis

Problem to solve

Currently, when adding a project in a team a) the product does not surface previous prebuilds and b) the project may not have any previous prebuilds.

Proposal

To avoid having empty pages where it's not clear if the data does not exist or an error occurred while fetching the data we could add an empty state for the prebuilds page when adding a project.

A good first MVC (Minimum Viable Change) could be to reuse the same logic we've used in #4571 when searching members returns no members.

? <p className="pt-16 text-center">No members found</p>

Two more things to consider in this scope:

  1. The same could apply when a project is an empty repository and does not contain any active braches. 💡
  2. The same component could be used when searching for branches or prebuilds returns no results. 💡
BEFORE AFTER
Prebuilds BEFORE Prebuilds AFTER

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions