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 administration module to control event actions
issue: NEXT-10498
author: Tobias Berge
author_email: [email protected]
author_github: @tobiasberge
---
- Added new module
sw-event-action
inResources/app/administration/src/module/sw-event-action
- Added module manifest
sw-event-action/index.js
- Added ACL privileges
sw-event-action/acl/index.js
- Added
sw-event-action/page/sw-event-action-detail/sw-event-action-detail
- Added
sw-event-action/page/sw-event-action-list/sw-event-action-list
- Added
sw-event-action/component/sw-event-action-detail-recipients
- Added
sw-event-action/component/sw-event-action-list-expand-labels
- Added new translation file
sw-event-action/snippet/de-DE.json
- Added new translation file
sw-event-action/snippet/en-GB.json
- Added
sw-event-action/helper/snake-case-event-name.helper.js
- Added module manifest
- Added new API service to fetch all business events
Resources/app/administration/src/core/service/api/business-events.api.service.js
- Added new SCSS file
sw-data-grid-column-boolean.scss
to componentResources/app/administration/src/app/component/data-grid/sw-data-grid-column-boolean
in order to provide default colors fortrue
andfalse
default icons. - Added root CSS class
.sw-data-grid-column-boolean
toResources/app/administration/src/app/component/data-grid/sw-data-grid-column-boolean/sw-data-grid-column-boolean.html.twig
template - Added new date prop
testMailSalesChannelId
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
- Deprecated multi select
sw_mail_template_basic_form_sales_channels_field
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/sw-mail-template-detail.html.twig
, will be removed - Deprecated data prop
mailTemplateSalesChannels
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated data prop
mailTemplateSalesChannelsAssoc
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated data prop
salesChannelTypeCriteria
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated computed
mailTemplateSalesChannelAssociationRepository
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated association
salesChannels.salesChannel
from criteria of methodloadEntityData
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
createSalesChannelCollection
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
getPossibleSalesChannels
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
setSalesChannelCriteria
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
enrichAssocStores
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
handleSalesChannel
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
mailTemplateHasSaleschannel
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
salesChannelIsSelected
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated method
undeleteSaleschannel
inResources/app/administration/src/module/sw-mail-template/page/sw-mail-template-detail/index.js
, will be removed - Deprecated component
Resources/app/administration/src/module/sw-order/component/sw-order-state-change-modal/sw-order-state-change-modal-assign-mail-template
, will be removed - Deprecated computed
showDocuments
inResources/app/administration/src/module/sw-order/component/sw-order-state-change-modal
, will be removed - Deprecated method
onNoMailConfirm
inResources/app/administration/src/module/sw-order/component/sw-order-state-change-modal
, will be removed - Deprecated method
onAssignMailTemplate
inResources/app/administration/src/module/sw-order/component/sw-order-state-change-modal
, will be removed - Deprecated
sw_order_state_change_modal_assign_mail_template_component
inResources/app/administration/src/module/sw-order/component/sw-order-state-change-modal/sw-order-state-change-modal.html.twig
, will be removed - Deprecated data prop
mailTemplatesExist
inResources/app/administration/src/module/sw-order/component/sw-order-state-history-card/index.js
, will be removed - Changed the
mailTemplatesExist
prop assignment value ofsw-order-state-change-modal
totrue
inResources/app/administration/src/module/sw-order/component/sw-order-state-history-card.html.twig
- Added new flag
Shopware\Core\Framework\DataAbstractionLayer\Field\Flag\SearchRanking
to fieldevent_name
inShopware\Core\Framework\Event\EventAction\EventActionDefinition::defineFields
- Added new flag
Shopware\Core\Framework\DataAbstractionLayer\Field\Flag\SearchRanking
to fieldaction_name
inShopware\Core\Framework\Event\EventAction\EventActionDefinition::defineFields
With the new event action module (sw-event-action
) the user can configure which mail template will be sent for a business event. This makes other assignments superfluous:
- The assignment for mail templates inside the order module (when changing the order state) is no longer needed.
- The component
sw-order-state-change-modal-assign-mail-template
is deprecated fortag:v6.0.0
and is not being rendered anymore from now on. Changes which have been made to this component will not be visible. - The assignment of sales channels inside the mail template detail page is no longer needed.
- The select field inside the block
sw_order_state_change_modal_assign_mail_template_component
inResources/app/administration/src/module/sw-order/component/sw-order-state-change-modal/sw-order-state-change-modal.html.twig
was removed.- The twig block is still present but css or template extensions which rely on the field to be displayed may have to be adjusted.
- A sales channel selection is only needed in order to send a test mail and has been added to the
sidebar
slot ofsw-mail-template-detail
component.