-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OP-558: Sylius 2 upgrade #71
base: main
Are you sure you want to change the base?
Conversation
src/Resources/views/AutomaticBlacklistingConfiguration/Admin/form.html.twig
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked this, but I think @mpysiak review is more relevant than my
…delete exclude in build.yml and codding_standard.yml
7f1d52c
to
3f334ad
Compare
…s to templates, delete Resources directory
… winzou state machine in customer.yaml, update twig_hooks in yaml files
…and bundles, fix errors
…workflow, fix erors
2c7522f
to
7805483
Compare
…ver in composer.json to fix behat
.../templates/bundles/SyliusAdminBundle/order/show/content/header/title_block/actions.html.twig
Outdated
Show resolved
Hide resolved
- { resource: "resources.yaml" } | ||
- { resource: "services.xml" } | ||
- { resource: "grids.yaml" } | ||
- { resource: "state_machine.yaml" } | ||
- { resource: "workflow.yaml" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sylius 2.0 also supports Winzou. It is not installed by default, but you can still use it. So I would suggest that plugin also support both state machines
<argument type="service" id="form.factory" /> | ||
<argument>%bitbag_sylius_blacklist_plugin.model.automatic_blacklisting_configuration.class%</argument> | ||
<argument>BitBag\SyliusBlacklistPlugin\Form\Type\AutomaticBlacklistingConfigurationType</argument> | ||
<tag name="sylius.live_component.admin" key="sylius_admin:automatic_blacklisting_configuration:form" template="@BitBagSyliusBlacklistPlugin/AutomaticBlacklistingConfiguration/Admin/form.html.twig"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great if user in project could change that template without need to decorate whole service. Move add template to prop in twig_hook also. Take a look how it is done in Sylius
…o plugin directory
No description provided.