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

[Admin] live product listing search (2) #5291

Closed

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    da46d45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8818ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    762e33b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49d951d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c181f6 View commit details
    Browse the repository at this point in the history
  6. Introduce product_search_key configuration for admin search

    Implement 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.
    rainerdema authored and elia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    8fddcf1 View commit details
    Browse the repository at this point in the history
  7. 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.
    rainerdema authored and elia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    e990d84 View commit details
    Browse the repository at this point in the history
  8. 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.
    rainerdema authored and elia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    208b02d View commit details
    Browse the repository at this point in the history
  9. Add search bar to ui/table Component

    In 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.
    rainerdema authored and elia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    5374fb6 View commit details
    Browse the repository at this point in the history
  10. Add Turbo for live search in ui/table component

    This 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.
    rainerdema authored and elia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    8a6e494 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fb073cd View commit details
    Browse the repository at this point in the history