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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Flashing Contoso logo when custom logo is present #962

Merged
merged 3 commits into from
Jul 11, 2024

Conversation

iseabock
Copy link
Contributor

@iseabock iseabock commented Jun 25, 2024

Motivation and Context

I noticed when using a custom logo, there was a flash of the Contoso logo before the custom logo was available.

Description

I have a set an isLoading bool so that we can know whether or not the ui settings are set particularly the logo. While is loading is true no logo is shown. When isLoading is false, we check for ui.logo and if true then show that one otherwise show the Contoso logo.

Recording.2024-06-25.141621.mp4

Contribution Checklist

  • I have built and tested the code locally and in a deployed app
  • For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • This is a change for all users of this app. No code or asset is specific to my use case or my organization.
  • I didn't break any existing functionality 馃槃

@iseabock iseabock force-pushed the NO-TASK-fix-flashing-logo-when-custom-logo-is-present branch from 999f813 to d2cb933 Compare July 10, 2024 23:15
Copy link
Member

@abhahn abhahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for addressing my comments!

@iseabock iseabock merged commit e256fd1 into main Jul 11, 2024
9 checks passed
@iseabock iseabock deleted the NO-TASK-fix-flashing-logo-when-custom-logo-is-present branch July 11, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants