devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Inspector icon setting not respected

Open cleverplatypus opened this issue 5 months ago • 0 comments

vue v3.5.17
vuetools v7.7.7

I'm creating a devtool plugin and I'm trying to set the icon but whatever I put i the icon property, devtools shows the default icon (i-carbon-bring-forward)

api.addInspector({
   id: 'routable-inspector',
   label: 'Routable Objects',
   icon: 'direction', // <--- ignored
});

This code from pinia's plugin does the same but it seems to work. (Just to clarify, I tried the same icon name as pinia to no avail)

The vue component that takes care of the icon afaik is this one.

I deduced it from the fact that that's the only place where i-carbon-bring-forward is referenced in the project.

According to that component's logic one should be able to use a url to an svg, a custom icon or it would default to i-carbon-bring-forward

cleverplatypus avatar Jul 02 '25 10:07 cleverplatypus