Archive labels: remove :labels_archive feature flag in frontend

What does this MR do and why?

This MR removes the feature flag :labels_archive from the frontend, thus enabling the archival of labels. We have previously removed it for the backend.

🛠️ with ❤️ at Siemens

References

Screenshots or screen recordings

4 3

2

1

How to set up and validate locally

  1. With the GDK seed data, you can go to https://gdk.test:3443/gitlab-org/gitlab-shell/-/labels. Choose Archive in the Three-dot-menu to archive a label.
  2. It should now show up in the Archive tab.
  3. Now, in the same project, go to an existing issue or create a new issue. In the labels dropdown, you should no longer see the label you've archived. You should also not be able to add it with /label ~your-archived-label
  4. You can Unarchive labels either by going to the edit view or by using the three-dot-menu from the Archived tab.

This should work for Group and Project labels. The entry must not be visible for Admin labels, as they are template labels and cannot be archived.

MR acceptance checklist

MR Checklist ( @nwittstruck)

Related to #4233

Edited by Nicholas Wittstruck

Merge request reports

Loading