Skip to content

Migrate app/views/shared/milestones/_milestone.html.haml to Pajamas::ButtonComponent

Artur Fedorov requested to merge 364005-milestones-button into master

What does this MR do and why?

This MR resolves #364005 (closed)

This MR migrates legacy html button to Pajamas::ButtonComponent according to this epic

Describe in detail what your merge request does and why.

Screenshots or screen recordings

No visual changes

before
Screenshot_2022-06-10_at_02.53.44
after
Screenshot_2022-06-10_at_02.53.44

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Add new project to a group
  2. Go to Project -> Issues -> Milestones
  3. Create new milestone for a project and go back to Milestones list
  4. Arrow button on screenshot is promote button

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports