Design: Audit CI/CD page states
🧩 Problem
The pages under CI/CD take on different states depending on the state of the configuration, presence or absence of pipelines in the project, etc.
Currently, the empty states in CI/CD don't always communicate a coherent story and are confusing. An example is our onboarding empty states, where it's unclear which page under CI/CD is the place to start setting up your CI/CD configuration.
Another example is the pipelines page empty state when there's a CI/CD configuration but no pipelines. We don't make it clear that the configuration exists.
Proposal
As the first step in addressing the problems with the CI/CD empty states we should conduct an audit of all the different CI/CD page states and the conditions under which they change. We can collect the screenshots of how we treat those states in the UI and take note of the states that aren't being communicated well.
👁 CI/CD states audit
Pipelines page (also CI/CD in the nav)
Editor
Other thoughts:
- For self-managed instances it could be helpful to show the information about the available runners/ info on where to set up a runner before you work on your config. You need a runner to run a pipeline, so it'd make sense to nudge the user towards setting it up early in CI/CD onboarding.
- When there's no pipelines, the pipeline status is hidden until there's a pipeline. See this comment for details
Jobs
States | Current state | Suggestions and comments |
---|---|---|
No jobs and no configuration | ![]() |
|
No jobs, but configuration exists | ![]() |
|
Jobs exist but the configuration has been removed | yet to test |
Artifacts
You don't see an empty state for artifacts page.
States | Current state | Suggestions and comments |
---|---|---|
Schedules
States | Current state | Suggestions and comments |
---|---|---|
No schedules has been created yet | ![]() |
|
At least one schedule has been created | ![]() |
Test cases
States | Current state | Suggestions and comments |
---|---|---|
No test cases | ![]() |
CI/CD Analytics
State | Image | Comments |
---|---|---|
No config | ![]() |
|
Config + pipeline exists, no data to show graphs yet | ![]() |
|