Skip to content

Conversation

@juan-fdz-hawa
Copy link
Contributor

Changed display logic for the organization logo component on the 'My Device' page to prevent flickering.

Related issue: Resolves #33136

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.

Testing

  • QA'd all new/changed functionality manually

Changed display logic for the organization logo component on the
'My Device' page to prevent flickering.
@juan-fdz-hawa juan-fdz-hawa requested a review from a team as a code owner October 10, 2025 12:58
@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.23%. Comparing base (215fb90) to head (6b389d0).
⚠️ Report is 42 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #34084      +/-   ##
==========================================
- Coverage   64.23%   64.23%   -0.01%     
==========================================
  Files        2057     2057              
  Lines      206744   206784      +40     
  Branches     6767     6784      +17     
==========================================
+ Hits       132805   132825      +20     
- Misses      63525    63545      +20     
  Partials    10414    10414              
Flag Coverage Δ
frontend 53.66% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@sgress454 sgress454 left a comment

Choose a reason for hiding this comment

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

Sorry for the delay! Loading spinner looks good, question about the fallback icon.

{isLoadingHost ? (
<Spinner />
) : (
<OrgLogoIcon className="logo" src={orgLogoURL} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we not want to still back to FleetIcon if there's no logo URL?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be fine, if no src is provided then the component goes through its onError handler which sets the source to a default fleet logo ([email protected]).

@juan-fdz-hawa juan-fdz-hawa merged commit 04d937c into main Oct 14, 2025
15 checks passed
@juan-fdz-hawa juan-fdz-hawa deleted the 33136-custom-organization-logo-bug branch October 14, 2025 19:51
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.

Custom organization logo: Not updated on save & strange loading state on My device page

2 participants