Skip to content

Release v1.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:44

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

  • presentation configuration (YAML under nowo_breadcrumb_kit.presentation):
    • home_icon — global fallback when a collection has no homeIcon.
    • home_icon_replaces_label — when true (default), the first crumb can show only the home icon; the text label remains in aria-label.
    • hide_when_single_root — when true, hides the trail on pages where the only crumb is the root item and it is the current page (typical home). Per-collection override via responsiveConfig.hide_when_single_root in the dashboard.
  • Twig partial _breadcrumb_crumb.html.twig for 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 property homeIconReplacesLabel (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 homeIcon field (EN/ES).

Documentation

  • CONFIGURATION.md: presentation.* reference and example YAML.
  • USAGE.md: presentation options and _breadcrumb_crumb.html.twig override.

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

Full Changelog: v1.0.0...v1.2.0