@graphcommerce/docs 6.2.0-canary.7 → 6.2.0-canary.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/framework/config.md +45 -0
- package/framework/plugins-react.md +1 -1
- package/getting-started/graphcms-component.md +1 -1
- package/package.json +2 -2
- package/roadmap.md +23 -11
package/CHANGELOG.md
CHANGED
package/framework/config.md
CHANGED
|
@@ -90,6 +90,8 @@ Examples:
|
|
|
90
90
|
|
|
91
91
|
The HyGraph endpoint.
|
|
92
92
|
|
|
93
|
+
> Read-only endpoint that allows low latency and high read-throughput content delivery.
|
|
94
|
+
|
|
93
95
|
Project settings -> API Access -> High Performance Read-only Content API
|
|
94
96
|
|
|
95
97
|
#### `magentoEndpoint: String!`
|
|
@@ -109,6 +111,15 @@ Due to a limitation of the GraphQL API it is not possible to determine if a cart
|
|
|
109
111
|
|
|
110
112
|
When Magento's StoreConfig adds this value, this can be replaced.
|
|
111
113
|
|
|
114
|
+
#### `compare: Boolean`
|
|
115
|
+
|
|
116
|
+
Use compare functionality
|
|
117
|
+
|
|
118
|
+
#### `compareVariant: [CompareVariant](#CompareVariant)`
|
|
119
|
+
|
|
120
|
+
By default the compare feature is denoted with a 'compare icon' (2 arrows facing one another).
|
|
121
|
+
This may be fine for experienced users, but for more clarity it's also possible to present the compare feature as a checkbox accompanied by the 'Compare' label
|
|
122
|
+
|
|
112
123
|
#### `customerRequireEmailConfirmation: Boolean`
|
|
113
124
|
|
|
114
125
|
Due to a limitation in the GraphQL API of Magento 2, we need to know if the
|
|
@@ -149,6 +160,40 @@ The Google Tagmanager ID to be used on the site.
|
|
|
149
160
|
|
|
150
161
|
This value is required even if you are configuring different values for each locale.
|
|
151
162
|
|
|
163
|
+
#### `hygraphWriteAccessEndpoint: String`
|
|
164
|
+
|
|
165
|
+
Content API. **Only used for migrations.**
|
|
166
|
+
|
|
167
|
+
> Regular read & write endpoint that allows querying and mutating data in your project.
|
|
168
|
+
|
|
169
|
+
Project settings -> API Access -> Content API
|
|
170
|
+
|
|
171
|
+
#### `hygraphWriteAccessToken: String`
|
|
172
|
+
|
|
173
|
+
Hygraph Management SDK Authorization Token. **Only used for migrations.**
|
|
174
|
+
|
|
175
|
+
Project settings -> API Access -> Permanent Auth Tokens
|
|
176
|
+
|
|
177
|
+
1. Click 'Add token' and give it a name, something like 'GraphCommerce Write Access Token' and keep stage on 'Published'.
|
|
178
|
+
2. Under 'Management API', click 'Yes, Initialize defaults'
|
|
179
|
+
3. Click 'Edit Permissions' and enable: 'Update' and 'Delete' permissions for 'models', 'enumerations', 'fields', 'components' and 'sources'
|
|
180
|
+
- Update existing models
|
|
181
|
+
- Delete existing models
|
|
182
|
+
- Update existing fields
|
|
183
|
+
- Delete existing fields
|
|
184
|
+
- Update existing enumerations
|
|
185
|
+
- Delete existing enumerations
|
|
186
|
+
- Update existing components
|
|
187
|
+
- Delete existing components
|
|
188
|
+
- Update remote sources
|
|
189
|
+
- Delete remote sources
|
|
190
|
+
|
|
191
|
+
```
|
|
192
|
+
GC_HYGRAPH_WRITE_ACCESS_ENDPOINT="https://...hygraph.com/v2/..."
|
|
193
|
+
GC_HYGRAPH_WRITE_ACCESS_TOKEN="AccessTokenFromHygraph"
|
|
194
|
+
yarn graphcommerce hygraph-migrate
|
|
195
|
+
```
|
|
196
|
+
|
|
152
197
|
#### `legacyProductRoute: Boolean`
|
|
153
198
|
|
|
154
199
|
On older versions of GraphCommerce products would use a product type specific route.
|
|
@@ -152,7 +152,7 @@ work for other things such as:
|
|
|
152
152
|
- Googletagmanager
|
|
153
153
|
- Googleanalytics
|
|
154
154
|
- Google recaptcha
|
|
155
|
-
- Compare functionality
|
|
155
|
+
- Compare functionality
|
|
156
156
|
- Wishlist functionality?
|
|
157
157
|
- Abstraction between GraphCommerce and Backends? (Magento, BigCommerce,
|
|
158
158
|
CommerceTools, etc.)
|
|
@@ -155,7 +155,7 @@ fragment Banner on Banner {
|
|
|
155
155
|
- In /components/GraphCMS/RowRenderer.graphql, add the fragment:
|
|
156
156
|
|
|
157
157
|
```graphql
|
|
158
|
-
fragment RowRenderer on Page {
|
|
158
|
+
fragment RowRenderer on Page @inject(into: ["HygraphPage"]) {
|
|
159
159
|
content {
|
|
160
160
|
__typename
|
|
161
161
|
... on Node {
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@graphcommerce/docs",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/docs",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce/docs",
|
|
5
|
-
"version": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.9",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.9"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|
package/roadmap.md
CHANGED
|
@@ -15,14 +15,25 @@ The following overview contains the status of items on the GraphCommerce roadmap
|
|
|
15
15
|
|
|
16
16
|
## In progress
|
|
17
17
|
|
|
18
|
-
- [ ]
|
|
19
|
-
- [ ]
|
|
20
|
-
- [ ]
|
|
21
|
-
|
|
22
|
-
- [ ]
|
|
18
|
+
- [ ] Algolia implementation
|
|
19
|
+
- [ ] Dynamic Row based content
|
|
20
|
+
- [ ] Product compare functionality
|
|
21
|
+
- [ ] Edge runtime for GraphQL Mesh and Streaming SSR rendering
|
|
22
|
+
- [ ] Global store messages
|
|
23
23
|
|
|
24
24
|
## Just released
|
|
25
25
|
|
|
26
|
+
[See all releases](https://github.com/graphcommerce-org/graphcommerce/releases?q=prerelease%3Afalse+&expanded=true)
|
|
27
|
+
|
|
28
|
+
- [x] Google Tagmanager 4 datalayer implementation
|
|
29
|
+
[docs ↗](https://github.com/graphcommerce-org/graphcommerce/tree/main/packages/googleanalytics)
|
|
30
|
+
- [x] Paypal Express payment service
|
|
31
|
+
[docs ↗](https://github.com/graphcommerce-org/graphcommerce/tree/main/packages/magento-payment-paypal)
|
|
32
|
+
- [x] Adyen payment service
|
|
33
|
+
[docs ↗](https://github.com/graphcommerce-org/graphcommerce/tree/main/packages/magento-payment-adyen)
|
|
34
|
+
- [x] Postcode check integration
|
|
35
|
+
[docs ↗](https://github.com/graphcommerce-org/graphcommerce/tree/main/packages/address-fields-nl)
|
|
36
|
+
- [x] Redesigned layered navigation for mobile and desktop
|
|
26
37
|
- [x] Crosssells overlay after adding a product to cart
|
|
27
38
|
- [x] Bundle product
|
|
28
39
|
[example ↗](https://graphcommerce.vercel.app/nl/p/giftcard-bundle-gc-570)
|
|
@@ -40,15 +51,16 @@ The following overview contains the status of items on the GraphCommerce roadmap
|
|
|
40
51
|
|
|
41
52
|
## Planned
|
|
42
53
|
|
|
43
|
-
- [ ]
|
|
44
|
-
- [ ]
|
|
45
|
-
- [ ]
|
|
46
|
-
- [ ] Fetch Magento image sizes (probe-image-size)
|
|
47
|
-
- [ ] Postcode check integration
|
|
48
|
-
- [ ] Windows support
|
|
54
|
+
- [ ] Redesigned cart
|
|
55
|
+
- [ ] Product thumbnail carousel
|
|
56
|
+
- [ ] React Server Components integration
|
|
49
57
|
|
|
50
58
|
## Future
|
|
51
59
|
|
|
60
|
+
- [ ] Fetch Magento image sizes (probe-image-size)
|
|
61
|
+
- [ ] Windows support
|
|
62
|
+
- [ ] Store locator
|
|
63
|
+
- [ ] Buckaroo payment service
|
|
52
64
|
- [ ] `magento` example without Hygraph
|
|
53
65
|
- [ ] PageBuilder support
|
|
54
66
|
|