AquaL1te reported a bug where tag icons stopped displaying correctly in topics and tag overview pages, although they continued to work in the sidebar. The issue appeared recently without any user-side configuration changes. gilles initially suggested a conflict with another plugin or component.
However, Lilly identified the root cause: a recent commit in the discourse-tag-icons component changed how tag slugs are handled, specifically converting underscores (_) in tag names to dashes (-). Lilly confirmed that tags containing underscores were failing to display their configured icons because the component now expects slugs with dashes.
When AquaL1te attempted to fix the issue by manually updating the theme component settings to use dashes instead of underscores, the icons appeared in topics but disappeared from the sidebar, indicating an inconsistency in how different parts of the interface handle the slug conversion. AquaL1te expressed frustration with this behavior, calling it unpredictable, and in subsequent posts (6, 9, 10), they noted the issue remained unresolved. After receiving no immediate official fix or workaround that preserved consistency across the UI, AquaL1te considered changing their actual tag names to avoid underscores as a last resort.
It works on my end, so I think there’s a conflict with another component or plugin. Try disabling the components to see which one is causing the conflict.
Do you have a URL to your forum? Maybe I can compare some things. Maybe the amount of tags or something like that triggers it. Because 95% of my tags work fine. I can try disabling components, but I need more time for that.
without installing this component and testing, i’m going to just guess that it is the _ underscore in the tag names. looks like all the tags that have underscores are not showing their icons.
edit: testing now and indeed this is the case - if you change the tag slugs in this component from underscore to dash (don’t change the tag names themselves), it should work again.
That’s a strange commit, why would a component need to change that behavior? That makes things unpredictable. When I change strategic_access to strategic-access in the theme component it works in topics, but then breaks in the sidepanel.
This issue is still present, is there a solution or temporary workaround for this? Or just sit back and wait for the fix? Changing the labels is not really something I want to do.