Skip to content

Replace keep artifacts checkbox with toggle

What does this MR do and why?

Replace keep artifacts checkbox with toggle

Use GlToggle for "Keep latest artifacts" setting to signify that only one option can be selected, and that changing it takes effect immediately

Changelog: changed

Screenshots or screen recordings

Before After
Screenshot_2023-06-13_at_22.36.17 Screenshot_2023-06-13_at_22.32.35

Link to this page in the review app: https://gitlab-review-409371-rep-kqj24w.gitlab-review.app/gitlab-qa-sandbox-group-3/qa-test-2023-06-13-22-31-16-588c1b57ed606088/pipeline-editor-project-49b4e348003080df/-/settings/ci_cd

How to set up and validate locally

  1. git checkout master
  2. navigate to a project, and in the sidebar choose Settings => CI/CD
  3. expand the Artifacts section
  4. there should be a checkbox there that allows you to modify the "Keep latest artifacts" setting for the project
  5. git checkout 409371-replace-keep-artifacts-checkbox-with-toggle and refresh
  6. there should now be a toggle that allows you to modify the same setting

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #409371 (closed)

Edited by Miranda Fluharty

Merge request reports

Loading