Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 2dea44c

Browse files
authored
Merge branch 'master' into patch-7
2 parents 8b0a225 + c2eda46 commit 2dea44c

File tree

403 files changed

+1021
-62182
lines changed

Some content is hidden

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

403 files changed

+1021
-62182
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ _algolia_api_key
3030

3131
/mbi/
3232
/page-builder/
33+
/guides/m1x/

_checks/html-check-hook.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
require 'html-proofer'
88
require 'yaml'
9-
require_relative '../rakelib/double-slash-check.rb'
9+
require_relative '../rakelib/lib/double-slash-check.rb'
1010

1111
Jekyll::Hooks.register :site, :post_write do |site|
1212
# Do nothing unless 'site.check_links' is set

_data/main-nav.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- label: Installation Guide
3030
url: /install-gde/bk-install-guide.html
3131

32-
- label: Extension Update and System Upgrade Guide
32+
- label: Software Update Guide
3333
url: /comp-mgr/bk-compman-upgrade-guide.html
3434
exclude_versions: ['2.0', '2.1']
3535

@@ -179,6 +179,11 @@
179179
- label: Order Management
180180
url: http://omsdocs.magento.com/en/
181181

182+
- label: Page Builder
183+
url: /page-builder/docs/index.html
184+
exclude_versions: ['2.0', '2.1', '2.2']
185+
versionless: true
186+
182187
- label: Payment Integrations
183188
url: /payments-integrations/bk-payments-integrations.html
184189

_data/toc/page-builder.yml

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
label: Page Builder
2+
versionless: true
3+
pages:
4+
- label: What is Page Builder?
5+
url: /page-builder/docs/
6+
versionless: true
7+
8+
- label: 'Getting started'
9+
versionless: true
10+
children:
11+
- label: Install Page Builder
12+
url: /page-builder/docs/getting-started/install-pagebuilder.html
13+
versionless: true
14+
15+
- label: View Page Builder
16+
url: /page-builder/docs/getting-started/view-pagebuilder.html
17+
versionless: true
18+
19+
- label: Install Page Builder Examples
20+
url: /page-builder/docs/getting-started/install-pagebuilder-examples.html
21+
versionless: true
22+
23+
- label: 'Extend a content type'
24+
versionless: true
25+
children:
26+
- label: Overview
27+
url: /page-builder/docs/extend-existing-content-type/overview.html
28+
versionless: true
29+
30+
- label: 'Create a content type'
31+
versionless: true
32+
children:
33+
- label: Overview
34+
url: /page-builder/docs/create-custom-content-type/overview.html
35+
versionless: true
36+
37+
- label: Step 1. Add configuration
38+
url: /page-builder/docs/create-custom-content-type/step-1-add-configuration.html
39+
versionless: true
40+
41+
- label: Step 2. Add templates
42+
url: /page-builder/docs/create-custom-content-type/step-2-add-templates.html
43+
versionless: true
44+
45+
- label: Step 3. Add components
46+
url: /page-builder/docs/create-custom-content-type/step-3-add-components.html
47+
versionless: true
48+
49+
- label: Step 4. Add form
50+
url: /page-builder/docs/create-custom-content-type/step-4-add-form.html
51+
versionless: true
52+
53+
- label: Step 5. Add styles
54+
url: /page-builder/docs/create-custom-content-type/step-5-add-styles.html
55+
versionless: true
56+
57+
- label: Step 6. Add an icon
58+
url: /page-builder/docs/create-custom-content-type/step-6-add-icon.html
59+
versionless: true
60+
61+
- label: What's next?
62+
url: /page-builder/docs/create-custom-content-type/whats-next.html
63+
versionless: true
64+
65+
- label: How-Tos
66+
versionless: true
67+
children:
68+
- label: How to add additional configurations
69+
url: /page-builder/docs/how-to/how-to-add-additional-configurations.html
70+
versionless: true
71+
72+
- label: How to customize the panel
73+
url: /page-builder/docs/how-to/how-to-customize-panel.html
74+
versionless: true
75+
76+
- label: How to add icons and images
77+
url: /page-builder/docs/how-to/how-to-add-icons-images.html
78+
versionless: true
79+
80+
- label: How to add a block chooser
81+
url: /page-builder/docs/how-to/how-to-add-block-chooser.html
82+
versionless: true
83+
84+
- label: How to use full-width layouts
85+
url: /page-builder/docs/how-to/how-to-use-full-width-layouts.html
86+
versionless: true
87+
88+
- label: How to change breakpoints
89+
url: /page-builder/docs/how-to/how-to-change-breakpoints.html
90+
versionless: true
91+
92+
- label: How to customize selectors
93+
url: /page-builder/docs/how-to/how-to-customize-selectors.html
94+
versionless: true
95+
96+
- label: How to apply product conditions
97+
url: /page-builder/docs/how-to/how-to-apply-product-conditions.html
98+
versionless: true
99+
100+
- label: How to use server-side previews
101+
url: /page-builder/docs/how-to/how-to-use-server-side-previews.html
102+
versionless: true
103+
104+
- label: How to create a container content type
105+
url: /page-builder/docs/how-to/how-to-create-container-content-type.html
106+
versionless: true
107+
108+
- label: How to add an image uploader
109+
url: /page-builder/docs/how-to/how-to-add-image-uploader.html
110+
versionless: true
111+
112+
- label: How to add a storefront widget
113+
url: /page-builder/docs/how-to/how-to-add-storefront-widget.html
114+
versionless: true
115+
116+
- label: How to add a text editor
117+
url: /page-builder/docs/how-to/how-to-add-text-editor.html
118+
versionless: true
119+
120+
- label: How to add a custom toolbar
121+
url: /page-builder/docs/how-to/how-to-add-custom-toolbar.html
122+
versionless: true
123+
124+
- label: How to use Page Builder for product attributes
125+
url: /page-builder/docs/how-to/how-to-use-pagebuilder-for-product-attributes.html
126+
versionless: true
127+
128+
- label: How to deactivate Page Builder
129+
url: /page-builder/docs/how-to/how-to-deactivate-pagebuilder.html
130+
versionless: true
131+
132+
- label: Reference
133+
versionless: true
134+
children:
135+
- label: Architecture
136+
url: /page-builder/docs/reference/architecture.html
137+
versionless: true
138+
139+
- label: Configurations
140+
url: /page-builder/docs/reference/configurations.html
141+
versionless: true
142+
143+
- label: Datastore
144+
url: /page-builder/docs/reference/data-store.html
145+
versionless: true
146+
147+
- label: Events
148+
url: /page-builder/docs/reference/events.html
149+
versionless: true
150+
151+
- label: Knockout bindings
152+
url: /page-builder/docs/reference/knockout-bindings.html
153+
versionless: true
154+
155+
- label: Release notes
156+
url: /page-builder/docs/release-notes.html
157+
versionless: true
158+
159+
- label: Component status
160+
url: /page-builder/docs/comp-status2.html
161+
versionless: true
162+
163+
- label: Contribution guide
164+
url: https://github.com/magento/magento2-page-builder/blob/develop/CONTRIBUTING.md
165+
versionless: true

_data/toc/release-notes.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,8 @@ pages:
258258
- label: Inventory management
259259
url: /release-notes/inventory-management.html
260260
exclude_versions: ["2.0", "2.1", "2.2"]
261+
262+
- label: Page Builder
263+
url: /page-builder/docs/release-notes.html
264+
exclude_versions: ["2.0", "2.1", "2.2"]
265+
versionless: true

_data/whats-new.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,37 @@ description: |
44
We exclude from this list proofreading, spelling checks, and all minor updates.
55
link: /whats-new.html
66
thread: /whatsnew-feed.xml
7-
updated: Mon Mar 4 13:13:10 2019
7+
updated: Mon Mar 11 10:18:26 2019
88
entries:
9+
- description: Added a technical guideline [6.4.4.13](https://devdocs.magento.com/guides/v2.3/coding-standards/technical-guidelines.html#64-service-contracts-application-layer).
10+
versions: 2.2.x, 2.3.x
11+
type: Major update
12+
date: March 5, 2019
13+
link: https://github.com/magento/devdocs/pull/3870
14+
- description: Moved source files of the Magento 1 documentation to [magento/devdocs-m1](https://github.com/magento/devdocs-m1).
15+
versions: 1.x
16+
type: Major update
17+
date: March 5, 2019
18+
link: https://github.com/magento/devdocs/pull/3868
19+
- description: Corrected the data type for the `company_id` and `available_limit`
20+
parameters for the [company credit API operations](https://devdocs.magento.com/guides/v2.3/b2b/credit-manage.html)
21+
in Magento Commerce for B2B.
22+
versions: 2.2.x, 2.3.x
23+
type: Technical changes
24+
date: March 5, 2019
25+
link: https://github.com/magento/devdocs/pull/3865
26+
- description: Update [community contribution guidelines](https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing.html#porting)
27+
about porting
28+
versions: 2.x
29+
type: Major update
30+
date: March 4, 2019
31+
link: https://github.com/magento/devdocs/pull/3850
32+
- description: Fixed the incorrect `composer install` command in [Set up an Embedded
33+
MFTF](https://devdocs.magento.com/mftf/2.3/getting-started.html#setup-framework).
34+
versions: 2.3.x
35+
type: Technical changes
36+
date: March 4, 2019
37+
link: https://github.com/magento/devdocs/pull/3863
938
- description: Added a section about [Required System Dependencies](http://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-system-dependencies)<br/>Added
1039
a section about [Unsupported Operating Systems](http://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#unsupported-operating-systems)
1140
versions: 2.3.x

_includes/contributor/labels.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
Release line labels indicate the specific Magento release lines affected by the issue or PR. For example, if working on a fix for 2.2.6, you would apply the Release Line: 2.2. This effectively includes all releases in this line.
55

6-
* `Release Line: 2.1`
76
* `Release Line: 2.2`
87
* `Release Line: 2.3`
98

@@ -90,10 +89,9 @@ Labels applied to issues through verification and completion. For details on the
9089
* `Issue: Cannot Reproduce` - Gate 3 failed. The issue could not be reproduced or validated. Previous label `Cannot Reproduce`.
9190
* `Issue: Confirmed` - Gate 3 passed. Manual verification of the issue description and reproduction steps was confirmed. Previous label `G3 Passed`.
9291
* `Issue: Ready for Work` - Gate 4 passed. The issue is acknowledged and added to the backlog for open development. Previous label `acknowledged`.
93-
* `Reproduced on 2.1.x` - The Community Engineering Team reproduced the issue on latest 2.1.x release.
9492
* `Reproduced on 2.2.x` - The Community Engineering Team reproduced the issue on latest 2.2.x release.
9593
* `Reproduced on 2.3.x` - The Community Engineering Team reproduced the issue on latest 2.3.x release.
96-
* `Fixed in 2.1.x` - The issue has been fixed in one of the 2.1.x releases or in 2.1-develop branch and will be available with the upcoming patch release.
94+
9795
* `Fixed in 2.2.x` - The issue has been fixed in one of the 2.2.x releases or in 2.2-develop branch and will be available with the upcoming patch release.
9896
* `Fixed in 2.3.x` - The issue has been fixed in one of the 2.3.x releases or in 2.3-develop branch and will be available with the upcoming patch release.
9997
* `non-issue` - A described behavior in the issue description is valid and shouldn't be changed in Magento code base.

_includes/contributor/rewards.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Test coverage | 10 | Contribution contains fix or improvement and new tests or t
4646
MFTF test coverage| 10 | Contribution contains MFTF tests
4747
Bug fix | 10 | Contribution fixes one or more known issues from GitHub
4848
Author of Ported Issue | 5 | Additional points for a contribution that ports (up or back port) a previous PR across release lines by another contributor
49+
Issue Triage | 3 | Public issue report is verified and confirmed
4950
{:style="table-layout:auto;"}
5051

5152
## DevDocs awards and points
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% if page.guide_version == "2.0" %}
1+
{% if page.group == "page-builder" %}
22
<div class="message-banner">
3-
<a href="{{ site.baseurl }}/guides/v2.0/release-notes/ReleaseNotes2.0.18CE.html" target="_blank">Magento 2.0.18</a> is the final 2.0.x release. After March 2018, Magento 2.0.x will no longer receive security patches, quality fixes, or documentation updates.</br> To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.
3+
Please note that the Page Builder docs are still in beta. Only partners have access to the pre-release code.
44
</div>
55
{% endif %}

_includes/layout/footer-scripts.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@
2828
<script type="text/javascript">_satellite.pageBottom();</script>
2929

3030
{% endif %}
31+
32+
{% if page.url contains "cloud/" %}
33+
<script type="text/javascript" src="{{ site.baseurl }}/common/js/survey.js"></script>
34+
{% endif %}

_includes/webapi/services22.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ The Web APIs for {{site.data.var.ee}} (formerly Magento Enterprise Edition) are
107107
customerCustomerRepositoryV1
108108
customerGroupManagementV1
109109
customerGroupRepositoryV1
110+
customerCustomerGroupConfigV1
110111

111112
### Directory
112113
directoryCountryInformationAcquirerV1

_includes/webapi/services23.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ The Web APIs for {{site.data.var.ee}} (formerly Magento Enterprise Edition) are
110110
customerCustomerRepositoryV1
111111
customerGroupManagementV1
112112
customerGroupRepositoryV1
113+
customerCustomerGroupConfigV1
113114

114115
### Directory
115116
directoryCountryInformationAcquirerV1

_includes/webapi/tutorials/configure-shipping-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Free shipping | `freeshipping` | No
1010

1111
To change which offline shipping methods are available:
1212

13-
1. Select **Stores** > **Configuration** > **Sales** > **Shipping Methods** in Admin.
13+
1. Select **Stores** > **Settings** > **Configuration** > **Sales** > **Shipping Methods** in Admin.
1414
2. Enable or disable the shipping methods as desired.
1515
3. Click **Save Config**.

_includes/webapi/tutorials/set-payment-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Zero Subtotal Checkout | `free` | Yes
1010

1111
In this tutorial, configure Magento to accept bank transfer payments. To allow bank transfer payments (or any other offline payment method) as a payment method:
1212

13-
1. Log in to {% glossarytooltip 29ddb393-ca22-4df9-a8d4-0024d75739b1 %}Admin{% endglossarytooltip %} and select **Stores** > **Configuration** > **Sales** > **Payment Methods**.
13+
1. Log in to {% glossarytooltip 29ddb393-ca22-4df9-a8d4-0024d75739b1 %}Admin{% endglossarytooltip %} and select **Stores** > **Settings** > **Configuration** > **Sales** > **Payment Methods**.
1414
2. Enable the {% glossarytooltip 422b0fa8-b181-4c7c-93a2-c553abb34efd %}payment method{% endglossarytooltip %}.
1515
3. Click **Save Config**.

common/js/survey.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
$(function() {
3+
4+
// Fist, check if browser supports storing the data
5+
if (typeof localStorage !== 'undefined') {
6+
7+
var surveyName = "Cloud survey 2 done";
8+
9+
// Only show if user didn't interact with the banner
10+
if ( !localStorage.getItem(surveyName) ) {
11+
12+
// Build banner text
13+
var $banner = $('<div class="bs-callout" style="display:none; text-align:left; max-width: 1024px; margin-top: 50px;"><h2>Hello Magento Community!</h2><p>We at Magento believe in listening to our community, as they play an important role in building valuable products in the future! If you want to make an impact on Magento Cloud please share your feedback through this survey.</p><p>Thank you in advance for participating in our survey. Your feedback is 100% confidential and will not be shared outside of Magento.</p> <button data-href="https://www.surveymonkey.com/r/CloudFeatures_LP2" class="btn btn-primary btn-large">OK, I will help</button> <button class="btn btn-large">No, thanks</button> </div>');
14+
15+
// Assign events
16+
$banner.find('a, button').on('click', function () {
17+
18+
var $this = $(this);
19+
localStorage.setItem(surveyName , true);
20+
$banner.delay(100).slideUp(400);
21+
22+
if ( $this.data('href') ) {
23+
window.open( $this.data('href'), '_blank' );
24+
}
25+
});
26+
27+
// Insert banner in place
28+
$banner.appendTo('.content-wrap');
29+
30+
// Show banner
31+
$banner.delay(500).slideDown(400);
32+
}
33+
}
34+
35+
});
36+

0 commit comments

Comments
 (0)