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

Template creation: Append slug to template name if a template with a matching name exists #42895

Open
jameskoster opened this issue Aug 2, 2022 · 1 comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

This came up in #42165.

The problem

If you have two posts with the same title and create templates for them both, they will have the same name, and you will see this in the templates list:

Screenshot 2022-08-02 at 12 37 48

Clearly there is no way to identify one from the other without opening the template.

A possible solution

For taxonomy templates we append the slug when duplicate names exist, resulting in things like this:

We might consider implementing this solution across the board, or exploring alternatives.

cc @jorgefilipecosta @ntsekouras

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Aug 2, 2022
@github-actions
Copy link

Hi,
This issue has gone 180 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@github-actions github-actions bot added the Needs Testing Needs further testing to be confirmed. label Jan 30, 2023
@ndiego ndiego removed the Needs Testing Needs further testing to be confirmed. label Jan 31, 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

2 participants