Label navigation should be split into active and archived

What does this MR do and why?

This MR splits the label navigation into active and archived labels.

For archived labels, it hides the prioritized labels div. Labels are automatically deprioritized when archived, so this div is not necessary.

🛠️ with ❤️ at Siemens

References

Screenshots or screen recordings

Archived view with a label

archived-with-label

Empty archived view

archived-empty

How to set up and validate locally

  1. Enable feature flag via rails c:
Feature.enable(:labels_archive)
  1. Edit an existing label. With the GDK seed data, you can go to https://gdk.test:3443/gitlab-org/gitlab-shell/-/labels. Choose edit and toggle the Archived checkbox.
  2. Now you should no longer see the label in the Active tab, but in the Archived tab.

MR acceptance checklist

MR Checklist ( @nwittstruck)

Related to #554227 (closed)

Edited by Nicholas Wittstruck

Merge request reports

Loading