Skip to content

feat(teak): backport sidebar/navigation/breadcrumbs plugin slot changes#1

Merged
igobranco merged 2 commits into
fccn:nau/teak.masterfrom
eduNEXT:bc/backport-sequence-navigation-slot
Jun 1, 2026
Merged

feat(teak): backport sidebar/navigation/breadcrumbs plugin slot changes#1
igobranco merged 2 commits into
fccn:nau/teak.masterfrom
eduNEXT:bc/backport-sequence-navigation-slot

Conversation

@bra-i-am
Copy link
Copy Markdown

@bra-i-am bra-i-am commented May 27, 2026

Backports two upstream PRs onto the Teak branch to allow the course outline sidebar, sequence navigation, and breadcrumbs to be rendered simultaneously.

Changes included:

  • #1716 — migrates sequence navigation into SequenceNavigationSlot
  • #1713 — removes the courseware.enable_navigation_sidebar and courseware.always_open_auxiliary_sidebar waffle flags; sidebar is now always visible

Context

On Teak, the course outline sidebar and breadcrumbs/sequence navigation are mutually exclusive by design — the courseware.enable_navigation_sidebar waffle flag forces operators to choose one or the other. This makes it impossible to show all three elements simultaneously, which is a possible need for deployments that want to provide full course navigation context to learners without sacrificing the outline sidebar.


Behavior after this change

Before After
Course outline sidebar Conditional on waffle flag Always visible
Sequence navigation Conditional on waffle flag Hidden (empty slot)
Breadcrumbs Conditional on waffle flag Hidden (empty slot)
Customization Not possible Via env.config.jsx plugin slots

Evidence - Testing with nau-tutor-configs

  • ENABLE_NAVIGATION_PLUGINS defaults to true

    image
  • "ENABLE_NAVIGATION_PLUGINS": false in the MFE_CONFIG in Site Configurations

    image
  • Screencast

Screencast.from.27-05-26.14.27.17.webm

…x#1713)

* feat: remove waffle flags for managing course outline sidebar

* fix: flag and tests

* fix: product-tours tests

* fix: remove default content for SequenceNavigationSlot and update tests

* fix: remove default content for CourseBreadcrumbsSlot

* fix: update plugin-slots version and documentation

* revert: update plugin-slots version

* fix: update tests
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@bra-i-am bra-i-am requested a review from igobranco May 27, 2026 19:14
Copy link
Copy Markdown
Member

@igobranco igobranco left a comment

Choose a reason for hiding this comment

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

LGTM ✔️

@igobranco igobranco merged commit 99eda1e into fccn:nau/teak.master Jun 1, 2026
4 checks passed
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.

4 participants