Skip to content

Site-level logo settings that aren't tied to the header #358

Description

@arbrandes

Description

The site's logo is configured as headerLogoImageUrl, which the shell's Logo component reads. Two things are off about that.

The name says "header", but the same component is used in the footer, and apps need the logo too. Authn's pages are chromeless, so it draws the logo itself, and it currently keeps its own LOGO_URL app config key to do it. That's how we got openedx/frontend-app-authn#1700: the LMS translates a legacy LOGO_URL to the site-level setting only, and Authn never sees it.

And there's no site-level setting for the white variant. Authn needs one for its image layouts, so LOGO_WHITE_URL lives on as an Authn app config key. One logo comes from the site and the other from an app, which makes no sense to an operator.

The proposal: neutral, site-level settings for the logo and for its white variant, which the shell and any app can read. headerLogoImageUrl stays as a deprecated alias. The LMS then maps the legacy LOGO_URL and LOGO_WHITE_URL to them, and Authn drops both of its app config keys.

This is a requirement for Willow. It's also the proper fix for openedx/frontend-app-authn#1700: Authn reads the site-level settings, instead of growing a fallback of its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions