@graphcommerce/docs 6.2.0-canary.7 → 6.2.0-canary.8
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 +2 -0
- package/framework/config.md +36 -0
- 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!`
|
|
@@ -149,6 +151,40 @@ The Google Tagmanager ID to be used on the site.
|
|
|
149
151
|
|
|
150
152
|
This value is required even if you are configuring different values for each locale.
|
|
151
153
|
|
|
154
|
+
#### `hygraphWriteAccessEndpoint: String`
|
|
155
|
+
|
|
156
|
+
Content API. **Only used for migrations.**
|
|
157
|
+
|
|
158
|
+
> Regular read & write endpoint that allows querying and mutating data in your project.
|
|
159
|
+
|
|
160
|
+
Project settings -> API Access -> Content API
|
|
161
|
+
|
|
162
|
+
#### `hygraphWriteAccessToken: String`
|
|
163
|
+
|
|
164
|
+
Hygraph Management SDK Authorization Token. **Only used for migrations.**
|
|
165
|
+
|
|
166
|
+
Project settings -> API Access -> Permanent Auth Tokens
|
|
167
|
+
|
|
168
|
+
1. Click 'Add token' and give it a name, something like 'GraphCommerce Write Access Token' and keep stage on 'Published'.
|
|
169
|
+
2. Under 'Management API', click 'Yes, Initialize defaults'
|
|
170
|
+
3. Click 'Edit Permissions' and enable: 'Update' and 'Delete' permissions for 'models', 'enumerations', 'fields', 'components' and 'sources'
|
|
171
|
+
- Update existing models
|
|
172
|
+
- Delete existing models
|
|
173
|
+
- Update existing fields
|
|
174
|
+
- Delete existing fields
|
|
175
|
+
- Update existing enumerations
|
|
176
|
+
- Delete existing enumerations
|
|
177
|
+
- Update existing components
|
|
178
|
+
- Delete existing components
|
|
179
|
+
- Update remote sources
|
|
180
|
+
- Delete remote sources
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
GC_HYGRAPH_WRITE_ACCESS_ENDPOINT="https://...hygraph.com/v2/..."
|
|
184
|
+
GC_HYGRAPH_WRITE_ACCESS_TOKEN="AccessTokenFromHygraph"
|
|
185
|
+
yarn graphcommerce hygraph-migrate
|
|
186
|
+
```
|
|
187
|
+
|
|
152
188
|
#### `legacyProductRoute: Boolean`
|
|
153
189
|
|
|
154
190
|
On older versions of GraphCommerce products would use a product type specific route.
|
|
@@ -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.8",
|
|
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.8"
|
|
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
|
|