Repository navigation
Release v1.7.0
Release v1.7.0
Changelog
Added
- Admin chrome hooks (spec 002) so hosts theme the panel without forking pages:
maintenance_*Twig blocks onpanel/index,panel/history,panel/login(nav, page header / title / intro / header actions, flashes, status, state details, forms, toolbar, table wrapper / head / row / row actions, empty state, pagination) and on the publicmaintenance/page(html / body attributes,title, head, fonts, styles, head extra, brand, heading, message, reassure, footer, scripts).web_ui.classesCSS class map (defaults = previous hard-coded classes; empty /nulldrops the attribute).web_ui.partials.nav/form_fields/pagination; newpanel/_nav.html.twig(default) and opt-inpanel/_nav_tabs.html.twig(UiKit tabs,aria-current).web_ui.show_page_header,web_ui.document_title,web_ui.test_idsflags.- Twig global
nowo_maintenance_mode_chrome; defaults inNowo\MaintenanceModeBundle\Twig\PanelChrome. - Translation key
panel.nav.aria_label(7 locales) for the formerly hard-coded navaria-label.
- Docs: USAGE "Customising the admin chrome" (with a per-fork verdict for symfony-beacon); CONFIGURATION class-map table.
- Tests: golden render tests (default output byte-identical to 1.6.1 apart from the logout fix below) and override tests for every hook.
Fixed
- Panel index: the logout button no longer renders when no password gate is active (
password_protection: falseor nopassword_hash). The template usedpassword_required|default(true), and Twig'sdefaulttreatsfalseas empty; it now usespassword_required ?? true.
Dependencies
- Dev lock:
nowo-tech/ui-kit-bundle1.12.0 (render tests pass on 1.9.2 and 1.12.0). Demosymfony8: regeneratedconfig/reference.php.
Changed
- Development:
composer.jsonpinsconfig.platform.phpto 8.2.0 so the committed lock stays installable on the minimum PHP; CI overrides the platform per matrix cell. Dev lock re-resolved for PHP 8.2 (Symfony components 8.1.x → 7.4.x,symfony/polyfill-deepclonedropped).
Full Changelog: v1.6.1...v1.7.0