Skip to content

Protected packages: Use icon only for delete rule button

What does this MR do and why?

  • Aligning the UX design concepts for the sections "Protected packages" and "Protected containers", see !150793 (merged)

🛠 with at Siemens

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

MR Checklist (@gerardo-navarro)

Screenshots or screen recordings

Before After
grafik grafik
grafik
grafik grafik

How to set up and validate locally

  1. In rails console enable the experiment fully
Feature.enable(:packages_protected_packages)
  1. Add some package protection rules
15.times { |i| Packages::Protection::Rule.create(project: Project.find_by_full_path('flightjs/Flight'), package_name_pattern: "@flightjs/flight-package-#{i}", package_type: :npm, push_protected_up_to_access_level: :maintainer) }
  1. Go to http://gdk.test:3000/flightjs/Flight/-/settings/packages_and_registries
  2. Start deleting protection rules by clicking the button "Delete"

Ref #413641

Edited by Gerardo Navarro

Merge request reports