Skip to content

Protected packages + containers: Define spacing in parent element

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

  • This follow-up MR is a suggestion that comes from another MR review
  • Move style regarding spacing to the parent element
  • This MR waits for !158600 (merged) to be 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

No frontend change. The intention was that the styling stays the same.

Scenario 1: Badge "Cleanup" and badge "protected"

Before After
grafik grafik

Scenario 2: Only badge "protected"

Before After
grafik grafik

Scenario 3: Tags and Badge "protected" in package registry

Only minimal spacing changes.

Before After
grafik grafik

How to set up and validate locally

  1. Enable the container registry in you local gdk
  2. Push a container image for a container respository path
  3. Go to the container repository overview page: http://gdk.test:3000/flightjs/Flight/container_registry
  4. In the table, you should see a table entry for the pushed container repository, but without the badge "protected"
  5. Go to the project settings and protect a certain container repository: http://gdk.test:3000/flightjs/Flight/-/settings/packages_and_registries
  6. Go to the container repository overview page: http://gdk.test:3000/flightjs/Flight/-/settings/packages_and_registries
  7. In the table, you should see a table entry for the pushed container repository with the badge "protected"

You follow the similar steps to validate the package registry.

Related to #467718 (closed)

Edited by Gerardo Navarro

Merge request reports

Loading