Skip to content

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

Closed

Description

@getdave

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

Activity

  1. added
    [Feature] Link Editing
    on Apr 28, 2023
  2. 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"[/+] on May 23, 2023
  3. added
    [Feature] UI Components
    [Package] Block editor
    and removed
    [Package] Components
    on May 25, 2023
  4. richtabor commented on Jul 11, 2023

    @richtabor
    Member

    Closed by #51011 and #50178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Link Editing[Feature] UI Components[Package] Block editor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions