Skip to content

fix: prevent duplicate logo in MFE header#19

Merged
ahmed-arb merged 1 commit into
ulmo/fbrfrom
fbr/fix/duplicate-logo-in-mfe-header
Apr 1, 2026
Merged

fix: prevent duplicate logo in MFE header#19
ahmed-arb merged 1 commit into
ulmo/fbrfrom
fbr/fix/duplicate-logo-in-mfe-header

Conversation

@ahmed-arb

Copy link
Copy Markdown

Summary

  • The FBR logo was appearing twice side by side in the Learner Dashboard MFE header
  • _add_themed_logo inserts ThemedLogo into logo_slot for all MFEs, but addPlugins() hardcodes keepDefault: true, causing the default brand logo to render alongside ThemedLogo
  • Fix: set keepDefault: false for logo_slot in mfe-env-config-runtime-final, so only ThemedLogo renders — same pattern as the existing footer deduplication fix in that file

Test plan

  • Trigger dev-deploy workflow to rebuild MFE images
  • Verify only one FBR logo appears in the Learner Dashboard MFE header
  • Verify dark mode still correctly shows the white logo variant

🤖 Generated with Claude Code

…ult content

The _add_themed_logo function inserts ThemedLogo into logo_slot for all
MFEs, but addPlugins() hardcodes keepDefault: true, which causes the
default brand logo to render alongside ThemedLogo — showing the FBR logo
twice side by side.

Set keepDefault: false for logo_slot in mfe-env-config-runtime-final
so only ThemedLogo renders in the slot, matching the same pattern used
for the footer deduplication fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ahmed-arb ahmed-arb requested a review from arbirali April 1, 2026 09:31
@ahmed-arb ahmed-arb merged commit 0a924c4 into ulmo/fbr Apr 1, 2026
1 check failed
@ahmed-arb ahmed-arb deleted the fbr/fix/duplicate-logo-in-mfe-header branch April 1, 2026 09:36
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.

2 participants