-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strapi previews #1562
Comments
A couple of notes for the discussion:
|
That does look like it would work, but it seems mostly aimed at getting around the statically built pages. It will still work with I think I prefer a url param because you can add and remove them and it'll only apply for that request and you can have both versions open in separate tabs This feature looks great. Looks like it won't happen till strapi v5 and we don't know what that will be. Given our current approach to the problem (change the graphQL query from |
Great notes, thanks for sharing these. Let's still discuss this tomorrow, but it sounds like we might want to just wait until Strapi implements this. |
To summarize notes from our discussion today:
|
When editing pages in Strapi, our editors have little idea what the page will look like after hitting save. We'd like to have some way to preview changes without affecting what's displayed on the live site. When first creating a page, Strapi offers draft or published status, but that won't help when editing an existing page.
@danielbeardsley 's duplicate record idea --old
?preview
?preview
is specified, display the data from handle (not --old).@sterlinghirsh 's duplicate record idea --preview
?preview
?preview
is specified, add--preview
to the requested handle when querying Strapi.@sterlinghirsh 's POST idea
These ideas may not cover previewing sections or related components like banners. We may need a separate preview for banners etc. We could potentially create a strapi plugin that inlines the react component when editing a banner for realtime preview.
Additional features
?preview
is present, allow previewing drafts.The text was updated successfully, but these errors were encountered: