I had previously been using previews on this repository without issue, and I did not change the toolbar JS used on the frontend to activate previews. My understanding is that if it was working previously, then the repo must have been setup with the appropriate preview toolbar backend.
I'm curious how this occurred and if there is anything our team can do in the future to prevent sudden rollbacks to the "old preview toolbar" on the admin panel / "writing room" side of things?
Would you recommend we create tests for the {repoURL}/toolbar/state endpoint to keep our eyes out for regressions?
This one was my bad it seems, I believe your team requested the deactivation of Slice Machine and in that process, I moved the repo on to an older group with the old toolbar.
There's no need to set up and tests as the likelihood of someone moving you to an old group like that again is minuscule.
For anyone seeing this in the future, it means you are on V1 of the toolbar. You can check this by checking https://my-repo-name.prismic.io/toolbar/state or check if the preview script in your repo settings includes new=true.
To have the new toolbar/edit button activated on your repo you can contact the Activations Team as described here: