Skip to content

Hide pipeline filter when no pipeline exists

What does this MR do?

Fixes #325553 (closed). We're showing the "filtered search" on the pipelines-empty state even though no pipelines were available.

How to try out locally

  • Create a new or go to a project without .gitlab-ci.yml
  • Disabled "Default to Auto DevOps pipeline" in the CI/CD settings of your project http://localhost:3000/<group_name>/<project_name>/-/settings/ci_cd
  • Go to CI/CD -> Pipelines (http://localhost:3000/<group_name>/<project_name>/-/pipelines

Screenshots (strongly suggested)

Before After With existing pipelines
Screen_Shot_2021-03-30_at_21.14.23 Screen_Shot_2021-03-30_at_21.14.05 Screen_Shot_2021-03-30_at_21.14.07

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Olena Horal-Koretska

Merge request reports

Loading