Skip to content

Use Pajamas buttons in /groups/milestones/index.html.haml

What does this MR do and why?

  1. Migrates all instances of the New Milestone button to Pajamas
  2. Sets empty state text to centered to follow Pajamas empty state pattern (does not replace component)

Screenshots or screen recordings

Before After Context
image image With milestones
image image Empty tab
image image No milestones

How to set up and validate locally

  1. Navigate to a Group milestone page (http://gdk.test:3000/groups/flightjs/-/milestones)
  2. Confirm "New milestone" button in header
  3. Navigate to a group with no milestones
  4. Confirm "New milestone" button in empty state
  5. Navigate to a group with milestones, but none open (or create and close one milestone from 3)
  6. Confirm "New milestone" button in tab empty state

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

Merge request reports