gatsby-source-prismic-graphql
gatsby-source-prismic-graphql copied to clipboard
Add support for toolbar v3
- Change the endpoint for the toolbar and support the new Prismic preview cookie format
- The field
repositoryName
in the config allows multiple format:- repository name
- full api endpoint (rest/graphql)
- only domain + subdomain => Useful for test purpose and using the CDN according to the domain (Prismic or local environment)
Good refactor—pulling out those endpoint constants. 👍🏼
It's ready to be merged @birkir. It'll add the new edit button and the dev mode while in preview since it's the only way we contact Prismic, otherwise everything is static. A new PR will probably come to make these work in all cases.
Edit: Now compatible with the static state by providing a tracking url at build time.
Any updates on this getting merged?
What is the status of this PR
@arnaudlewis can you rebase so I can merge 🙏
bump
@arnaudlewis can this be merged?
Please merge!