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

Provide support for the default WP post lookup admin feature #1397

Open
brandwaffle opened this issue Jul 11, 2019 · 0 comments
Open

Provide support for the default WP post lookup admin feature #1397

brandwaffle opened this issue Jul 11, 2019 · 0 comments
Labels
enhancement front end Issues mostly related to the Front End like JavaScript/React and CSS. module:protected-content Issues related to the Protected Content functionality

Comments

@brandwaffle
Copy link
Contributor

brandwaffle commented Jul 11, 2019

Is your enhancement related to a problem? Please describe.

This feature would speed up the ajax-based post lookup that happens when you click on the Link button in Gutenberg and search for a post on the site.
Screen Shot 2019-07-11 at 1 37 39 PM

Describe the solution you'd like

Take over the search behavior at /wp-json/wp/v2/search?search=&per_page=20&type=post&_locale=user if the plugin has the Protected Content feature activated. Optional: consider activating this if Search is active, limited obviously to published content. Might not be totally intuitive, but then again if this is for linking it would usually make sense to only show live articles (i.e. those that have a URL).

Designs

None.

Describe alternatives you've considered

Open to discussion :)

Additional context

@felipeelia felipeelia added front end Issues mostly related to the Front End like JavaScript/React and CSS. module:protected-content Issues related to the Protected Content functionality labels Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement front end Issues mostly related to the Front End like JavaScript/React and CSS. module:protected-content Issues related to the Protected Content functionality
Projects
None yet
Development

No branches or pull requests

2 participants