Skip to content
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

Add dependency to PageBuilder #22

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Add dependency to PageBuilder #22

merged 1 commit into from
Jun 10, 2024

Conversation

MarijaIv
Copy link
Collaborator

@MarijaIv MarijaIv commented Jun 7, 2024

What is the goal?

We have reviewed the PR and came to the conclusion that it is not safe to merge it.
The dependency to the ProviderInterface is necessary for the WidgetConfig class in order for widget preview to work. If we remove the dependency, widgets preview will not work in Magento’s backoffice, therefore the merchants that want to use widgets will not be able to configure them.

Instead, we have added the dependency to the Magento_PageBuilder to the module, because with the current implementation, this is correct.

However, this would prevent merchants that have Magento shop’s without page builder from installing the module and using the payment methods in checkout. We would need input from SeQura team how we should handle this issue. We could remove widgets implementation from the core module version and create a new module for widgets functionality. However, we would need to further analyze this, since it would be a big change, and that should be a change request.

How is it being implemented?

Added dependency to Magento_PageBuilder in module.xml file.

Does it affect (changes or update) any sensitive data?

No.

How is it tested?

Manual test. Install module via composer.

How is it going to be deployed?

Standard deployment.

@m1k3lm m1k3lm merged commit 15966cc into master Jun 10, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants