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

Commit de25db2

Browse files
authored
Merge branch 'master' into response-for-graphql-query
2 parents 539c0b9 + 6abf7f0 commit de25db2

File tree

119 files changed

+1217
-19376
lines changed

Some content is hidden

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

119 files changed

+1217
-19376
lines changed

_config.checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ html-proofer:
3636
# Ignore any link that includes a specified pattern
3737
:url_ignore:
3838
- !ruby/regexp /guides\/v2\.2/
39+
- !ruby/regexp /\/download\//
3940

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,6 @@ m1xgithuburl: https://github.com/magento/devdocs-m1/tree/master
195195
# 2.3 variables
196196
gdeurl23: /guides/v2.3/
197197
githuburl23: https://github.com/magento/devdocs/tree/master/src/guides/v2.3/
198+
199+
# Path to S3 location where we store large downloadable binary files, such as .ai, .psd, .zip, .pdf, .sketch
200+
downloads: https://devdocs.magento.com/download

src/_data/toc/architecture-guide.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ pages:
1313
- label: Frontend customization
1414
url: /architecture/frontend_custom_strategies.html
1515

16+
- label: Security overview
17+
url: /architecture/security_intro.html
18+
1619
- label: Architectural layers
1720
url: /architecture/archi_perspectives/ALayers_intro.html
1821
children:

src/_data/toc/configuration-guide.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -286,25 +286,6 @@ pages:
286286
- label: Configure the database profiler
287287
url: /config-guide/db-profiler/db-profiler.html
288288

289-
- label: Install and configure Elasticsearch (Magento Commerce only)
290-
url: /config-guide/elasticsearch/es-overview.html
291-
children:
292-
293-
- label: Configure nginx and Elasticsearch
294-
url: /config-guide/elasticsearch/es-config-nginx.html
295-
296-
- label: Configure Apache and Elasticsearch
297-
url: /config-guide/elasticsearch/es-config-apache.html
298-
299-
- label: Configure Elasticsearch stopwords
300-
url: /config-guide/elasticsearch/es-config-stopwords.html
301-
302-
- label: Configure Magento to use Elasticsearch
303-
url: /config-guide/elasticsearch/configure-magento.html
304-
305-
- label: Change the Elasticsearch client
306-
url: /config-guide/elasticsearch/es-downgrade.html
307-
308289
- label: Install and configure Elasticsearch
309290
url: /config-guide/elasticsearch/es-overview.html
310291
children:

src/_data/toc/marketplace-api.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ pages:
2121
url: /marketplace/eqp/v1/packages.html
2222
versionless: true
2323

24+
- label: Test results
25+
url: /marketplace/eqp/v1/test-results.html
26+
versionless: true
27+
2428
- label: Reports
2529
url: /marketplace/eqp/v1/reports.html
2630
versionless: true
@@ -29,3 +33,6 @@ pages:
2933
url: /marketplace/eqp/v1/filtering.html
3034
versionless: true
3135

36+
- label: API callbacks
37+
url: /marketplace/eqp/v1/callbacks.html
38+
versionless: true

src/_data/toc/ui-components-guide.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ pages:
5151
- label: ColumnsEditingClient component
5252
url: /ui_comp_guide/components/ui-columns-editing-client.html
5353

54+
- label: ColumnsResize component
55+
url: /ui_comp_guide/components/ui-columns-resize.html
56+
exclude_versions: ["2.2"]
57+
5458
- label: ColumnsControls component
5559
url: /ui_comp_guide/components/ui-columnscontrols.html
5660

@@ -99,6 +103,9 @@ pages:
99103
- label: Form component
100104
url: /ui_comp_guide/components/ui-form.html
101105

106+
- label: FormDataProvider component
107+
url: /ui_comp_guide/components/ui-form-data-provider.html
108+
102109
- label: GridDataProvider component
103110
url: /ui_comp_guide/components/ui-grid-data-provider.html
104111

src/_includes/graphql/cart-object.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Attribute | Data Type | Description
1313
`prices` | [CartPrices][CartPrices] | Contains subtotals and totals
1414
`selected_payment_method` | [SelectedPaymentMethod][SelectedPaymentMethod] | Selected payment method
1515
`shipping_addresses` | [[ShippingCartAddress]][ShippingCartAddress]! | Contains one or more shipping addresses
16+
`total_quantity` | Float! | Total Quantity of products in the cart
1617

1718
[AppliedCoupon]: {{page.baseurl}}/graphql/queries/cart.html#AppliedCoupon
1819
[AppliedGiftCard]: {{page.baseurl}}/graphql/queries/cart.html#AppliedGiftCard

src/_includes/graphql/customer-payment-tokens.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `CustomerPaymentTokens` output object contains an array of `items`.
44

55
Attribute | Data Type | Description
66
--- | --- | ---
7-
`items` | [PaymentToken] | Contains an array of customer payment tokens
7+
`items` | [PaymentToken]! | Contains an array of customer payment tokens
88

99
### PaymentToken attributes
1010

@@ -13,6 +13,6 @@ The `PaymentToken` object defines characteristics of a token stored in the payme
1313
Attribute | Data Type | Description
1414
--- | --- | ---
1515
`details` | String | Stored account details
16-
`payment_method_code` | String | The payment method code associated with the token
17-
`public_hash` | String | The public hash of the token generated by the vault provider
18-
`type` | `PaymentTokenTypeEnum` | `card` or `account`
16+
`payment_method_code` | String! | The payment method code associated with the token
17+
`public_hash` | String! | The public hash of the token generated by the vault provider
18+
`type` | `PaymentTokenTypeEnum!` | `card` or `account`

src/cloud/architecture/cloud-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ For comparison, each plan includes the following infrastructure features and sup
8282
<td>24x7 monitoring and email support for the core application and the cloud infrastructure</td>
8383
</tr>
8484
<tr>
85-
<td>Dedicated Technical Account Manager</td>
85+
<td>A dedicated Customer Technical Advisor (CTA)</td>
8686
<td class="blank"></td>
8787
<td>Dedicated technical account management for the initial launch period, starting with your subscription until your initial site launch</td>
8888
</tr>

src/cloud/cdn/configure-fastly.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ To enable Fastly CDN caching in Staging and Production:
6565

6666
1. Click **Stores** > Settings > **Configuration** > **Advanced** > **System** and expand **Full Page Cache**.
6767

68-
![Expand to select Fastly]({{ site.baseurl }}/common/images/cloud_fastly_menu.png){:width="650px"}
68+
![Expand to select Fastly]({{ site.baseurl }}/common/images/cloud/cloud_fastly_menu.png){:width="650px"}
6969

7070
1. In the _Caching Application_ section, remove the selection from **Use system value**, and then select **Fastly CDN** from the drop-down list.
7171

72-
![Choose Fastly]({{ site.baseurl }}/common/images/cloud-fastly_enable-admin.png){:width="550px"}
72+
![Choose Fastly]({{ site.baseurl }}/common/images/cloud/cloud-fastly_enable-admin.png){:width="550px"}
7373

7474
1. Expand **Fastly Configuration** and [choose caching options](https://github.com/fastly/fastly-magento2/blob/master/Documentation/CONFIGURATION.md#configure-the-module).
7575

@@ -96,7 +96,7 @@ To enable Fastly CDN caching in Staging and Production:
9696

9797
If the test fails, verify that the correct service ID and API token values match the credentials for the current environment.
9898

99-
If the test fails again, submit a support ticket or contact your Technical Account Manager. For Pro projects, include the URLs for your Production and Staging sites. For Starter projects, include the URLs for your `Master` and Staging site.
99+
If the test fails again, submit a support ticket or contact your Customer Technical Advisor (CTA). For Pro projects, include the URLs for your Production and Staging sites. For Starter projects, include the URLs for your `Master` and Staging site.
100100

101101
{:.bs-callout-info}
102102
If you need to change the Fastly API token credential for a Staging or Production environment, see [Change Fastly credentials]({{ site.baseurl}}/cloud/cdn/cloud-fastly.html#change-your-fastly-api-token).
@@ -113,7 +113,7 @@ To upload the Fastly VCL:
113113

114114
1. In the _Fastly Configuration_ section, click **Upload VCL to Fastly** as the following figure shows.
115115

116-
![Upload a Magento VCL to Fastly]({{ site.baseurl }}/common/images/cloud_upload-vcl-to-fastly.png)
116+
![Upload a Magento VCL to Fastly]({{ site.baseurl }}/common/images/cloud/cloud_fastly-upload-vcl-admin-ui.png)
117117

118118
1. After the upload completes, refresh the cache according to the notification at the top of the page.
119119

@@ -146,7 +146,7 @@ To review the backend settings configuration:
146146

147147
1. Expand **Backend settings** and click the gear to check the default backend. A modal opens that shows current settings with options to change them.
148148

149-
![Modify the backend]({{ site.baseurl }}/common/images/cloud_fastly-backend.png){:width="600px"}
149+
![Modify the backend]({{ site.baseurl }}/common/images/cloud/cloud_fastly-backend.png){:width="600px"}
150150

151151
1. Select the **Shield** location (or datacenter) closest to your AWS region.
152152
For example, if Staging is on the west coast of the United States (us-west-1), select the `sjc-ca-us` Fastly shield location. This is the POP that provides caching services.
@@ -192,7 +192,7 @@ The options include:
192192
- **Purge CMS page**: Purges page content when updating and adding pages to the Magento CMS. For example, you may want to purge when updating your Terms and Conditions or Return policy. If you rarely make these changes, you could disable automatic purging.
193193
- **Soft purge**: Sets changed content to stale and purges according to the stale timing. In combination with the stale timings your customers will be served stale content very fast while Fastly is updating the content in the background.
194194

195-
![Configure purge options]({{ site.baseurl }}/common/images/cloud_fastly-purgeoptions.png){:width="650px"}
195+
![Configure purge options]({{ site.baseurl }}/common/images/cloud/cloud_fastly-purgeoptions.png){:width="650px"}
196196

197197
{:.procedure}
198198
To configure Fastly purge options:
@@ -237,7 +237,7 @@ The Fastly module includes GeoIP handling to automatically redirect visitors or
237237

238238
1. For **Country Mapping**, click **Add** to enter a two-letter country code to map with a specific Magento store from a list. For a list of country codes, see [this site](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
239239

240-
![Add GeoIP country maps]({{ site.baseurl }}/common/images/cloud_fastly-geo-code.png)
240+
![Add GeoIP country maps]({{ site.baseurl }}/common/images/cloud/cloud_fastly-geo-code.png)
241241

242242
1. Click **Save Config** at the top of the page.
243243

src/cloud/cdn/fastly-image-optimization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ To update Fastly IO:
5858

5959
1. On the _Fastly Configuration_ page in the _Default IO config options_ field, click **Configure**.
6060

61-
![View the Fastly IO configuration settings]({{ site.baseurl }}/common/images/cloud_fastly-io-default-config.png){:width="650px"})
61+
![View the Fastly IO configuration settings]({{ site.baseurl }}/common/images/cloud/cloud_fastly-io-default-config.png){:width="650px"})
6262

6363
1. Review and update the Fastly IO configuration settings on the _Image optimization default config options_ page:
6464

65-
![Review Fastly IO configuration]({{ site.baseurl }}/common/images/cloud_fastly-io-config-options.png){:width="650px"}
65+
![Review Fastly IO configuration]({{ site.baseurl }}/common/images/cloud/cloud_fastly-io-config-options.png){:width="650px"}
6666

6767
- **Auto WebP?**—leave the default setting (*Yes*) to convert images to the WebP format in browsers that support it. If you change the setting to **No**, Fastly uses the image file type instead of converting the image to WebP format.
6868

@@ -86,13 +86,13 @@ To update Fastly IO:
8686

8787
1. In the Image Optimization configuration _Enable deep image optimization_ field, select **Yes** to turn on deep image optimization.
8888

89-
![Enable Fastly IO deep image optimization]({{ site.baseurl }}/common/images/cloud_fastly-io-deep-image-config.png){:width="650px"}
89+
![Enable Fastly IO deep image optimization]({{ site.baseurl }}/common/images/cloud/cloud_fastly-io-deep-image-config.png){:width="650px"}
9090

9191
Deep image optimization is off by default. When this feature is enabled, the built-in resizing feature in Magento is turned off and resizing work is offloaded to the Fastly IO service. Image optimization only applies to product images. CMS images are not resized. See the [Fastly documentation](#deep-image-optimization).
9292

9393
1. After you enable deep image optimization, enable the [adaptive pixel ratios](#adaptive-pixel-ratios) feature to generate images optimized for use in responsive websites.
9494

95-
![Enable Fastly IO adaptive pixel ratios]({{ site.baseurl }}/common/images/cloud_fastly-io-config-adaptive-pixel.png){:width="650px"}
95+
![Enable Fastly IO adaptive pixel ratios]({{ site.baseurl }}/common/images/cloud/cloud_fastly-io-config-adaptive-pixel.png){:width="650px"}
9696

9797
- In the _Enable adaptive device pixel ratios_ field, select **Yes**.
9898
- In the _Device pixel ratios_ field, accept the default setting, or click the **System Input** check box to remove the setting. Then, select the desired ratio. A higher Device Pixel Ratio setting delivers larger images.

src/cloud/cdn/trouble-fastly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ To check the Fastly 503 error page:
105105

106106
1. Reopen the URL that caused the 503 error. Fastly returns an error page with the reason as shown in the following example.
107107

108-
![Fastly error]({{ site.baseurl }}/common/images/cloud_fastly-503-example.png)
108+
![Fastly error]({{ site.baseurl }}/common/images/cloud/cloud_fastly-503-example.png)
109109

110110
## Apex and subdomains already associated with a Fastly account {#domains}
111111

src/cloud/configure/setup-cron-jobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To review cron configuration on Pro plan environments:
5353
```
5454

5555
{:.bs-callout-info}
56-
If the `crontab -l` command returns a `Command not found` error, contact your Magento account manager or CSM about enabling the auto-crons self-service configuration option on your {{site.data.var.ece}} project.
56+
If the `crontab -l` command returns a `Command not found` error, contact your Customer Technical Advisor (CTA) or Customer Success Manager (CSM) about enabling the auto-crons self-service configuration option on your {{site.data.var.ece}} project.
5757

5858
The following example shows the crontab output for an environment that has only the default crons configuration:
5959

@@ -120,7 +120,7 @@ The default cron interval for all environments provisioned in the US-3, EU-3, an
120120

121121
### Prerequisite
122122

123-
On {{ site.data.var.ee }} Pro projects, the [auto-crons feature](#verify-cron-configuration-on-pro-projects) must be enabled on your {{site.data.var.ece}} project before you can add custom cron jobs to Staging and Production environments using `.magento.app.yaml`. If this feature is not enabled,contact your Magento account manager or CSM.
123+
On {{ site.data.var.ee }} Pro projects, the [auto-crons feature](#verify-cron-configuration-on-pro-projects) must be enabled on your {{site.data.var.ece}} project before you can add custom cron jobs to Staging and Production environments using `.magento.app.yaml`. If this feature is not enabled, contact your Customer Technical Advisor (CTA).
124124

125125
{:.procedure}
126126
To add custom crons:

src/cloud/deploy/scenario-based-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ hooks:
6969
php ./vendor/bin/ece-tools run scenario/deploy.xml vendor/<vendor-name>/<module-name>/deploy.xml vendor/<vendor-name>/<module-name>/deploy2.xml
7070
```
7171

72-
During deployment, the custom scenarios merge with the default scenario based on the following rules:
72+
During deployment, the custom scenarios merge with the default scenario-based on the following rules:
7373

7474
- Scenarios are prioritized based on their sequence in the hook definition with the last scenario listed having the highest priority.
7575

src/cloud/live/go-live-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ functional_areas:
66
- Testing
77
---
88

9-
Before you deploy to the Production environment, download the [Go live checklist]({{ site.baseurl }}/common/pdf/magento-commerce-cloud-prelaunch-checklist.pdf), and use it with these instructions to confirm that you have completed all required configuration and testing. See an overview of the complete deployment process for Starter and Pro at [Deploy your store]({{ site.baseurl }}/cloud/live/stage-prod-live.html).
9+
Before you deploy to the Production environment, download the [Go live checklist]({{ site.downloads }}/magento-commerce-cloud-prelaunch-checklist.pdf), and use it with these instructions to confirm that you have completed all required configuration and testing. See an overview of the complete deployment process for Starter and Pro at [Deploy your store]({{ site.baseurl }}/cloud/live/stage-prod-live.html).
1010

1111
## Completely test in Production {#test}
1212

src/cloud/project/ece-tools-upgrade-project.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ To upgrade project to use ece-tools:
6262
hooks:
6363
# We run build hooks before your application has been packaged.
6464
build: |
65-
php ./vendor/bin/ece-tools build
65+
set -e
66+
php ./vendor/bin/ece-tools build:generate
67+
php ./vendor/bin/ece-tools build:transfer
6668
# We run deploy hook after your application has been deployed and started.
6769
deploy: |
6870
php ./vendor/bin/ece-tools deploy

0 commit comments

Comments
 (0)