-
Notifications
You must be signed in to change notification settings - Fork 160
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
fix(favicon): re-embed dynamic favicon into index.html #2408
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The image is available at: |
8f595d4
to
88115a5
Compare
The image is available at: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must test this, but I think you can change the default here from Janus to RHDH:
@@ -75,8 +75,8 @@ const AppBase = () => { | |||
<AppProvider> | |||
<AlertDisplay /> | |||
<OAuthRequestDialog /> | |||
<ConfigUpdater /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this also help that the favicon isn't loaded on each page change? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This helps with the favicon not loading in the login page, not sure if it helps the favicon not loading with each page change
fixes https://issues.redhat.com/browse/RHIDP-6015 - do not show janus favicons if a custom favicon is set, so that there are no issues with which favicon should take priority - do not use the "Janus Community Showcase" metadata description if `app.title` is set - move the favicon `ConfigUpdater`to outside the `AppRouter` component so that it can work in the `OauthRequestDialog` before:  after: 
The image is available at: |
Which issue(s) does this PR fix
fixes https://issues.redhat.com/browse/RHIDP-6015
Description
app.title
is setConfigUpdater
to outside theAppRouter
component so that it can work in theOauthRequestDialog
before:

after:

PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer
the following shouldn't happen:
app.title
is set