Skip to content

Migrate app/views/shared/labels/_nav.html.haml to Pajamas::ButtonComponent

Dan MH requested to merge 363945-danmh-migrate-buttons-labels-nav-partial into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Migrate app/views/shared/labels/_nav.html.haml to Pajamas::ButtonComponent

This MR migrates the New label and search icon button on the labels page at the group and project levels.

Screenshots or screen recordings

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

Migrating the buttons also causes the search icon colour to change. I imagine in the future this whole component will change to the proper one.

Before After
127.0.0.1_3000_gitlab-org_gitlab-shell_-labels__1 127.0.0.1_3000_gitlab-org_gitlab-shell_-_labels
127.0.0.1_3000_groups_twitter_-labels_subscribed__search___1 127.0.0.1_3000_groups_twitter_-labels_subscribed__search

How to set up and validate locally

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

Please check these changes in 2 places

  • Any project > Project information > Labels
  • Any group > Group information > Labels

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

Edited by Dan MH

Merge request reports