Skip to content

feat: hide shell header and footer dynamically#1663

Merged
arbrandes merged 1 commit intoopenedx:frontend-basefrom
arbrandes:dynamic-hide-header-footer
Apr 10, 2026
Merged

feat: hide shell header and footer dynamically#1663
arbrandes merged 1 commit intoopenedx:frontend-basefrom
arbrandes:dynamic-hide-header-footer

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

@arbrandes arbrandes commented Apr 9, 2026

Description

Uses the new provides mechanism from frontend-base to declare which authn roles should trigger chromeless mode (no shell header or footer). All five authn roles (login, register, resetPassword, confirmPassword, welcome) are listed under providesChromelessRolesId, preserving the existing behavior where header and footer are hidden on all authn pages.

Depends on openedx/frontend-base#220.

LLM usage notice

Built with assistance from Claude.

@arbrandes arbrandes marked this pull request as draft April 9, 2026 19:31
@arbrandes arbrandes force-pushed the dynamic-hide-header-footer branch from 02075fe to 503949b Compare April 10, 2026 12:08
@arbrandes arbrandes changed the title feat: provide roles to hide shell header and footer feat: hide shell header and footer dynamically Apr 10, 2026
@arbrandes arbrandes linked an issue Apr 10, 2026 that may be closed by this pull request
@arbrandes arbrandes force-pushed the dynamic-hide-header-footer branch from 503949b to a149531 Compare April 10, 2026 16:01
Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes arbrandes force-pushed the dynamic-hide-header-footer branch from a149531 to f3e253a Compare April 10, 2026 17:47
@arbrandes arbrandes marked this pull request as ready for review April 10, 2026 17:47
Copy link
Copy Markdown
Contributor

@brian-smith-tcril brian-smith-tcril left a comment

Choose a reason for hiding this comment

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

LGTM!

What I was in the middle of writing before this updated

Once this includes a package-lock.json update the

Module '"@openedx/frontend-base"' has no exported member 'providesChromelessRolesId'.

problem should go away.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (frontend-base@e11cd04). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/provides.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             frontend-base    #1663   +/-   ##
================================================
  Coverage                 ?   92.08%           
================================================
  Files                    ?       93           
  Lines                    ?     2046           
  Branches                 ?      588           
================================================
  Hits                     ?     1884           
  Misses                   ?      159           
  Partials                 ?        3           

☔ 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.

@arbrandes arbrandes merged commit b61a6f4 into openedx:frontend-base Apr 10, 2026
6 checks passed
@arbrandes arbrandes deleted the dynamic-hide-header-footer branch April 10, 2026 17:59
@openedx-semantic-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0-alpha.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header slot deactivation via provides:

3 participants