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

Decoupling slug/post from the Editor content #11146

Closed
manojhl opened this issue Oct 27, 2018 · 1 comment
Closed

Decoupling slug/post from the Editor content #11146

manojhl opened this issue Oct 27, 2018 · 1 comment
Labels
[Feature] Permalink The permalink of a post or page and the experience of setting or editing it Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@manojhl
Copy link

manojhl commented Oct 27, 2018

I was creating a new custom post type for dogs in WP 5 beta version. Each entry will have a title(name), featured image, a slug, some metadata fields, and a description. By default the editor interface had slug, title in place.

image

I was trying to do something similar to this without completely recreating the Editor experience (like adding Editor top bar and Editor settings).

image

The big problem was slug. When you create a new custom post type the ediorProvider adds title and the url slug editor into the Editor content and I found PostPermalink added in the PostTitle component. If the post type doesn't support title PostTypeSupportCheck completely hi

My poroposal is to move the PostPermalink to the Editor top bar or Editor settings so that even if developer decides to use the post title in a different way than expected the viewing/updating permalink experience for end user would be consistant.

image

Let me know what you guys think.

@earnjam earnjam added the [Type] Enhancement A suggestion for improvement. label Oct 30, 2018
@designsimply designsimply added Needs Design Feedback Needs general design feedback. [Feature] Permalink The permalink of a post or page and the experience of setting or editing it labels Nov 6, 2018
@karmatosed
Copy link
Member

karmatosed commented Nov 14, 2018

Thanks for this idea. I think adding more icons to the top menu bar isn't really the best way forward here. It rapidly becomes very complex visually and people I would question are looking in that section. For example, using the link icon could mean someone thinks "oh that's a way to add a link", over what it is.

There is an exploration to add permalinks to the document sidebar, let's focus for now on that and iterate: #11858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Permalink The permalink of a post or page and the experience of setting or editing it Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants