Skip to content

Commit 8a5f7c2

Browse files
committed
Merge branch 'develop' into release-v3.0.0
2 parents f992424 + f7d2996 commit 8a5f7c2

File tree

9 files changed

+5
-24
lines changed

9 files changed

+5
-24
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v2.9.0
2+
3+
Example Storefront v2.9.0 is a minor update to keep this project in sync with [Reaction v2.9.0](https://github.com/reactioncommerce/reaction) and [reaction-hydra v2.9.0](https://github.com/reactioncommerce/reaction-hydra)
4+
15
# v2.8.0
26

37
Example Storefront v2.8.0 is a minor update to keep this project in sync with [Reaction v2.8.0](https://github.com/reactioncommerce/reaction) and [reaction-hydra v2.8.0](https://github.com/reactioncommerce/reaction-hydra)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-storefront",
3-
"version": "2.8.0",
3+
"version": "2.9.0",
44
"description": "The Example Storefront serves as a reference for implementing a web based storefront using the Reaction Commerce GraphQL API.",
55
"main": "./src/server.js",
66
"keywords": [],

src/components/MediaGallery/MediaGallery.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import MediaGallery from "./MediaGallery";
44

55
const mediaItems = [
66
{
7-
toGrid: 1,
87
priority: 0,
98
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
109
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",
@@ -17,7 +16,6 @@ const mediaItems = [
1716
}
1817
},
1918
{
20-
toGrid: 1,
2119
priority: 0,
2220
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
2321
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",

src/components/MediaGalleryItem/MediaGalleryItem.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import renderer from "react-test-renderer";
33
import MediaGalleryItem from "./MediaGalleryItem";
44

55
const media = {
6-
toGrid: 1,
76
priority: 0,
87
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
98
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",

src/components/ProductDetail/__mocks__/productData.mock.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ export default {
168168
],
169169
media: [
170170
{
171-
toGrid: 1,
172171
priority: 0,
173172
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
174173
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",
@@ -181,7 +180,6 @@ export default {
181180
}
182181
},
183182
{
184-
toGrid: 1,
185183
priority: 0,
186184
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
187185
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",
@@ -194,7 +192,6 @@ export default {
194192
}
195193
},
196194
{
197-
toGrid: 1,
198195
priority: 0,
199196
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
200197
variantId: "cmVhY3Rpb24vcHJvZHVjdDpTTXI0cmhERm5ZdkZNdERUWA==",
@@ -207,7 +204,6 @@ export default {
207204
}
208205
},
209206
{
210-
toGrid: 1,
211207
priority: 0,
212208
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
213209
variantId: "cmVhY3Rpb24vcHJvZHVjdDpDSm9SQm05dlJyb3JjOW14Wg==",
@@ -220,7 +216,6 @@ export default {
220216
}
221217
},
222218
{
223-
toGrid: 1,
224219
priority: 2,
225220
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
226221
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",
@@ -233,7 +228,6 @@ export default {
233228
}
234229
},
235230
{
236-
toGrid: 1,
237231
priority: 3,
238232
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
239233
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",
@@ -246,7 +240,6 @@ export default {
246240
}
247241
},
248242
{
249-
toGrid: 1,
250243
priority: 4,
251244
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
252245
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",
@@ -259,7 +252,6 @@ export default {
259252
}
260253
},
261254
{
262-
toGrid: 1,
263255
priority: 5,
264256
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
265257
variantId: "cmVhY3Rpb24vcHJvZHVjdDo2cWlxUHdCa2VKZHRkUWM0Rw==",

src/components/ProductGrid/__mocks__/products.mock.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default [
1313
isSoldOut: true,
1414
isBackorder: false,
1515
primaryImage: {
16-
toGrid: 1,
1716
priority: 0,
1817
productId: "cmVhY3Rpb24vcHJvZHVjdDpqbmE5NWthOWFOa015dG14aA==",
1918
URLs: {
@@ -57,7 +56,6 @@ export default [
5756
isSoldOut: false,
5857
isBackorder: false,
5958
primaryImage: {
60-
toGrid: 1,
6159
priority: 0,
6260
productId: "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
6361
URLs: {

src/components/ProductGrid/__snapshots__/ProductGrid.test.js.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ Array [
279279
},
280280
"priority": 0,
281281
"productId": "cmVhY3Rpb24vcHJvZHVjdDpqbmE5NWthOWFOa015dG14aA==",
282-
"toGrid": 1,
283282
},
284283
"slug": "men's-lightweigth-synchilla",
285284
"title": "Men's Lightweigth Synchilla",
@@ -328,7 +327,6 @@ Details can be added below the image for more specific product information.
328327
},
329328
"priority": 0,
330329
"productId": "cmVhY3Rpb24vcHJvZHVjdDpCQ1RNWjZIVHhGU3BwSkVTaw==",
331-
"toGrid": 1,
332330
},
333331
"slug": "example-product",
334332
"title": "Basic Reaction Product",

src/containers/catalog/catalogItemProduct.gql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ query catalogItemProductQuery($slugOrId: String!) {
3939
small
4040
thumbnail
4141
}
42-
toGrid
4342
priority
4443
productId
4544
variantId
4645
}
4746
media {
48-
toGrid
4947
priority
5048
productId
5149
variantId
@@ -107,7 +105,6 @@ query catalogItemProductQuery($slugOrId: String!) {
107105
isSoldOut
108106
isLowQuantity
109107
media {
110-
toGrid
111108
priority
112109
productId
113110
variantId
@@ -135,14 +132,12 @@ query catalogItemProductQuery($slugOrId: String!) {
135132
small
136133
thumbnail
137134
}
138-
toGrid
139135
priority
140136
productId
141137
variantId
142138
}
143139
}
144140
media {
145-
toGrid
146141
priority
147142
productId
148143
variantId
@@ -170,7 +165,6 @@ query catalogItemProductQuery($slugOrId: String!) {
170165
small
171166
thumbnail
172167
}
173-
toGrid
174168
priority
175169
productId
176170
variantId

src/lib/tracking/utils/getVariantTrackingData.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const product = {
3737
},
3838
media: [
3939
{
40-
toGrid: 1,
4140
priority: 0,
4241
productId: "1001",
4342
variantId: "1002",
@@ -46,7 +45,6 @@ const product = {
4645
}
4746
},
4847
{
49-
toGrid: 1,
5048
priority: 0,
5149
productId: "1001",
5250
variantId: "1003",

0 commit comments

Comments
 (0)