Skip to content
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

Keep revisions of templates & template parts after a reset, similar to global styles #65369

Closed
Andrew-Starr opened this issue Sep 16, 2024 · 1 comment
Labels
[Block] Template Part Affects the Template Parts Block [Feature] Saving Related to saving functionality [Feature] Templates API Related to API powering block template functionality in the Site Editor [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.

Comments

@Andrew-Starr
Copy link

What problem does this address?

It is very frustrating to find that previous template or template part revisions are deleted after hitting the reset option.

It's such an easy mistake to make, and if the user is not aware that all previous revisions will be removed it provides an awful user experience.

Imagine putting a lot of work into editing a template and inadvertently clicking reset instead of revisions, and in one click all your hard work is gone forever.

What is your proposed solution?

Make it possible to keep the older revisions of templates and parts, in a similar way to how the global styles can be reset to the theme default, but the previous styles are not deleted and are still available should the user wish to switch back to any of the older style edits.

@Andrew-Starr Andrew-Starr added the [Type] Enhancement A suggestion for improvement. label Sep 16, 2024
@talldan talldan added [Feature] Templates API Related to API powering block template functionality in the Site Editor [Feature] Saving Related to saving functionality [Block] Template Part Affects the Template Parts Block labels Sep 17, 2024
@talldan
Copy link
Contributor

talldan commented Sep 17, 2024

Thanks for reporting, this seems similar to #52221, so I'll close as a duplicate and drop a link to this issue.

@talldan talldan closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2024
@talldan talldan added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Template Part Affects the Template Parts Block [Feature] Saving Related to saving functionality [Feature] Templates API Related to API powering block template functionality in the Site Editor [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants