Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring a custom logo, drops the favicon #27

Closed
corvus-ch opened this issue Mar 29, 2022 · 0 comments · Fixed by #34
Closed

Configuring a custom logo, drops the favicon #27

corvus-ch opened this issue Mar 29, 2022 · 0 comments · Fixed by #34
Labels
bug Something isn't working

Comments

@corvus-ch
Copy link
Member

Steps to Reproduce the Problem

  1. Configure a custom log
  2. Visit the web console

Actual Behavior

No favicon is displayed.

Other observations

  • A browser default favicon is displayed
  • A VSHN favicon is shown (presumably from the IdP).

Expected Behavior

A favicon is displayed

Implementation idea

This is a known upstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1844883. The upstream issue explains how to work around. We can implement that into this component using an existing favicon (the default shown when no logo is configured).

Optional for bonus points: allow configuring also a custom favicon.

@corvus-ch corvus-ch added the bug Something isn't working label Mar 29, 2022
simu added a commit that referenced this issue Jun 9, 2022
When the OCP console is customized, the default favicon is not served,
which is an intentional design decision, as documented in
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c1.

However, that bugzilla provides a workaround to restore the default
favicon when the console is customized, cf.
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c3.

We implement this workaround in this commit if the console logo is
customized, and a custom hostname is configured, as we otherwise can't
configure `spec.hostname` for the additional route.

Ideally, we'd like to allow users to configure a custom favicon if
they're customizing the logo, but that's currently not possible.

Fixes #27
simu added a commit that referenced this issue Jun 10, 2022
When the OCP console is customized, the default favicon is not served,
which is an intentional design decision, as documented in
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c1.

However, that bugzilla provides a workaround to restore the default
favicon when the console is customized, cf.
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c3.

We implement this workaround in this commit if the console logo is
customized, and a custom hostname is configured, as we otherwise can't
configure `spec.hostname` for the additional route.

Ideally, we'd like to allow users to configure a custom favicon if
they're customizing the logo, but that's currently not possible.

Fixes #27
simu added a commit that referenced this issue Jun 10, 2022
When the OCP console is customized, the default favicon is not served,
which is an intentional design decision, as documented in
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c1.

However, that bugzilla provides a workaround to restore the default
favicon when the console is customized, cf.
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c3.

We implement this workaround in this commit if the console logo is
customized, and a custom hostname is configured, as we otherwise can't
configure `spec.hostname` for the additional route.

Ideally, we'd like to allow users to configure a custom favicon if
they're customizing the logo, but that's currently not possible.

Fixes #27
simu added a commit that referenced this issue Jun 10, 2022
When the OCP console is customized, the default favicon is not served,
which is an intentional design decision, as documented in
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c1.

However, that bugzilla provides a workaround to restore the default
favicon when the console is customized, cf.
https://bugzilla.redhat.com/show_bug.cgi?id=1844883#c3.

We implement this workaround in this commit if the console logo is
customized, and a custom hostname is configured, as we otherwise can't
configure `spec.hostname` for the additional route.

Ideally, we'd like to allow users to configure a custom favicon if
they're customizing the logo, but that's currently not possible.

Fixes #27
@simu simu closed this as completed in #34 Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant