Skip to content

Commit

Permalink
Merge branch 'develop' into jimothy/pwa-796_targetables-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dpatil-magento authored Jan 28, 2021
2 parents e92511d + c6fab8a commit 20020e8
Show file tree
Hide file tree
Showing 144 changed files with 3,635 additions and 1,334 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Coverage Status](https://coveralls.io/repos/github/magento/pwa-studio/badge.svg?branch=develop)](https://coveralls.io/github/magento/pwa-studio?branch=develop)

# PWA Studio

Magento PWA Studio is a collection of tools that lets developers build complex Progressive Web Applications on top of Magento 2 stores.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@
"cartPage.signIn": "Se connecter",
"cartPage.title": "Panier - {name}",
"cartTrigger.ariaLabel": "Basculer le mini-panier. Vous avez {count} articles dans votre panier.",
"category.dataFetchError": "Erreur de récupération des données",
"categoryContent.filter": "Filtre",
"categoryContent.itemsSortedBy": "Articles triés par ",
"categoryLeaf.allLabel": "Tout(e) {name}",
"categoryList.errorFetch": "Erreur de récupération des données: ",
"categoryList.noResults": "Aucune catégorie enfant trouvée.",
"checkoutPage.additionalText": "Vous recevrez également un courriel avec les détails et nous vous informerons lorsque votre commande aura été expédiée",
"checkoutPage.accountSuccessfullyCreated": "Compte créé avec succès.",
Expand Down Expand Up @@ -94,7 +92,6 @@
"checkoutPage.titleCheckout": "Paiement - {name}",
"checkoutPage.titleReceipt": "Le reçu - {name}",
"cms.shopByCategory": "Acheter par catégorie",
"cmsBlock.errorFetch": "Erreur de récupération des données",
"cmsBlock.noBlocks": "Il n'y a aucun bloc à afficher",
"communicationsPage.changesText": "Sauvegarder les modifications",
"communicationsPage.communicationsText": "Les Communications",
Expand Down Expand Up @@ -258,7 +255,6 @@
"priceSummary.lineItemLabel": "Sous-total",
"priceSummary.total": "Total",
"product.editItem": "Modifier l'article",
"product.errorFetch": "Erreur de récupération des données",
"product.moveToFavorites": "Déplacer vers les favoris",
"product.outOfStock": "En-rupture-de-stock",
"product.outOfStockTryAgain": "Ce produit est actuellement en rupture de stock. Veuillez réessayer plus tard.",
Expand Down
7 changes: 7 additions & 0 deletions packages/peregrine/lib/Apollo/attachClientToStore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { extraArgument } from '../store/middleware/thunk';

const attachClientToStore = apolloClient => {
Object.assign(extraArgument, { apolloClient });
};

export default attachClientToStore;
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ Object {
},
},
"CustomerPaymentTokens": Object {
"fields": Object {
"items": Object {
"merge": [Function],
},
},
"keyFields": [Function],
},
"ProductImage": Object {
Expand Down
10 changes: 9 additions & 1 deletion packages/peregrine/lib/Apollo/policies/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,15 @@ const typePolicies = {
}
},
CustomerPaymentTokens: {
keyFields: () => 'CustomerPaymentTokens'
keyFields: () => 'CustomerPaymentTokens',
fields: {
items: {
// eslint-disable-next-line no-unused-vars
merge(existing, incoming) {
return incoming;
}
}
}
},
ProductImage: {
keyFields: ['url']
Expand Down
36 changes: 0 additions & 36 deletions packages/peregrine/lib/Page/__tests__/page.spec.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/peregrine/lib/Page/index.js

This file was deleted.

15 changes: 0 additions & 15 deletions packages/peregrine/lib/Page/page.js

This file was deleted.

This file was deleted.

183 changes: 0 additions & 183 deletions packages/peregrine/lib/Router/__tests__/magentoRouteHandler.test.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/peregrine/lib/Router/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { default as MagentoRouteHandler } from './magentoRouteHandler';
export {
default,
Consumer as RouteConsumer,
Expand Down
Loading

0 comments on commit 20020e8

Please sign in to comment.