Generic Ransack backed element to give a dynamic frontend for advanced searching and filtering, such as for exploratory joins. Still early in development (refactoring?), so contributions welcome. This is originally based on a set of React and Bootstrap elements.
- [x] Write wrapper Rails tags
- [ ] Rip out React and replace with Web Components
- [ ] Rip out Bootstrap and replace with leaner default styles (possibly customizable with sass?)
- [ ] Decouple javascript further
- [ ] Write adapters to interface with other search backends? (big maybe)
Use ransack_search_tag
in your views, and supply it with more options
as of yet to be defined.
gem 'ransack_search_element'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ransack_search_element
You will also need to install the accompanying npm package,
ransack-search-element
:
yarn add ransack-search-element
Yeah just send it.
The gem is available as open source under the terms of the MIT License.