Loading
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.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Go to your test project
- Create a new work item
- Create a new label called bug-test
- Apply the bug-test label to the issue
- Archive the label (
Manage -> Labels -> Archive on Dot menu) - 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
- 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



