Skip to content

Refac: Migrate icons to use new work items naming

What does this MR do and why?

This MR migrates GitLab's icon system from legacy issue-type-* and epic/issue-new naming conventions to the new standardized work-item-* naming convention as part of the work items consolidation effort.

References

How to set up and validate locally

Run this command to verify that no legacy icon references remain in the production codebase:

git grep -l 'issue-type-\(enhancement\|feature-flag\|feature\|incident\|issue\|keyresult\|maintenance\|objective\|requirement\|requirements\|task\|test-case\|ticket\|epic\)|issue-new' -- app | grep -v spec | grep -v doc | xargs -I {} sh -c 'git grep -q "ISSUABLE_EPIC.*issue-type-epic" {} || echo {}' | wc -l

Expected output: 0 (indicating successful migration)

This command searches for all possible legacy icon patterns while excluding:

  • Test files (spec)
  • Documentation files (doc)
  • The intentional ISSUABLE_EPIC bridge constant that maintains backward compatibility

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #548410

Edited by David Aniebo

Merge request reports

Loading