Skip to content

Adjust placement of "Milestone can be closed" alert

What does this MR do and why?

When all the issues in a milestone are closed, a success alert shows on the milestone page informing the user that the milestone can be closed.

This MR adjusts the placement of that alert to better comply with Pajamas guidance. It also changes the logic so that this alert is only shown to users who can actually take action to close a milestone.

References

Screenshots or screen recordings

Before After
gdk.test_3000_flightjs_Flight_-milestones_10__1 gdk.test_3000_flightjs_Flight_-_milestones_10

How to set up and validate locally

  1. Check out this branch
  2. Find a milestone with only closed issues in it (if necessary, create one to achieve this state)
  3. Visit that milestone's details page
  4. The green "all issues for this milestone are closed..." alert will appear above the header content.

MR acceptance checklist

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

Edited by Chad Lavimoniere

Merge request reports

Loading