Implementing Dropdown Menu for Filtering Date Ranges with Typesense and React Hooks
TLDR Christoph wanted to implement a dropdown menu to filter search results by a date range using Typesense and React InstantSearch Hooks. Jason suggested creating a custom widget and adapting the DateRangePicker widget for relative dates.
Mar 04, 2023 (7 months ago)
Christoph
05:17 PMDima
05:30 PMChristoph
06:46 PMJason
06:55 PMJason
06:56 PMChristoph
06:57 PMJason
06:59 PMJason
06:59 PMChristoph
06:59 PMJason
07:02 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Combining ReactInstant Search Widgets with React Hook Form Version
Uma asks if they can combine ReactInstant Search widgets with React Hook Form version widgets. Jason suggests asking in the Instantsearch github repo, but suspects they'd need to switch all widgets to the hooks version.
Query on Menu RefinementList and Usage of Typesense with React-InstantSearch-Hooks
Dipankar wanted to refine menus using `react-instantsearch-dom` and inquired on Typesense's compatibility with `react-instantsearch-hooks`. Jason recommended using `connectCurrentRefinements` and confirmed Typesense's compatibility.
Customizing UI for Typesense Filters with Instantsearch Adapter
KARTHICK asked about custom UI for typesense filters. Jason suggested creating custom Instantsearch widgets and using typesense-js for direct calls if building own UI widgets.
Issue with Typesense Instantsearch and Upgrading to React 18
Carl experienced problems updating packages for a project. VIVEK suggested disabling reactStrictMode, while Jason insisted on downgrading to React 17 due to compatibility issues. Carl eventually found a workaround.
Issues with Typesense Frontend Search Integration
Akash experienced issues integrating Typesense into their frontend search, particularly with their search box. Jason guided them to troubleshoot, eventually identifying the issue to be with react-instantsearch-dom and suggesting a downgrade to react 17, which resolved the issue.