Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Add a new tab in rule details to show rule assignments
issue: NEXT-12289
author: Tobias Berge
author_email: [email protected]
author_github: @tobiasberge
---
- Changed
sw-settings-rule/index.js
module manifest and added new child routes:sw.settings.rule.detail.base
sw.settings.rule.detail.assignments
- Changed
sw-settings-rule/acl/index.js
and added the following privileges forviewer
role:shipping_method_price:read
product:read
product_price:read
promotion:read
promotion_discount:read
promotion_setgroup:read
event_action:read
- Added new component
sw-settings-rule-detail-assignments
- Added new computed prop
tabItems
tosw-settings-rule-detail/index.js
- Deprecated the following blocks in
sw-settings-rule-detail/sw-settings-rule-detail.html.twig
sw_settings_rule_detail_content_card
sw_settings_rule_detail_content_card_field_name
sw_settings_rule_detail_content_card_field_priority
sw_settings_rule_detail_content_card_field_description
sw_settings_rule_detail_content_card_field_type
sw_settings_rule_detail_conditions_card
- Deprecated computed prop
availableModuleTypes
insw-settings-rule-detail/index.js
, will be moved tosw-settings-rule-detail-base/index.js
- Deprecated computed prop
moduleTypes
insw-settings-rule-detail/index.js
, will be moved tosw-settings-rule-detail-base/index.js
- Deprecated computed prop
mapPropertyErrors
insw-settings-rule-detail/index.js
, will be moved tosw-settings-rule-detail-base/index.js
- Added new prop
steps
tosw-entity-listing
component to allow overriding the default pagination steps - Changed method
createTreeRecursive
insw-condition-tree/index.js
and filter out already existing children - Changed method
applyRootIfNecessary
insw-condition-tree/index.js
in order to always add therootContainer
to theinitialConditions
to ensure theparentId
is always correct