Problem/Motivation

Icons used by any non-icon field / component aren't rendering in the canvas preview despite rendering in the actual site.

There's a chance it's related to the hack we had to add temporarily in https://git.drupalcode.org/project/eureka/-/blob/1.0.x/components/01-ato... to fix the icon rendering in the site

Quick links not showing icons

CommentFileSizeAuthor
#2 Screenshot 2026-03-13 at 10.40.57.png316.09 KBdabodia

Issue fork eureka-3579029

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dabodia created an issue. See original summary.

dabodia’s picture

StatusFileSize
new316.09 KB
nexusnovaz’s picture

Issue summary: View changes
psebborn’s picture

Assigned: Unassigned » psebborn

psebborn’s picture

Assigned: psebborn » Unassigned
Status: Active » Needs review

There's a fix in an MR here - it's working for me (the main takeaway was making the path relative from the root, at least in my tests)

dabodia’s picture

Looks good @psebborn, but could you check a couple things?
- Do the icons generated via eureka.icons.yml (footer social, for example) render well within canvas? if not, could you update eureka.icons.yml to follow the same approach?
- As the approach seems solid, could you remove the @TODO comment above the icon path in icon.twig?

dabodia’s picture

Status: Needs review » Reviewed & tested by the community

Looks great, thanks!