-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Enable page & post creation via the "Add Link" interface #26317
Comments
@shaunandrews noticed that we don't show the "create page" suggestion until the searching is finished, which seems backwards. Do you remember if that was an oversight or intended to function that way? |
@mtias I didn't see that option pop-up for a Buttons Block in testing with a user recently. I just tried this on a WordPress.com site, and I don't see the prompt to create a page: So we don't seem to have a consistent option for this where there are opportunities to add links. |
@pauljacobson that's what I meant with "but it's not enabled for inline links". It's only toggled on for the navigation block. |
Thank you for clarifying @mtias, I am looking forward to seeing this feature added to inline links :) |
I agree, the Button is an excellent use case as well :) |
I don't recall why an "new page" options was exposed by default. We definitely explored the design for it. I guess I'd label it as an oversight. I see #26351 was recently created to address the visuals of the Link UI, which has lagged behind the rest of the editor and the G2 updates. |
I'd like to point out some things I've seen in this component. I can move this list to a new issue if that's more useful:
|
We should also probably use a document icon for the new page, not the + which in the context of all the pluses used for inserters can get confusing. |
True.
PS: Even though it's tangentially related to this issue, the design for the UI of this component can be found in this Figma file. I'll probably rename the file to include future design explorations. |
Ok so I took a quick look into the complexities of achieving this. Unfortunately the inline links are handled by the Therefore, we're going to have to do some juggling and allow block editors to expose their own "create entity" function on the editor settings (much as we do with So basically....it's more complex than I first thought... |
When setting up a site from scratch, users will update the links in their homepage and will often need to add links to pages or posts that do not exist yet. Wrapping one's head around how this works can be a source confusion and, even if you understand how it works, it will break your workflow.
My suggestion would be to let users create a new page or post the moment they are adding the link, here:
This follows the same logic of the feature we have on Homepage Settings and Menus to create a new page "on the fly".
The text was updated successfully, but these errors were encountered: