Repository navigation
fix(ui): classification tags display configured custom icons (1.13) - #32232
Conversation
The muiTags rendering path in TagsViewer omitted the icon prop when rendering TagChip, so classification tags with a configured custom icon always showed the default Tag01 fallback instead. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
When a custom icon URL fails to load, the Icon component now degrades to the default Tag01 glyph instead of rendering no icon at all. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
❌ UI Checkstyle Failed❌ ESLint + Prettier + Organise Imports (src)One or more source files have linting or formatting issues. ❌ Core Components - I18n SyncCore-components ❌ Tailwind AuditHardcoded Tailwind values found. Use a design-system utility (run ❌ Antd + Less Deprecation GuardA new Affected filesat Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) Fix locally (fast - only checks files changed in this branch): make ui-checkstyle-changed |
Code Review ✅ Approved 1 resolved / 1 findingsFixes classification tags to display configured custom icons in the ✅ 1 resolved✅ Edge Case: Failed custom icon load shows no icon instead of Tag01
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Summary
muiTagsrendering path ofTagsViewer,TagChipwas rendered without theiconprop, so classification tags with a configured custom icon always showed the defaultTag01fallbacktag.style?.iconURLthrough theIconcomponent as aReactElementtoTagChip'siconpropTag01fallback behaviorTest plan
🤖 Generated with Claude Code
Greptile Summary
The PR forwards configured classification icon URLs into TagChip while preserving the default icon when no URL is configured.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Reviews (5): Last reviewed commit: "Merge branch '1.13' into fix/tag-icon-cl..." | Re-trigger Greptile