Skip to content

Breadcrumbs from root and everywhere#2

Closed
AZsSPC wants to merge 13 commits into
MOODLE_41from
Breadcrumbs-from-root-and-everywhere
Closed

Breadcrumbs from root and everywhere#2
AZsSPC wants to merge 13 commits into
MOODLE_41from
Breadcrumbs-from-root-and-everywhere

Conversation

@AZsSPC
Copy link
Copy Markdown

@AZsSPC AZsSPC commented Apr 17, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the theme’s breadcrumb rendering and styling so breadcrumbs are always rendered from the root trail and visually styled as “chevrons”.

Changes:

  • Simplifies the breadcrumbs Mustache template to iterate directly over items (removes the extra list wrapper).
  • Updates the theme renderer to return a flat breadcrumb item array, and ensures the last breadcrumb is non-clickable.
  • Revises breadcrumb and navigation styling (chevron look via clip-path, alternating backgrounds, and removes some max-width constraints).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
templates/breadcrumbs.mustache Removes the outer list wrapper and renders a single <ol> using items.
scss/standard.scss Adjusts breadcrumb styling (chevron shapes, alternation) and loosens navigation width constraints.
classes/output/core_renderer.php Changes breadcrumb data shape, adds a “My courses” crumb for course-view pages, and passes items directly to the template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scss/standard.scss Outdated
Comment thread scss/standard.scss Outdated
Comment thread classes/output/core_renderer.php Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scss/standard.scss Outdated
Comment thread scss/standard.scss Outdated
Comment thread classes/output/core_renderer.php Outdated
@matasarei matasarei force-pushed the Breadcrumbs-from-root-and-everywhere branch from 95b097a to 414bd40 Compare April 19, 2026 19:37
@matasarei matasarei closed this Apr 19, 2026
@matasarei matasarei deleted the Breadcrumbs-from-root-and-everywhere branch April 19, 2026 19:49
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.

3 participants