-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/canary' into feature/GCOM-1229-s…
…upport-all-customizable-options
- Loading branch information
Showing
217 changed files
with
4,670 additions
and
1,369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/hygraph-dynamic-rows-ui': patch | ||
--- | ||
|
||
Fix eslint errors in Dynamic Rows UI package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/hygraph-dynamic-rows': patch | ||
--- | ||
|
||
enabled multiple rows per Dynamic Row |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
Added info icon for Snackbar when severity is set to info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/next-config': patch | ||
--- | ||
|
||
Created ./devcontainer/devcontainer.json to automatically run Graphcommerce after opening Codespaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@graphcommerce/magento-review': patch | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
Fixed schema-dts dependency issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
Added ‘disableBackdropClick’ prop to MessageSnackbar to allow page interaction without closing the snackbar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/mollie-magento-payment': patch | ||
--- | ||
|
||
Fixed the issue where a guest returned to a empty cart after a canceled payment with Mollie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/magento-graphcms': patch | ||
--- | ||
|
||
Added .graphqlrc.yml for graphql file autocompletion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/magento-category': patch | ||
--- | ||
|
||
Fixed a bug where pagination would be added when navigating to a subcategory from a paginated page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
Added DismissibleSnackbar component to allow messages to be shown only once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/hygraph-dynamic-rows-ui': minor | ||
--- | ||
|
||
Add Dynamic Row UI for property UI field through a custom Hygraph application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@graphcommerce/googletagmanager': minor | ||
'@graphcommerce/googleanalytics': minor | ||
--- | ||
|
||
Made all magento dependencies optional in the googleanalytics and googletagmanager packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
If there is an open menu in an overlay, pressing the escape button now closes the menu instead of the overlay. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@graphcommerce/magento-graphcms': patch | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
Implemented Message variant for RowColumnOne to show an important message which, after dismissing, will not show again |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphcommerce/next-ui': patch | ||
--- | ||
|
||
Change the critical css injection location to be in the head instead of `<style>` tags in the body. It has a number of negative consequences, such as the famous "flash of unstyled content" (FOUC) and the re-paint and re-layout required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine | ||
// Configuring Codespaces with 16 GB ram is recommended | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/base:alpine", | ||
"features": { | ||
"ghcr.io/cirolosapio/devcontainers-features/alpine-node:0": { | ||
"lts": true, | ||
"corepack": true | ||
} | ||
}, | ||
"waitFor": "updateContentCommand", | ||
"updateContentCommand": "cd examples/magento-graphcms && yarn install", | ||
"postAttachCommand": "cd examples/magento-graphcms && yarn dev", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"GraphQL.vscode-graphql", | ||
"mikestead.DotENV", | ||
"mrorz.language-gettext", | ||
"redhat.vscode-yaml" | ||
] | ||
} | ||
}, | ||
"portsAttributes": { | ||
"3000": { | ||
"label": "Graphcommerce", | ||
"onAutoForward": "notify" | ||
} | ||
}, | ||
"forwardPorts": [3000] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Hygraph Dynamic Rows | ||
|
||
As you might have learned, Dynamic Rows enable the addition of rows across | ||
multiple pages through rule-based relationships, rather than manually adding a | ||
row to each page. These rules hinge on shared attributes among the pages, with a | ||
category being a typical example of such an attribute. To enable the Dynamic Row | ||
UI Extension, follow the installation instructions as below. | ||
|
||
> Installation | ||
> | ||
> [Click here to install the Dynamic Row UI Extension](https://app.hygraph.com/apps/dynamic-row-property-picker/new) | ||
<img width="1792" alt="image" src="https://github.com/graphcommerce-org/graphcommerce/assets/49681263/3226eedb-e58c-4d3f-9516-14ff6ed56f24"> | ||
|
||
## Enabling the Application | ||
|
||
Once you click the link and authorize the application, you'll be taken to the | ||
app's configuration page. On this page, you can switch the application on or off | ||
as needed. | ||
|
||
<img width="1792" alt="image" src="https://github.com/graphcommerce-org/graphcommerce/assets/49681263/ec9b55f6-14f6-466e-8a31-0b893ffe1297"> | ||
|
||
## Enabling the field | ||
|
||
Now to enable the field, go to your Hygraph schema. Under components you should | ||
have a `Text` and `Number` component. Each of these have a field with api ID | ||
`property`. You will have to delete this field in both components. This will | ||
result in current field data being lost, so in case you are migrating to the | ||
extended UI, make sure to have a copy of those fields somewhere else. | ||
|
||
> Note | ||
> | ||
> Make sure you migrated your schema to Graphcommerce 7.0 with | ||
> [our Hygraph-CLI.](./cli.md) | ||
Replace the existing fields with the new `Property picker` field in the right sidebar | ||
(it should be under `Slug` and above `Rich text`). While adding the | ||
`Property picker` field make sure that you make it `required`. | ||
|
||
<img width="1792" alt="image" src="https://github.com/graphcommerce-org/graphcommerce/assets/49681263/9206f86d-477c-4eaf-bec6-1648874bee5e"> | ||
|
||
## Start building with your new Dynamic Rows UI! | ||
|
||
If you have any questions about the feature, please reach out to us in our Slack | ||
channel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
projects: | ||
Project: | ||
schema: | ||
- .mesh/schema.graphql | ||
- node_modules/@graphcommerce/graphql/apollo-client.graphql | ||
- node_modules/@graphcommerce/graphql-codegen-near-operation-file/src/directive/env.graphqls | ||
- node_modules/@graphcommerce/graphql-codegen-near-operation-file/src/directive/injectable.graphqls | ||
documents: | ||
- ./components/**/*.graphql | ||
- ./graphql/**/*.graphql | ||
- node_modules/@graphcommerce/**/*.graphql | ||
extensions: | ||
languageService: | ||
useSchemaFileDefinitions: true | ||
endpoints: | ||
default: | ||
url: http://localhost:3000/api/graphql/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
examples/magento-graphcms/components/GraphCMS/RowColumnOne/RowColumnOne.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
fragment RowColumnOne on RowColumnOne { | ||
id | ||
rowColumnOneVariant | ||
colOne { | ||
raw | ||
} | ||
|
Oops, something went wrong.