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

[Site Editor] Templates list screen - Adding duplicate to 3 dot menu. #36665

Open
paaljoachim opened this issue Nov 19, 2021 · 6 comments
Open
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

The following is based on testing the PR Gutenberg Build from this PR: #36379 (comment)

What problem does this address?

It would be helpful to add a duplicate template into the 3 dot menu.

Screenshot 2021-11-19 at 16 40 19

What is your proposed solution?

Adding a duplicate option.
Duplicate-template

@jameskoster
Copy link
Contributor

It's important to note that only custom templates can be duplicated. It should not be possible to duplicate primary templates (index, single, archive, search, etc).

@Mamaduka
Copy link
Member

@jameskoster user should be able to duplicate, let's say single.html and use it as a base for Page. But this would require extra steps.

We can start with custom templates and progressively enhance the duplication feature.

@jameskoster
Copy link
Contributor

We need to be careful with providing a duplication UI for primary templates because in this case duplication should only occur as part of the new template creation flow, never as a discrete action. We shouldn't make it possible for folks to create multiple index templates for instance. Perhaps the duplication element doesn't need to be surfaced to the user at all..?

user should be able to duplicate, let's say single.html and use it as a base for Page. But this would require extra steps.

For that particular example I think the flow should focus around adding a "Page" template from the "Add new" menu, and the duplication of single should take place automatically in the background.

@paaljoachim
Copy link
Contributor Author

Let's go with:

We can start with custom templates and progressively enhance the duplication feature.

@aurooba
Copy link
Member

aurooba commented Jan 26, 2022

Hallo! I agree that it makes sense to start with custom templates. :) This was a little mockup I made a couple days ago in a duplicate issue:
kebab menu for templates has a duplicate option

The idea I had is that clicking on the duplicate option, pops open the same dialog we get now when we make a new template, letting us choose a name and the template the customizations should be assigned to.

@porg
Copy link

porg commented Mar 8, 2023

Core functions of any template/preset management in any software:

  • Create / Edit / Rename / Delete / Duplicate (start with a copy and then modify)

Looked for the "duplicate" functionality in the more dropdown of the template name that I wanted to duplicate, exactly as proposed!

@annezazu annezazu added [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") and removed [Feature] Full Site Editing labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants