Skip to content

Release v2.8.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 14:02
· 66 commits to main since this release

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::$form null)
    instead of a field-less "shell" FormView wrapping the component in embedded mode. The component renders its own
    form (Live save action, 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 scripts partial.

Deprecated

  • ItemFormLiveComponent::$embedded is 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 in NowoDashboardMenuBundle ("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 a FilterField
    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, MenuConfigType and MenuItemIconType no longer take a $translator
    constructor argument (service definitions updated). A contract test renders every dashboard page with a
    DataCollectorTranslator and asserts no missing message.

Full Changelog: v2.7.0...v2.8.0