gatsby-source-prismic-graphql icon indicating copy to clipboard operation
gatsby-source-prismic-graphql copied to clipboard

Add support for toolbar v3

Open arnaudlewis opened this issue 5 years ago • 9 comments

  • 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)

arnaudlewis avatar Aug 01 '19 12:08 arnaudlewis

Good refactor—pulling out those endpoint constants. 👍🏼

brandonfancher avatar Aug 03 '19 00:08 brandonfancher

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.

arnaudlewis avatar Sep 04 '19 10:09 arnaudlewis

Edit: Now compatible with the static state by providing a tracking url at build time.

arnaudlewis avatar Oct 01 '19 15:10 arnaudlewis

Any updates on this getting merged?

madeleineostoja avatar Apr 24 '20 22:04 madeleineostoja

What is the status of this PR

rowin1125 avatar Jun 09 '20 17:06 rowin1125

@arnaudlewis can you rebase so I can merge 🙏

birkir avatar Jun 18 '20 23:06 birkir

bump

evolve2k avatar Jul 09 '20 06:07 evolve2k

@arnaudlewis can this be merged?

kouliavtsev avatar Aug 07 '20 14:08 kouliavtsev

Please merge!

bloque-iman avatar Aug 08 '20 04:08 bloque-iman