Repository navigation
Release v2.8.0
v2.8.0
Changelog
Requires UiKit ^2.2 (body-only form page, table partial); placeholders, labels and choices translated once by the form theme — form types no longer take a translator. See UPGRADING.
Changed
- Requires
nowo-tech/ui-kit-bundle^2.2 (default-theme polish: table header hierarchy, striped rows, row actions
on one line, search filter as a grid row, subtle badges, muted help text). See UPGRADING. - Full item page, configuration section (Live component): UiKit 2.2 body-only form page (
FormPage::$formnull)
instead of a field-less "shell"FormViewwrapping the component in embedded mode. The component renders its own
form (Livesaveaction, then redirect to the menu, as in the dialog) and a Cancel link (new LiveProp
cancelHref).DashboardPages::itemFormPage()accepts a null form. - Demo: the host layout prints the UiKit runtimes through the UiKit
scriptspartial.
Deprecated
ItemFormLiveComponent::$embeddedis no longer used by the bundle pages (kept for host templates that embed the
component inside their own form).
Fixed
- Missing / double translations (profiler): the form types translated placeholders, help texts, labels and choice
labels with$t()and the form theme looked the translated text up again inNowoDashboardMenuBundle("e.g.
sidebar", "Search by code or name…", "Use menu default", "Skip (do not import)"…). They are now catalogue keys
translated once by the theme (CopyMenuType,MenuDefinitionType,MenuConfigType,MenuItemConfigType,
MenuItemIconType,SearchQueryType,ImportMenuType); the list search no longer sets aFilterField
placeholder (UiKit translated it before the theme did). Literal choices are not looked up
(choice_translation_domain: false): permission checker service ids, app route labels, parent item labels.
CopyMenuType,MenuDefinitionType,MenuConfigTypeandMenuItemIconTypeno longer take a$translator
constructor argument (service definitions updated). A contract test renders every dashboard page with a
DataCollectorTranslatorand asserts no missing message.
Full Changelog: v2.7.0...v2.8.0