Skip to content

Migrate dropdown in label subscription actions

Taras Tadai requested to merge 263217-migrate-label-subscription-actions into master

What does this MR do and why?

Migrate bootstrap dropdown in app/views/shared/_label.html.haml to pajamas component. As it's a part of subscribe logic we also need to migrate related subscription buttons.

  • Migrated subscribe buttons
  • Migrated subscribe dropdown
  • Removed unused code

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
project_labels_old project_labels_new
group_labels_old group_labels_new

How to set up and validate locally

Case 1

  1. Select some project
  2. Goto Manage -> Labels
  3. Verify label subscription buttons
  4. Subscription dropdown should be available for group labels only in project labels list only.

Case 2

  1. Select some group
  2. Goto Manage -> Labels
  3. Verify label subscription buttons

Related to #263217

Edited by Taras Tadai

Merge request reports