wp-parsely icon indicating copy to clipboard operation
wp-parsely copied to clipboard

PCI Related Posts: Consider adding a "Search" button

Open acicovic opened this issue 6 months ago • 1 comments

Is your feature request related to a problem?

Our current Related Posts implementation doesn't have a button for fetching the results. Rather, results are auto-fetched on every change. This was ideal in our previous implementation, which could fetch data only for 1 parameter (author, section, or tag). This made the experience quite fast.

However, our new implementation supports AND search, allowing for selection of multiple parameters (author + section + up to 5 tags). Because of the auto-loading functionality, someone who wants to search for posts by author + section + 2 tags will make a total of 5 requests to the API (1 initial load + 4 loads for every param change).

Image

Should we add a "Search" (or similarly titled) button so users can initiate the search, this eliminating unneeded API calls and loading of irrelevant results?

Pinging @LauraKalnicky and @dabowman for input on this.

Describe the solution you'd like

Implement a "Search" (or similarly titled) button.

Describe alternatives you've considered

Leave as is.

acicovic avatar Jun 03 '25 17:06 acicovic

I agree with adding a search button here

LauraKalnicky avatar Jun 13 '25 21:06 LauraKalnicky