ransack-search-element

0.0.2-alpha • Public • Published

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

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ransack-search-element

Weekly Downloads

0

Version

0.0.2-alpha

License

ISC

Unpacked Size

22.3 kB

Total Files

7

Last publish

Collaborators

  • adzienis