Add Archived to archived labels tooltip

What does this MR do and why?

Add "Archived" tooltip to archived label chips

Archived labels now show a muted "Archived" line in their tooltip.

  • Move the HTML tooltip mechanism from EE (where it renders the scoped-label line) into CE, so it also covers archived labels.
  • Cover both rendering paths: the Banzai reference filter (activity stream, comments) and the server-side render_label helper.
  • Scoped and archived tooltip lines render independently.

🛠️ with ❤️ at Siemens

References

Screenshots or screen recordings

Before After
label-before label-after
scoped-before scoped-after

How to set up and validate locally

  1. Go to your test project
  2. Create a new work item
  3. Create a new label called bug-test
  4. Apply the bug-test label to the issue
  5. Archive the label (Manage -> Labels -> Archive on Dot menu)
  6. Verify the tooltip by hovering over the bug-test label on the issue

Expected result: Tooltip shows the label description (if present) with muted "Archived" text on a new line For EE: Create a scoped label (e.g., type::bug), archive it, and verify the tooltip shows both "Scoped label" and "Archived" lines.

MR acceptance checklist

checklist

Related to #4233

Edited by Nicholas Wittstruck

Merge request reports

Loading
Loading