Repository navigation
feat: adds restore as draft option to versions - #7100
Merged
Merged
Conversation
Contributor
|
@JessChowdhury it is missing translations for |
Contributor
GlobalsThis should work with Globals too, does it? GraphqlIt looks like it is graphql is missing types and args. The same two points will apply for global versioning in graphql too when that is implemented |
jacobsfletch
added a commit
that referenced
this pull request
Oct 27, 2026
Restoring a version in the admin now always saves a draft for draft-enabled collections and globals, preserving published content and statuses. Restoration can no longer publish or unpublish a document, protecting live content from accidental changes. Replaces the restore dropdown with a single `Restore as draft` action, building on #7100. Restores all locales into the latest draft. Editors review the restored content and explicitly publish from the document editor. Before: https://github.com/user-attachments/assets/258fb8a7-e20e-4f98-a467-aecfea9c804a After: https://github.com/user-attachments/assets/87ea51e9-6410-4b54-98ad-c2605becd84d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds option to restore a version as a draft.
versionstest suitedraftsand choose any doc withstatus: publishedrestore as draftoptionType of change
Checklist: