Skip to content

Migrate milestones actions dropdown to vue component

Taras Tadai requested to merge 456430-migrate-dropdown-in-milestone-actions into master

What does this MR do and why?

Migrate bootstrap dropdown in app/views/shared/milestones/_milestone.html.haml to GlDisclosureDropdown pajamas component.

It's a part of Pajamas adoption project

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.

Screenshots or screen recordings

Before After
milestone_actions_dashboard_old milestone_actions_dashboard_new
milestone_actions_group_old milestone_actions_group_new
milestone_actions_project_old milestone_actions_project_new

How to set up and validate locally

Case 1

  1. Open some project
  2. Goto Plan -> Milestones
  3. Verify milestone list actions: Close, Edit, Promote, Delete
  4. Once you close some milestone you can also verify Reopen action. Reopen action should be available for milestones in Closed tab.

Case 2

  1. Open some group
  2. Goto Plan -> Milestones
  3. Verify milestone list actions: Close, Edit, Delete
  4. Once you close some milestone you can also verify Reopen action. Reopen action should be available for milestones in Closed tab.

Case 3

  1. Goto Dashboard -> Milestones (/dashboard/milestones)
  2. Verify milestone list actions: Close, Edit
  3. Once you close some milestone you can also verify Reopen action. Reopen action should be available for milestones in Closed tab.

Related to #456430 (closed)

Edited by Taras Tadai

Merge request reports