Repository navigation
Release v2.7.1
v2.7.1
Changelog
Requires UiKit ^2.2 (breadcrumbs modes); dashboard search and item placeholders translated once. See UPGRADING.
Changed
- Requires
nowo-tech/ui-kit-bundle^2.2 (default-theme polish: table header hierarchy, striped rows, filter row
on a grid, subtle badges, muted help text in the dialogs). See UPGRADING. - Dashboard form dialogs are UiKit 2.2 remote dialogs: the New / Edit / Collection styles actions carry
Action::dialogIdand the full-page form URL (data-nowo-ui-dialog-src),js/nowo-ui-dialog.jsfetches the form
(the controllers answer anX-Requested-WithGET, as well as?_partial=1, with the form partial) and
js/dashboard.jsonly shows the loading text, sets the dialog title from the form and keeps submit-once. On a failed
request the opener now navigates to the full-page form (was: an error text in the dialog). - Dashboard page headers set
PageHeader::breadcrumbsModeauto(DashboardPages::BREADCRUMBS_MODE): the
BreadcrumbKit trail configured for the dashboard routes, else the dashboard's own trail (UiKit 2.2 falls back to it
when the kit trail is empty).
Removed
- The "← Collections" / "← Items" header actions of the collection form, item form, items list and import pages
(2.7 workaround for a missing way back): the page-header trail is always there with UiKit 2.2.
Deprecated
DashboardPages::dialogOpener()(thedata-bk-dialog-url/?_partial=1opener attributes): use
Action::$dialogIdwith the form URL.js/dashboard.jsstill loads such openers until 3.0.
Fixed
- Missing / double translations (profiler): the dashboard search placeholder was translated by the controllers and
by the page model (FilterField), then looked up again by the form theme inmessages.DashboardGetSearchType
now uses theNowoBreadcrumbKitBundledomain andsearch_placeholderis the keydashboard.search_placeholder,
translated once by the theme (noFilterFieldplaceholder). The item form's literal placeholders are catalogue keys
(form.breadcrumb_item.route_name.placeholder=app_product_show,form.breadcrumb_item.path_pattern.placeholder
=^/shop/.+, 7 locales); the parent choices (item labels) and the inline-edit access keys are not translated
(choice_translation_domain: false). A contract test renders every dashboard page with aDataCollectorTranslator
and asserts no missing message.
Demo
- The host layout prints the UiKit runtimes through the UiKit
scriptspartial (the hand-kept list lackedmodal,
tabsandtheme).
Full Changelog: v2.7.0...v2.7.1