Skip to content

Commit 733f89d

Browse files
author
Hwashiang Yu
committed
Merge remote-tracking branch 'upstream/develop' into MC-3946-couldnt-switch-between-tabs-inside-dynamic-block-page-on-storefront
2 parents 8c7dd9b + c35f50f commit 733f89d

File tree

145 files changed

+2946
-1636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+2946
-1636
lines changed

app/code/Magento/PageBuilder/docs/CONTRIBUTING.md renamed to CONTRIBUTING.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,11 @@
1313
5. [Roadmap and known issues]
1414
6. [How to create custom PageBuilder content type container]
1515

16-
[Introduction]: README.md
17-
[Contribution guide]: CONTRIBUTING.md
18-
[Installation guide]: install.md
19-
[Developer documentation]: developer-documentation.md
20-
[Architecture overview]: architecture-overview.md
21-
[BlueFoot to PageBuilder data migration]: bluefoot-data-migration.md
22-
[Third-party content type migration]: new-content-type-example.md
23-
[Iconography]: iconography.md
24-
[Add image uploader to content type]: image-uploader.md
25-
[Module integration]: module-integration.md
26-
[Additional data configuration]: custom-configuration.md
27-
[Content type configuration]: content-type-configuration.md
28-
[How to add a new content type]: how-to-add-new-content-type.md
29-
[Events]: events.md
30-
[Bindings]: bindings.md
31-
[Master format]: master-format.md
32-
[Visual select]: visual-select.md
33-
[Reuse product conditions in content types]: product-conditions.md
34-
[Store component master format as widget directive]: widget-directive.md
35-
[Use the block chooser UI component]: block-chooser-component.md
36-
[Use the inline text editing component]: inline-editing-component.md
37-
[Render a backend content type preview]: content-type-preview.md
38-
[Custom Toolbar]: toolbar.md
39-
[Full width page layouts]: full-width-page-layouts.md
40-
[Add custom logic to content types]: add-custom-logic.md
41-
[Roadmap and Known Issues]: roadmap.md
42-
[How to create custom PageBuilder content type container]: how-to-create-custom-content-type-container.md
16+
[Introduction]: docs/introduction.md
17+
[Installation guide]: docs/install.md
18+
[Developer documentation]: docs/developer-documentation.md
19+
[Roadmap and Known Issues]: docs/roadmap.md
20+
[How to create custom PageBuilder content type container]: docs/how-to-create-custom-content-type-container.md
4321

4422
## Overview
4523

@@ -67,8 +45,8 @@ The Magento 2 development team will review all issues and contributions submitte
6745

6846
If you are a new GitHub user, we recommend that you create your own [free github account](https://github.com/signup/free). By doing that, you will be able to collaborate with the Magento 2 development team, “fork” the Magento 2 project and be able to easily send “pull requests”.
6947

70-
1. Search current [listed issues](https://github.com/magento/magento2-page-builder/issues) on GitHub (open or closed) and [list of known issues](roadmap.md#Known Issues) on our roadmap for similar proposals of intended contribution before starting work on a new contribution.
71-
2. Please contact us in Slack chanel if you want to work on issue from [list of known issues](roadmap.md#Known Issues).
48+
1. Search current [listed issues](https://github.com/magento/magento2-page-builder/issues) on GitHub (open or closed) and [list of known issues](docs/roadmap.md#Known Issues) on our roadmap for similar proposals of intended contribution before starting work on a new contribution.
49+
2. Please contact us in Slack chanel if you want to work on issue from [list of known issues](docs/roadmap.md#Known Issues).
7250
2. Review the [Contributor License Agreement](https://magento.com/legaldocuments/mca) if this is your first time contributing.
7351
3. Create and test your work.
7452
4. Fork the Magento 2 repository according to [Fork a repository instructions](http://devdocs.magento.com/guides/v2.0/contributor-guide/contributing.html#fork) and when you are ready to send us a pull request – follow [Create a pull request instructions](http://devdocs.magento.com/guides/v2.0/contributor-guide/contributing.html#pull_request). Instructions written for `https://github.com/magento/magento2` repository, but they also apply to `https://github.com/magento/magento2-page-builder`.

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ We offer two methods for installing PageBuilder:
1818
* As a [Composer package] - use this option if you do not plan to contribute to the PageBuilder code repository
1919
* Using the [GitHub repository] - use this option to install PageBuilder from the GitHub repository and contribute to the code
2020

21-
[Composer package]: app/code/Magento/PageBuilder/docs/install.md#composer-installation
22-
[GitHub repository]: app/code/Magento/PageBuilder/docs/install.md#github-installation
21+
[Composer package]: docs/install.md#composer-installation
22+
[GitHub repository]: docs/install.md#github-installation
2323

2424
## Developer documentation
2525

@@ -39,19 +39,19 @@ This project repository contains PageBuilder developer documentation on the foll
3939
1. [Visual select]
4040
1. [Custom Toolbar]
4141

42-
[Architecture overview]: app/code/Magento/PageBuilder/docs/architecture-overview.md
43-
[BlueFoot to PageBuilder data migration]: app/code/Magento/PageBuilder/docs/bluefoot-data-migration.md
44-
[Third-party content type migration]: app/code/Magento/PageBuilder/docs/new-content-type-example.md
45-
[Iconography]: app/code/Magento/PageBuilder/docs/iconography.md
46-
[Module integration]: app/code/Magento/PageBuilder/docs/module-integration.md
47-
[Additional data configuration]: app/code/Magento/PageBuilder/docs/custom-configuration.md
48-
[Content type configuration]: app/code/Magento/PageBuilder/docs/content-type-configuration.md
49-
[How to add a new content type]: app/code/Magento/PageBuilder/docs/how-to-add-new-content-type.md
50-
[Events]: app/code/Magento/PageBuilder/docs/events.md
51-
[Bindings]: app/code/Magento/PageBuilder/docs/bindings.md
52-
[Master format]: app/code/Magento/PageBuilder/docs/master-format.md
53-
[Visual select]: app/code/Magento/PageBuilder/docs/visual-select.md
54-
[Custom Toolbar]: app/code/Magento/PageBuilder/docs/toolbar.md
42+
[Architecture overview]: docs/architecture-overview.md
43+
[BlueFoot to PageBuilder data migration]: docs/bluefoot-data-migration.md
44+
[Third-party content type migration]: docs/new-content-type-example.md
45+
[Iconography]: docs/iconography.md
46+
[Module integration]: docs/module-integration.md
47+
[Additional data configuration]: docs/custom-configuration.md
48+
[Content type configuration]: docs/content-type-configuration.md
49+
[How to add a new content type]: docs/how-to-add-new-content-type.md
50+
[Events]: docs/events.md
51+
[Bindings]: docs/bindings.md
52+
[Master format]: docs/master-format.md
53+
[Visual select]: docs/visual-select.md
54+
[Custom Toolbar]: docs/toolbar.md
5555

5656
## Contribute to PageBuilder
5757

@@ -60,9 +60,9 @@ A good place to start is by looking at our [features roadmap] and list of [known
6060

6161
If you are interested in contributing to this repository, please see our [Contribution Guide].
6262

63-
[Contribution Guide]: app/code/Magento/PageBuilder/docs/CONTRIBUTING.md
64-
[features roadmap]: app/code/Magento/PageBuilder/docs/roadmap.md#planned-features-and-functionality
65-
[known issues]: app/code/Magento/PageBuilder/docs/roadmap.md#known-issues
63+
[Contribution Guide]: CONTRIBUTING.md
64+
[features roadmap]: docs/roadmap.md#planned-features-and-functionality
65+
[known issues]: docs/roadmap.md#known-issues
6666

6767
## PageBuilder updates from the Magento core team
6868

@@ -71,7 +71,7 @@ The PageBuilder team updates the code every 2 weeks.
7171

7272
To help you prepare for these changes, we are publishing a [roadmap] of features and issues that we are going to work on in the following months.
7373

74-
[roadmap]: app/code/Magento/PageBuilder/docs/roadmap.md
74+
[roadmap]: docs/roadmap.md
7575

7676
## Provide feedback
7777

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/AdvancedConfigurationActionGroup.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@
1919
<fillField selector="{{AdvancedForm.advancedMarginBottom}}" userInput="{{property.marginBottom}}" stepKey="fillMarginBottomField"/>
2020
<click selector="{{EditPanelForm.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="clickOnFieldLabel"/>
2121
</actionGroup>
22+
<actionGroup name="fillSlideOutPanelSingleFieldMarginsOrPadding">
23+
<arguments>
24+
<argument name="field" type="string"/>
25+
<argument name="value" type="string"/>
26+
</arguments>
27+
<waitForElement selector="{{AdvancedForm.advancedMarginsOrPaddingField(field)}}" stepKey="waitForElement"/>
28+
<fillField selector="{{AdvancedForm.advancedMarginsOrPaddingField(field)}}" userInput="{{value}}" stepKey="fillFieldMarginOrPadding"/>
29+
</actionGroup>
30+
<actionGroup name="validateMarginsOrPaddingError">
31+
<arguments>
32+
<argument name="property"/>
33+
<argument name="errorMessage" type="string"/>
34+
</arguments>
35+
<waitForElementVisible selector="{{EditPanelForm.panelSectionError(property.section)}}" stepKey="waitForSectionChangedIcon"/>
36+
<seeElement selector="{{EditPanelForm.panelSectionError(property.section)}}" stepKey="seeElementSectionChangedIcon"/>
37+
<see userInput="{{errorMessage}}" selector="{{AdvancedForm.advancedMarginAndPaddingErrorMessage}}" stepKey="seeErrorMessage"/>
38+
</actionGroup>
2239
<actionGroup name="fillSlideOutPanelFieldPadding">
2340
<arguments>
2441
<argument name="property" defaultValue=""/>

0 commit comments

Comments
 (0)