Hi there, I seem to be having some issues getting preview to work. Iāve setup Gatsby Cloud and run through the automated integration with Dato. Builds seem to trigger correctly, the preview link generated updates with live data very quickly. All things appear to be working correctly apart from the CMS preview button plugin (https://github.com/gatsby-inc/datocms-plugin-gatsby-cloud) which doesnāt respond. Click it and I get nothingā¦ any thoughts? I have a slug field present on all models that relate to pages. Canāt seem to find any useful information on the issue.
Have you tried getting in touch with them? Maybe you can open an issue on the plugin repo to ask what they think about this? Sorry not being more helpful here, but this might be the fastest way to solve your issue.
Hi there,
We have been having an issue with Gatsby Preview on DatoCMS, and we have configured two languages (EN and DE). However, for pages that only have content in English, DE (German) appears as the default environment when we are previewing the page.
This happens on all pages, also pages that have content in both languages, but I am just focusing the English content, still the preview shows up with DE as language.
It only happens when clicking the āopen previewā button from DatoCMS.
If we access to the preview page from a link, works fine by showing the expected language.
Please, any idea about why is this happening? Thanks in advance.
I think thatās the right place to address this problem as it looks like the plugin doesnāt take into consideration the locale that you are seeing to open the preview link.
Letās keep an eye on the issue. If nothing happens there let me know and Iāll try pushing as well.