Adding icons to locally installed BlueOS extensions

Hey,

I was wondering if it is possible to add icons to a BlueOS extension that is installed through a .tar file. I am currently on 1.5.0-beta.36 of BlueOS. I have seen in this repository that there is a metadata.json file for this purpose but I believe these are for extensions validated by Blue Robotics.

Cheers,
Rutger

Hi @rutger-seascape -

Can you expand on what you mean by “add icons” ?

Within the extension you can have whatever art you’d like! A material design icon is used for the BlueOS menu bar entry. Are you referring to the icon image that shows for an extension when it is installed or viewed on the extension manager? You’d need to publish your extension to fill that in…

@tony-white I just saw this PR from Rutger, so I imagine he’s actually talking about the External Widgets for Cockpit?

Hi @rutger-seascape,

BlueOS does not yet store Extension logos offline, so there’s not yet a place to add custom ones for local installs, or means of doing so.

That’s a developer’s fork of the official Extensions store repo. You’re correct that the Extension logos provided in that repo (as part of adding an Extension to the store) end up with links in the manifest file that then gets fetched by the store in BlueOS.

Extension registration at installation time does locally store the data about the Extension (including a URL to the extension logo), so I suppose the most straightforward way of adding logos for custom Extensions would be to enable storing such a URL as part of the custom registration process, though needing to serve or host an image file for that purpose is likely not ideal…

Yup the latter is what I am trying to accomplish, the icon image for installed extensions.

I mean what @tony-white said, when you visit BlueOS and browse your installed extensions. The icons that are displayed there.

Aaah cool to see that it is in the works at least. This issue you linked describes my wishes perfectly. Thank you all for the responses.