Skip to content

feat: keep the course bars when the header is replaced - #351

Open
arbrandes wants to merge 1 commit into
openedx:mainfrom
arbrandes:arbrandes/hoist-course-bars
Open

arbrandes wants to merge 1 commit into
openedx:mainfrom
arbrandes:arbrandes/hoist-course-bars

Conversation

@arbrandes

Copy link
Copy Markdown
Contributor

Description

Replacing org.openedx.frontend.widget.header.main.v1 also removed the masquerade bar and the course navigation bar, because Header rendered their slots. DefaultLayout now renders both as siblings of org.openedx.frontend.slot.header.main.v1, so a custom header leaves them in place.

No slot or widget id changes, and the default DOM order is the same. A replacement header that renders the two bar slots itself should stop doing so, or the bars will show up twice.

Closes #347

LLM usage notice

Built with assistance from Claude.

Replacing the header's main widget also removed the masquerade bar and
the course navigation bar. They are now regions of their own, so a
custom header leaves them in place. A replacement header that renders
the two bar slots itself should stop doing so.

Closes openedx#347

Co-Authored-By: Claude <noreply@anthropic.com>
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.

Replacing the header's main widget also removes the course navigation bar and masquerade bar slots

1 participant