Skip to content

Fireedge: Allow the customization of the favicon (not only the logo) #7484

@brodriguez-opennebula

Description

@brodriguez-opennebula

Description
Currently, the logo can be modified updating the file /etc/one/fireedge/sunstone/views/sunstone-views.yaml and uploading the new logo to /usr/lib/one/fireedge/dist/client/assets/images/logos. Automatically, Fireedge uses the same logo as favicon for the web interface, but the favicon cannot be specified.

Use case
Normally, favicons relation aspect is 1:1 and prioritize a part of the full logo, while logos are not expected to be shown in a canvas smaller than 128x128 pixels.

Interface Changes
A possible solution could be setting a parameter favicon on /etc/one/fireedge/sunstone/views/sunstone-views.yaml to make it look like

# /etc/one/fireedge/sunstone/views/sunstone-views.yaml
---
logo: linux.png
favicon: square.ico

The favicon could be in the path /usr/lib/one/fireedge/dist/client/assets/favicon/square.ico, for instance

Additional Context

If there is any need to set up the favicon in different resolutions (i.e. square_16x16.png, square_32x32.png) it may be needed to be added to the documentation. Thank you!

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions