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

Add Post Type to hyperlinks search window #16534

Closed
edwinhamers opened this issue Jul 11, 2019 · 4 comments
Closed

Add Post Type to hyperlinks search window #16534

edwinhamers opened this issue Jul 11, 2019 · 4 comments
Labels
[Feature] UI Components Impacts or related to the UI component system [Package] Format library /packages/format-library [Type] Enhancement A suggestion for improvement.

Comments

@edwinhamers
Copy link

edwinhamers commented Jul 11, 2019

WordPress, before Gutenberg, used to show the post type (page/post) within the search for hyperlink. Can this be added?

Before Gutenberg links
image

After Gutenberg
image

@swissspidy
Copy link
Member

Related: #13641

@sarahmonster
Copy link
Member

Many users often don't understand the distinction between different post types, so providing this information isn't always helpful. For power users who are more likely to make use of custom post types, this information is likely to be more relevant. The trick here is to determine a way of providing this information only when it's helpful to users, and avoid revealing information that contributes to complexity of the interface when it isn't helpful.

One approach would be to provide this distinction only when it's contextually relevant and will help users make a more confident choice, only showing the post type when there are two results with the same title. There are some mockups that relate to/directly address this on #8573.

@myosotisgit
Copy link

Many users often don't understand the distinction between different post types, so providing this information isn't always helpful. For power users who are more likely to make use of custom post types, this information is likely to be more relevant. The trick here is to determine a way of providing this information only when it's helpful to users, and avoid revealing information that contributes to complexity of the interface when it isn't helpful.

One approach would be to provide this distinction only when it's contextually relevant and will help users make a more confident choice, only showing the post type when there are two results with the same title. There are some mockups that relate to/directly address this on #8573.

Looks good in those other issues. Maybe close this issue and keep working on it in the other ones?

@skorasaurus
Copy link
Member

Thanks for reporting.
This has been added into Gutenberg and the Block editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Package] Format library /packages/format-library [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants