-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Admin] live product listing search (2) #5291
[Admin] live product listing search (2) #5291
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for da46d45 - Browse repository at this point
Copy the full SHA da46d45View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8818ae - Browse repository at this point
Copy the full SHA a8818aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 762e33b - Browse repository at this point
Copy the full SHA 762e33bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d951d - Browse repository at this point
Copy the full SHA 49d951dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c181f6 - Browse repository at this point
Copy the full SHA 5c181f6View commit details -
Introduce
product_search_key
configuration for admin searchImplement a new product_search_key configuration option to customize product search attribute in the admin interface. It defaults to `:name_or_variants_including_master_sku_cont`, enabling search by product name or product variants sku.
Configuration menu - View commit details
-
Copy full SHA for 8fddcf1 - Browse repository at this point
Copy the full SHA 8fddcf1View commit details -
Search bar params preparation in Products Index
Update the products controller's index action to prepare parameters needed for the search bar in the products list. The `product_params` method now includes a search_key derived from the `SolidusAdmin::Config[:product_search_key]`. Leveraged Ransack's functionality for building search queries which will be used for querying products.
Configuration menu - View commit details
-
Copy full SHA for e990d84 - Browse repository at this point
Copy the full SHA e990d84View commit details -
Refine ui/table Component to Handle Search Parameters
- Enhance the `ui/table` component by incorporating a `base_search_url` attribute that will be used in the search bar. - Prepare the pagination links to manage search query parameters.
Configuration menu - View commit details
-
Copy full SHA for 208b02d - Browse repository at this point
Copy the full SHA 208b02dView commit details -
Add search bar to
ui/table
ComponentIn this commit, we introduce a search bar into the `ui/table` component. The implementation leverages the Ransack gem for searching within the table data. With this addition, users can search for specific records from the `ui/table` component.
Configuration menu - View commit details
-
Copy full SHA for 5374fb6 - Browse repository at this point
Copy the full SHA 5374fb6View commit details -
Add Turbo for live search in
ui/table
componentThis enhancement enables live search functionality in the products list table and in general in the `ui/table` component, allowing users to search for products without reloading the page.
Configuration menu - View commit details
-
Copy full SHA for 8a6e494 - Browse repository at this point
Copy the full SHA 8a6e494View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb073cd - Browse repository at this point
Copy the full SHA fb073cdView commit details