[MOVED TO ROADMAP] Allow custom icons for custom apps

Problem/Justification
With many custom apps via a compose file, it would be nice to be able to specify custom icons for the app.

Impact
I think it would help make the UI a little bit better for people using custom apps.

User Story
Whether through an upload process or the ability to include a “icon: https://pathtoicon.com” within the compose file for the icon.

19 Likes

Or possibly x-icon

The feature would be good for both raw yaml and could also be used in the template app

1 Like

I am definitely not a developer, so I dont really have any preference about how this feature can get implemented, but i definitely think it would be useful.

2 Likes

Maybe use font awesome with a selector for the icon, colour, background colour, background shape

Or by uploading icons pack (similarly as in 2fa managers like Aegis, or Yubico Authenticator) and then searching for app but this would be a lot of community work…
But yes, I love idea of custom apps icons

I now think a good way to implement this would be to simply define a custom label name, ie truenas.icon or some such.

This would allow people to change the icons on normal apps too.

Similarly, truenas.portal.webui to do define webui portal

4 Likes

Any hope for this, 60 votes, tired of editing metadata.yaml files lol

2 Likes

I would also love this! Hopefully low hanging fruit?

Going crazy looking at the stock custom app icon, hope this gains traction!

2 Likes

Created an account just to vote for this, that’s how much I care!
Would love a way to manage icons for custom apps.
There’s just something so satisfying about seeing all the apps lined up with their icons and status, It just feels right, you know?

6 Likes

Aren’t labels on a single container level, whereas you can have multiple of those in a single Compose file in a custom app? I don’t know if it shouldn’t just have something top-level instead, otherwise you’d have trouble if multiple containers have such labels (sure could just take whatever comes up first but eh…)

And for containers and VMs

3 Likes

The standard Truenas Apps use:

icon_url: url ink to svg file

Is that what is needed for custom Apps?

Yes, but currently, it has to be on a web browsable location, local file urls do not work and there is no UI for this. Would be nice if you could upload the files and use a local file link (file:///) as sometimes, whereever you have the link to could be slow or down. Mine don’t use any external site, just local via caddy due to this. It doesn’t have to be svg, other format like png also work.

1 Like

I understand why though. The url has to be displayed by the remote client browser that is rendering the web ui.

To use a file it would have to be moved into the middleware’s immutable webroot. Or some other location.

Which is doable, but far easier to just force an http url :wink:

1 Like

Yes, I understand the why. I just found my apps screen to be too slow for my taste otherwise with a bunch of those icons.

If you haven’t already make sure to vote for this feature to be added! :+1:t2::pray:t2::crossed_fingers:t2:

It could be stored somewhere in the ix-apps dataset. The Apps UI is grabbing information from there already, why not the icon as well?

Love this idea.

Don’t miss the button to vote at the top.

1 Like