Release v1.2.0
Release v1.2.0
Presentation options: home_icon, home_icon_replaces_label,
hide_when_single_root. Twig partial _breadcrumb_crumb.html.twig.
See docs/CHANGELOG.md for details.
Changelog
Added
presentationconfiguration (YAML undernowo_breadcrumb_kit.presentation):home_icon— global fallback when a collection has nohomeIcon.home_icon_replaces_label— whentrue(default), the first crumb can show only the home icon; the text label remains inaria-label.hide_when_single_root— whentrue, hides the trail on pages where the only crumb is the root item and it is the current page (typical home). Per-collection override viaresponsiveConfig.hide_when_single_rootin the dashboard.
- Twig partial
_breadcrumb_crumb.html.twigfor a single crumb (link, current, or plain text + optional icon). - Unit tests for single-root hiding and home-icon presentation on
BreadcrumbLoader.
Changed
BreadcrumbTrailView: new propertyhomeIconReplacesLabel(passed from config).breadcrumb.html.twig: includes_breadcrumb_crumb.html.twig; wrapper renders only when the trail has nodes or inline-edit toolbar is shown.- Dashboard collection form: help text for
homeIconfield (EN/ES).
Documentation
- CONFIGURATION.md:
presentation.*reference and example YAML. - USAGE.md: presentation options and
_breadcrumb_crumb.html.twigoverride.
What's Changed
- chore(ci): bump codecov/codecov-action from 5 to 7 by @dependabot[bot] in #3
- chore(ci): bump actions/cache from 5 to 6 by @dependabot[bot] in #1
- chore(ci): bump actions/github-script from 7 to 9 by @dependabot[bot] in #2
New Contributors
- @dependabot[bot] made their first contribution in #3
Full Changelog: v1.0.0...v1.2.0