- If you followed, the onboarding docs or used the onboarding scripts, you already have nvm. If not, install it.
- Run
nvm install && nvm useto ensure you have Node 10 available on the command line - Run
npm ci - Any changes should be made in src/react-typeahead/tokenizer.
- Run
npm run build - Copy the updated react-structured-filter.js file over to rainbow in the
src/client/_modulesdirectory - Commit all changes and create a PR
react-structured-filter is a javascript library that provides autocomplete faceted search queries.
This was inspired by visualsearch and
structured-filter but redone for
React.
It is heavily based on react-typeahead and uses some modified code from
react-datepicker.
It was developed to be used with Griddle,
but should be usable with fixed-data-table.
It is used by Summit Route internally for analyzing our data.
We needed an interface to provide advanced querying capabilities.
Be aware that it might be confusing to your users and queries can be constructed that may not be performant on your dataset.
The demo provided uses static data sent down to the client.
You should poll data from a server and do filtering on a real database.
BSD License