Skip to content

Release v0.3.38

Choose a tag to compare

@github-actions github-actions released this 06 Apr 10:29

Release 0.3.38

Fixed dashboard import modal (GET ?_modal=1 + controller query flag).

Menu: collapsible sections use a.menu-section-label-link + chevron; span for
non-collapsible headings; section children flatten when sectionCollapsible is
false; Twig macro comments.

Demos: CSS for menu-section-label-link. Docs: CHANGELOG, UPGRADING, USAGE, RELEASE.

Changelog

Changed

  • Frontend menu (menu.html.twig): when a section has “Hijos de la sección colapsables: no” (sectionCollapsible === false), child items are rendered as sibling <li> elements (same parent <ul> as the section header), not inside a nested <ul> under the section.
  • Collapsible sections with children: markup matches link rows with children<a class="… menu-section-label-link"> for the heading (non-navigating; tabindex="-1") plus the same chevron button as link items; optional item_span_active wrapper unchanged. Sections without a collapse row (always expanded / no children) still use a plain <span> for the label.
  • Menu macro: additional Twig comments documenting depth limits, class resolution, and collapsible behaviour.

Fixed

  • Dashboard import modal: initial GET load now requests ?_modal=1 and MenuDashboardController::import() treats _modal in the query or request body as modal mode, so the response is _import_partial.html.twig instead of the full import.html.twig page (fixes broken layout inside the modal).

Documentation

  • Demos (Symfony 7/8): base.html.twig documents and styles a.menu-section-label-link (cursor, hover, pointer-events) so section headings do not look like normal menu links when global a rules apply.

Full Changelog: v0.3.37...v0.3.38