Skip to content

Archived Labels: Add unarchive button to edit label view

What does this MR do and why?

Archived Labels: Add unarchive button to edit label view

This MR adds an unarchive button in an alert to the edit label view.

🛠️ with ❤️ at Siemens

References

Screenshots or screen recordings

edit-dark edit-light edit-error

How to set up and validate locally

  1. Enable feature flag via rails c:
Feature.enable(:labels_archive)
  1. Archive a label: Go to Any project > Manage > Labels and archive a label in the three dot dropdown. It should now show up in the Archived tab.
  2. Go to the Edit view of the archived label. Now, you should see the box on the top and should be able to unarchive it.

MR acceptance checklist

MR Checklist ( @nwittstruck)

Related to #4233

Edited by Nicholas Wittstruck

Merge request reports

Loading