Repository navigation
Release v2.4.0
Release v2.4.0
Changelog
Admin chrome hooks (spec 003-admin-chrome-hooks): hosts can theme the dashboard without copying pages. Default output is unchanged (snapshot-tested).
Added
dashboard.classes: class map (allow-listed keys: buttons, row actions, toolbar, search, list/table cells, empty state, badges, page/modal forms, modal actions…). Unset keys keep the UiKit macro / legacy classes. Twig globalnowo_breadcrumb_kit_classes.dashboard.partials:modals,modal_shell(one shell embedded by every modal; ids and*-bodytargets preserved),pagination(receivespagination,item_count,route,route_params,query,nav_label,nav_trans_domain),action_inner(e.g.@NowoUiKitBundle/partials/_action_inner.html.twigforrow_actions_display). Twig globalnowo_breadcrumb_kit_partials.dashboard.ui_kit_stylesheet(defaulttrue),dashboard.collections_view(list|table),dashboard.row_actions_position(start|end),dashboard.cancel_first(modal forms).- Twig blocks on every dashboard page and partial: slot blocks
bk_page_title,bk_page_intro,bk_page_actions,bk_back_link(host layouts pull them withblock()), page blocks (bk_page_header,bk_search,bk_toolbar,bk_results,bk_empty_state,bk_collections_list,bk_collection_row,bk_collection_table_row,bk_collection_row_actions,bk_items_table,bk_item_row,bk_item_link_cell,bk_item_row_actions,bk_pagination,bk_breadcrumb,bk_page_heading,bk_form,bk_form_fields,bk_form_actions…) and modal blocks (bk_modal_*). - Layout contract variables:
bk_page_actions_in_layout,bk_page_title_in_layout,bk_title_suffix. @!NowoBreadcrumbKitBundle/...Twig namespace (always the bundle copy) so an app override can extend the original page and redefine blocks only.- New default partials
dashboard/_pagination.html.twiganddashboard/_modal_shell.html.twig(markup extracted from the pages, unchanged). - Translation key
dashboard.table_items(all 7 locales); catalogue parity + template key tests; render tests for the default output and every hook.
Changed
dashboard.jsscript tag carriesnoncefrom the request attributecsp_noncewhen set.- Full-page collection/item forms use
ui.btn()/ui.row_actions()whencss_frameworkis not Bootstrap (Bootstrap output unchanged).
Full Changelog: v2.3.2...v2.4.0