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

Commit 7daceff

Browse files
authored
Merge branch 'master' into db_mftf_yml
2 parents 1c2a4f3 + 3d4c110 commit 7daceff

File tree

1,289 files changed

+110256
-3676
lines changed

Some content is hidden

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

1,289 files changed

+110256
-3676
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ If you write and contribute a full topic, we will add your name (or your company
1515

1616
## Get started
1717

18+
> We no longer accept contributions to files in the `src/guides/v2.2/` directory.
19+
1820
![Get started workflow](https://devdocs.magento.com/common/images/contribute-prerequisites.png)
1921

2022
1. Make sure you have a [GitHub account](https://github.com/signup/free).
@@ -119,49 +121,6 @@ title: Continue with your installation
119121
| `group` | Defines the topic's guide or section. Use the table of contents `.yml` file name. This loads your left-side navigation. We will help during the PR process to add new files to the `.yml` file. |
120122
| `title` | Sets the title of the page in the HTML metadata and the main title on the page. |
121123

122-
## Symbolic links
123-
124-
We use symbolic links for topics that are the same across versions of Magento. A file is symlinked if the entire content of the file is a path to the original version, such as [ext-best-practices/tutorials/serialized-to-json-data-upgrade.md](https://github.com/magento/devdocs/blob/master/guides/v2.3/ext-best-practices/tutorials/serialized-to-json-data-upgrade.md). Note that some editors will automatically follow symlinks so it might not be clear if a file is symlinked or not. Check the file on Github directly to be sure.
125-
126-
### Create a symbolic link
127-
128-
When you create a new topic (create a new `.md` file) and its content is the same for 2.2 and 2.3 versions, create a symbolic link.
129-
130-
For example, if you created a new file for v.2.2: `guides/v2.2/install-gde/new-doc-topic.md` and its content is the same for v.2.3, use the command below to create the symbolic link.
131-
132-
```bash
133-
cd <DEVDOCS_REPOSITORY_ROOT_DIR>/guides/v2.3/install-gde
134-
```
135-
136-
```bash
137-
ln -s ../../v2.2/install-gde/new-doc-topic.md new-doc-topic.md
138-
```
139-
140-
If you have an image that is identical between versions, it should placed in `/common/images`. Please optimize images before committing them to the repository.
141-
If done correctly, the symbolic link path will start with 2-4 instances of `../`, as the above example shows. If possible, check a symlinked file within the same folder to ensure the proper pathing.
142-
143-
### Remove a symbolic link
144-
145-
If your changes are unique to a specific version, remove the symbolic link and add a new file. Copy and paste a previous version of the topic to get started.
146-
147-
The removal should use the `git rm` command specifically. Deleting the file through the regular file system might cause issues with the repository.
148-
149-
For example:
150-
151-
```bash
152-
cd <DEVDOCS_REPOSITORY_ROOT_DIR>
153-
```
154-
155-
```bash
156-
git rm guides/v2.3/install-gde/new-doc-topic.md
157-
```
158-
159-
```bash
160-
cp guides/v2.2/install-gde/new-doc-topic.md guides/v2.3/install-gde/new-doc-topic.md
161-
```
162-
163-
Once you have the copy in place, you can edit it with the version-specific information.
164-
165124
## Report an issue
166125

167126
If you find a typo or errors in Magento DevDocs, you can either fix it with a pull request (as described above) or you can report it by creating an issue in the DevDocs GitHub repository.

src/_data/main-nav.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@
196196
- label: Checkout
197197
url: /howdoi/checkout/checkout_overview.html
198198

199+
- label: Compliance
200+
url: /compliance/industry-compliance.html
201+
versionless: true
202+
199203
- label: Inventory Management
200204
url: /inventory/index.html
201205
exclude_versions: ['2.0', '2.1', '2.2']

src/_data/toc/compliance.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
label: Compliance
2+
pages:
3+
- label: Industry Compliance
4+
url: /compliance/industry-compliance.html
5+
versionless: true
6+
children:
7+
8+
- label: Privacy Regulations
9+
10+
children:
11+
12+
- label: CCPA
13+
versionless: true
14+
url: /compliance/privacy/ccpa.html
15+
16+
- label: GDPR
17+
versionless: true
18+
url: /compliance/privacy/gdpr.html
19+
20+
- label: PI Reference (M2.x)
21+
versionless: true
22+
url: /compliance/privacy/pi-data-reference-m2.html
23+
24+
- label: PI Reference (M1.x)
25+
versionless: true
26+
url: /compliance/privacy/pi-data-reference-m1.html

src/_data/toc/frontend-developer-guide.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ pages:
178178
- label: Example theme translation dictionary
179179
url: /frontend-dev-guide/translations/translate_practice.html
180180

181+
- label: Form validation
182+
url: /frontend-dev-guide/validations/form-validation.html
183+
181184
- label: Tools
182185
include_versions: ["2.2", "2.3"]
183186
url: /frontend-dev-guide/tools/tools_overview.html

src/_data/toc/graphql.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ pages:
1616
- label: GraphQL Caching
1717
url: /graphql/caching.html
1818

19+
- label: Filtering with custom attributes
20+
url: /graphql/custom-filters.html
21+
1922
- label: Development
2023
children:
2124
- label: Define the GraphQL schema for a module
@@ -50,6 +53,9 @@ pages:
5053
- label: category query
5154
url: /graphql/queries/category.html
5255

56+
- label: categoryList query
57+
url: /graphql/queries/category-list.html
58+
5359
- label: checkoutAgreements query
5460
url: /graphql/queries/checkout-agreements.html
5561

@@ -74,6 +80,9 @@ pages:
7480
- label: customer query
7581
url: /graphql/queries/customer.html
7682

83+
- label: customerCart query
84+
url: /graphql/queries/customer-cart.html
85+
7786
- label: customerDownloadableProducts query
7887
url: /graphql/queries/customer-downloadable-products.html
7988

@@ -112,9 +121,15 @@ pages:
112121
- label: Using mutations
113122
url: /graphql/mutations/index.html
114123

124+
- label: addBundleProductsToCart mutation
125+
url: /graphql/mutations/add-bundle-products.html
126+
115127
- label: addConfigurableProductsToCart mutation
116128
url: /graphql/mutations/add-configurable-products.html
117129

130+
- label: addDownloadableProductsToCart mutation
131+
url: /graphql/mutations/add-downloadable-products.html
132+
118133
- label: addSimpleProductsToCart mutation
119134
url: /graphql/mutations/add-simple-products.html
120135

@@ -163,6 +178,9 @@ pages:
163178
- label: handlePayflowProResponse mutation
164179
url: /graphql/mutations/handle-payflow-pro-response.html
165180

181+
- label: mergeCarts mutation
182+
url: /graphql/mutations/merge-carts.html
183+
166184
- label: placeOrder mutation
167185
url: /graphql/mutations/place-order.html
168186

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ pages:
2222
- label: Checkbox component
2323
url: /ui_comp_guide/components/ui-checkbox.html
2424

25+
- label: CheckboxToggleNotice component
26+
url: /ui_comp_guide/components/ui-checkbox-toggle-notice.html
27+
2528
- label: Checkboxset component
2629
url: /ui_comp_guide/components/ui-checkboxset.html
2730

@@ -90,6 +93,10 @@ pages:
9093
- label: HtmlContent component
9194
url: /ui_comp_guide/components/ui-htmlcontent.html
9295

96+
- label: ImagePreview component
97+
include_versions: ["2.3"]
98+
url: /ui_comp_guide/components/ui-image-preview.html
99+
93100
- label: ImageUploader component
94101
include_versions: ["2.3"]
95102
url: /ui_comp_guide/components/image-uploader/
@@ -110,6 +117,10 @@ pages:
110117
- label: Listing (grid) component
111118
url: /ui_comp_guide/components/ui-listing-grid.html
112119

120+
- label: Masonry (grid) component
121+
include_versions: ["2.3"]
122+
url: /ui_comp_guide/components/ui-masonry.html
123+
113124
- label: MassActions component
114125
url: /ui_comp_guide/components/ui-massactions.html
115126

src/_includes/browsers/supported-browsers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Storefront and Admin:
44
* Firefox latest, latest&ndash;1 (any operating system)
55
* Chrome latest, latest&ndash;1 (any operating system)
66
* Safari latest, latest&ndash;1 (Mac OS only)
7-
* Safari Mobile for iPad 2, iPad Mini, iPad with Retina Display (iOS 7 or later), for desktop storefront
8-
* Safari Mobile for iPhone 4 or later; iOS 7 or later, for mobile storefront
7+
* Safari Mobile for iPad 2, iPad Mini, iPad with Retina Display (iOS 12 or later), for desktop storefront
8+
* Safari Mobile for iPhone 6 or later; iOS 12 or later, for mobile storefront
99
* Chrome for mobile latest&ndash;1 (Android 4 or later) for mobile storefront
1010

1111
Here, _latest&ndash;1_ means one major version earlier than the latest released version.

src/_includes/cloud/enable-ssh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To create an SSH key pair:
5151

5252
GitHub also uses the key length `-b 4096` in the command. Follow the prompts to complete the key.
5353

54-
1. When prompted to "Enter a file in which to save the key," press **Enter**to save the file to the default location. The prompt displays the location.
54+
1. When prompted to "Enter a file in which to save the key," press **Enter** to save the file to the default location. The prompt displays the location.
5555

5656
1. When prompted to enter a secure passphrase, enter a phrase to use like a password. Make note of this passphrase. You may be requested to enter it depending on tasks you complete using a terminal during development.
5757

src/_includes/config/consumers.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Name|Value|Required?|
2+
|`--consumers-wait-for-messages`|Should consumers wait for a message from the queue? 1 - Yes, 0 - No|No|
3+
{:style="table-layout:auto;"}
4+
5+
`0`—Consumers process available messages in the queue, close the TCP connection, and terminate. Consumers do not wait for additional messages to enter the queue, even if the number of processed messages is less than the `--max_messages` value specified during starting consumers.
6+
7+
`1`—Consumers continue to process messages from the message queue until reaching the maximum number of messages (the value specified for `--max_messages` on the `queue:consumers:start` command) before closing the TCP connection and terminating the consumer process. If the queue empties before reaching `--max_messages` the consumer waits for more messages to arrive. If you use workers to run consumers instead of using a cron job, set this variable to `1`.

src/_includes/graphql/cart-object.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
Attribute | Data Type | Description
22
--- | --- | ---
3-
`applied_coupon` | [`AppliedCoupon`][AppliedCoupon] | The `AppliedCoupon` object contains the `code` text attribute, which specifies the coupon code
3+
`applied_coupon` | [`AppliedCoupon`][AppliedCoupon] | Deprecated. Use `applied_coupons` instead
4+
`applied_coupons` | [[`AppliedCoupon`]][AppliedCoupon] | An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code
45
`applied_gift_cards` | [[`AppliedGiftCard`]][AppliedGiftCard] | An array of `AppliedGiftCard` objects. An `AppliedGiftCard` object contains the `code` text attribute, which specifies the gift card code. `applied_gift_cards` is a Commerce-only attribute, defined in the GiftCardAccountGraphQl module
56
`applied_store_credit` | [`AppliedStoreCredit`][AppliedStoreCredit] | Contains store credit information applied to the cart. `applied_store_credit` is a Commerce-only attribute, defined in the CustomerBalanceGraphQl module
67
`available_payment_methods` | [[AvailablePaymentMethod]][AvailablePaymentMethod] | Available payment methods
7-
`billing_address` | [BillingCartAddress][BillingCartAddress]! | Contains the billing address specified in the customer's cart
8+
`billing_address` | [BillingCartAddress][BillingCartAddress] | Contains the billing address specified in the customer's cart
89
`email` | String | The customer's email address
10+
`id` | ID! | The ID of the cart
11+
`is_virtual` | Boolean | Indicates whether the cart contains only virtual products
912
`items` | [[CartItemInterface]][CartItemInterface] | Contains the items in the customer's cart
1013
`prices` | [CartPrices][CartPrices] | Contains subtotals and totals
1114
`selected_payment_method` | [SelectedPaymentMethod][SelectedPaymentMethod] | Selected payment method

0 commit comments

Comments
 (0)