0.0.2-alpha • Published 3 years ago

ransack-search-element v0.0.2-alpha

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

RansackSearchElement

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.

Todo

  • 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)

Usage

Use ransack_search_tag in your views, and supply it with more options as of yet to be defined.

Installation

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

Contributing

Yeah just send it.

Alt

License

The gem is available as open source under the terms of the MIT License.

0.0.2-alpha

3 years ago

0.0.1-alpha

3 years ago