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

Determine compatibility with instantSearch #388

Closed
13 of 26 tasks
bidoubiwa opened this issue May 3, 2021 · 1 comment
Closed
13 of 26 tasks

Determine compatibility with instantSearch #388

bidoubiwa opened this issue May 3, 2021 · 1 comment

Comments

@bidoubiwa
Copy link
Contributor

bidoubiwa commented May 3, 2021

fixed by: #417

Compatibility

All bulletpoints that have been crossed are UI related and do not need to be tested.

Every bullet point starting with a ⚠️ is not compatible with instantMeiliSearch.

Basics

  • instantsearch: The main component of InstantSearch.js. This object manages the widget and lets you add new ones.

    • indexName
    • searchClient
      // Optional parameters
    • ⚠️ numberLocale
    • searchFunction
    • initialUiState
    • onStateChange
    • stalledSearchDelay
    • ⚠️ routing
    • insightsClient
  • ⚠️ index: This widget lets you apply widgets to a specific Algolia index. It’s useful when you want to build a federated search interface.

  • configure: The widget lets you provide raw search parameters to the Algolia API without rendering anything.
    => Needs updated: Compatibility with algoliaSearch parameters #389

  • ⚠️ configureRelatedItems: The widget computes search parameters to create related items experiences without rendering anything.

  • ⚠️ panel: A widget that wraps other widgets in a consistent panel design. It also reacts when the widget can no longer refine.

  • ⚠️ autocomplete: A connector that provides the logic to create a connected component that renders results from Algolia.

  • ⚠️ middleware: With the middleware API, you can inject functionalities in the InstantSearch.js lifecycle.

  • ⚠️ renderState: The renderState provides access to all the data to render the widgets, including the methods to refine the search.

Results

  • hits: A widget to display a list of results.

  • infiniteHits: A widget to display a list of results with a “Show more” button.

  • highlight: A function that returns any attribute from a hit into its highlighted form, when relevant.

  • snippet: A function that returns any attribute from a hit into its snippeted form, when relevant.

  • ⚠️ geoSearch: A widget that displays the list of results from the search on a Google Maps map.

  • ⚠️ answers: A widget to fetch and display the result that answers users’ question via semantic search.

Refinements

  • refinementList: One of the most common widget you can find in a search UI. With this widget, the user can filter the dataset based on facets.

  • ⚠️ hierarchicalMenu: A widget to create a navigation based on a hierarchy of facet attributes. It is commonly used for categories with subcategories.

  • ⚠️ rangeSlider: A widget that provides a user-friendly way to filter the results, based on a single numeric range.
    Alternatively you can use configure filter example here

  • menu: A widget that displays a menu that lets the user choose a single value for a specific attribute.

  • currentRefinements: A widget that displays a list of refinements applied to the search.

  • rangeInput: A widget that allows a user to select a numeric range using a minimum and maximum input.

  • menuSelect: A widget that allows a user to select a single value to refine in a dropdown menu.

  • toggleRefinement: A widget that provides an on/off filtering feature based on an attribute value.

  • numericMenu: A widget that displays a list of numeric filters in a list. Those numeric filters are pre-configured with creating the widget.

  • ratingMenu: A widget that lets the user refine search results by clicking on stars.

  • clearRefinements: A widget that displays a button that lets the user clean every refinement applied to the search.

Pagination

  • pagination: A widget that displays a pagination system allowing the user to change the current page.

  • hitsPerPage: A widget that displays a dropdown menu to let the user change the number of displayed hits.

Metadata

  • ⚠️ breadcrumb: The breadcrumb widget is a secondary navigation scheme that lets the user see where the current page is in relation to the facet’s hierarchy.

  • stats: A widget that displays the total number of matching hits and the time it took to get them.

  • poweredBy: A widget to display the Algolia logo to redirect to our website.

  • analytics: A widget that pushes the current state of the search to the analytics platform of your choice.

  • ⚠️ queryRuleCustomData: A widget to display custom data from Rules.

  • ⚠️ queryRuleContext: A widget to set Rule contexts without rendering anything.

⚠️ Sorting

  • ⚠️ sortBy: A widget that displays a list of indices, allowing a user to change the way hits are sorted (with replica indices).

  • ⚠️ relevantSort: A widget that displays the current search mode when searching in a virtual replica index, and allows users to switch between Relevant and regular sorting, which is more exhaustive and can return less relevant results.

Routing

  • simple: A state mapping used by default with routing.

  • singleIndex: A state mapping that enables backward compatibility with version 3.x.x.

  • history: A router used by default with routing.

  • uiState: An object that represents the state of the search.

@bidoubiwa bidoubiwa changed the title Add tests and determine compatibility with instantSearch Determine compatibility with instantSearch May 24, 2021
@bidoubiwa
Copy link
Contributor Author

fixed by: #417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant