Skip to content

Replace link_to with Pajamas ButtonComponent

What does this MR do and why?

Replace link_to with Pajamas ButtonComponent

  • app/views/projects/tags/_edit_release_button.html.haml
  • app/views/projects/_export.html.haml
  • ee/app/views/projects/settings/_restore.html.haml

Changelog: changed EE: true

Screenshots or screen recordings

Before After
image image
image image
image image

How to set up and validate locally

  • app/views/projects/tags/_edit_release_button.html.haml
  1. Go to /flightjs/Flight/-/tags or manually navigate from the sidebar Code > Tags
  • app/views/projects/_export.html.haml
  1. Go to /flightjs/Flight/edit or manually navigate from the sidebar Settings > General > Advanced
  2. Click export, wait for a couple of minutes, and reload to see the next set of buttons.
  • ee/app/views/projects/settings/_restore.html.haml
  1. Open any project's general and go to Settings > General > Advanced > Delete
  2. Go back to Settings > General > Advanced and you should now see a restore option.

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 #416059 (closed), #416031 (closed), #416053 (closed)

Merge request reports

Loading