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

LinkControl: Only suggest either "Add new page" or "Add link" #50178

Closed
getdave opened this issue Apr 28, 2023 · 1 comment
Closed

LinkControl: Only suggest either "Add new page" or "Add link" #50178

getdave opened this issue Apr 28, 2023 · 1 comment
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Feature] UI Components Impacts or related to the UI component system [Package] Block editor /packages/block-editor

Comments

@getdave
Copy link
Contributor

getdave commented Apr 28, 2023

Part of #50891

When typing a URL (e.g. www.wordpress.org) the option to add a draft should not display (and vise-versa). There should only be one or the either available as an action.

Visual

This mockup takes the full LinkControl refresh into account:

CleanShot 2023-05-23 at 15 16 55

And here's what we have today:

Screenshot 2023-04-28 at 15 48 31

Related to #38497

@getdave getdave added the [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) label Apr 28, 2023
@richtabor richtabor mentioned this issue May 23, 2023
13 tasks
@richtabor richtabor changed the title Hide "create draft page" result in Link Control if input is a direct link LinkControl: Only suggest either "Add new page" or "Add link" May 23, 2023
@richtabor richtabor added the [Package] Components /packages/components label May 23, 2023
@mirka mirka added [Feature] UI Components Impacts or related to the UI component system [Package] Block editor /packages/block-editor and removed [Package] Components /packages/components labels May 25, 2023
@richtabor
Copy link
Member

richtabor commented Jul 11, 2023

Closed by #51011 and #50178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Feature] UI Components Impacts or related to the UI component system [Package] Block editor /packages/block-editor
Projects
Development

No branches or pull requests

3 participants