egon.io icon indicating copy to clipboard operation
egon.io copied to clipboard

Custom icon set with domain specific display name

Open kirchsth opened this issue 11 months ago • 4 comments

Is your feature request related to a problem? Please describe. If I customize the icon set, the added icons have a predefined name (ex. based on imported/reused svg name,...). But if I create a domain specific icon set I want to display the icon with my domain specific names.

Describe the solution you'd like If I define the icon-set, then I can change additional to the order a display name too. And this display name should be displayed in the icon-set.

Image (ex. click on label switches to an edit mode of the label and the entered text is stored as display name)

Describe alternatives you've considered I found a possibility and changed the names directly in the exported *.iconset file. But after reimport some icons were not correct displayed (maybe based on name conflicts..., but I tried it with names like "event2" too and it didn't help).

Image (the problem is independent of the not-svg-picture, but it was part of other tests and I didn't want to remove it from my Chrome setup)

Additional context

Ex. following *.iconset does not work (I checked it with Chrom and Edge - in Edge version 2.4.0 and 3.0.0-dev) DomainMessageFlow2.zip

kirchsth avatar Feb 02 '25 19:02 kirchsth

The names of the built-in icons cannot be changed. Enabling this would require some effort.

A workaround: When you upload custom icons, their file name is used in Egon. E.g., if you upload "accounting.svg", the icon will be called "accounting-custom" in Egon. The suffix "-custom" cannot be changed. In the icon configuration, you can filter for "-custom" to easily find all your custom icons.

hofstef avatar Feb 03 '25 08:02 hofstef

thank you for clarification.

I think I found a practical workaround: 0) I have only custom icons in my icon-sets (all ends with -custom, so it can be ignored) 0a) If I want to reuse an built-in icon I export it as (svg-) image

Image

  1. before I upload it, I rename the files to the expected icon names
  2. import all used files with the correct name --> all have the correct name

kirchsth avatar Feb 03 '25 09:02 kirchsth

Egon uses Material Icons. It might be easier to download them directly from the Material website.

hofstef avatar Feb 03 '25 10:02 hofstef

thank you, I know. I only tried to cover all scenarios (reuse built-in too)

kirchsth avatar Feb 03 '25 10:02 kirchsth

I'm doing some cleanup... I don't think we are ever going to implement the possibility to rename the built-in icons. The effort would be considerable and there is a reasonable workaround.

hofstef avatar Aug 11 '25 19:08 hofstef