Skip to content

Migrate app/views/projects/deployments/_rollback.haml to Pajamas::ButtonComponent

What does this MR do and why?

This MR migrates the rollback buttons in the projects deployment page to Pajamas-compliant button component.

Screenshots or screen recordings

There is no visual change to how the UI looks.

Action Before After
Redeploy redeploy_before redeploy_after
Rollback rollback_before rollback_after

How to set up and validate locally

  1. Ensure a project has some completed but failed deployments
  2. Navigate to the project Deployments > Environments page (see doc)
  3. Confirm there is no change to the look and feel of the rollback buttons

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 #363928 (closed)

Edited by Tan Le

Merge request reports