Archived Labels: Add unarchive button to edit label view
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
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.
References
Screenshots or screen recordings
How to set up and validate locally
- Enable feature flag via
rails c:
Feature.enable(:labels_archive)
- Archive a label: Go to
Any project > Manage > Labelsand archive a label in thethree dot dropdown. It should now show up in theArchived tab. - Go to the
Editview 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)
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
Related to #4233
Edited by Nicholas Wittstruck


