solidusio/solidus

[Admin] Live search functionality

rainerdema opened this issue · 0 comments

We are planning to add live search functionality to the Solidus Admin interface, specifically in the product listing.

The goal is to allow users to dynamically search through the product listing and observe results updating in real-time without any page refresh.

To achieve this, we can leverage the Hotwire's Turbo Frames.
Here are the steps to implement this solution:

  • Turbo Frame integration: Embed the product listing inside a Turbo Frame. This provides the ability to refresh the listing independently from the rest of the page.
  • Search Form submission: Configure the search form to submit on user input. This could be accomplished with a new component by using Stimulus to capture input events and trigger form submission.