scientist-softserv / utk-hyku

Other
6 stars 0 forks source link

Install blacklight range limit #597

Closed kirkkwang closed 6 months ago

kirkkwang commented 6 months ago

Story

🚧 Update Gemfile and ran installer

be4dcaccd7efb94c84136d58463dac0e73abd026

install command:

rails generate blacklight_range_limit:install

🚧 Add facet to CatalogController

257eb66655a3f9a372c1f67e603daf1cdbe4537f

This commit will follow the documentation and add the facet to the CatalogController. In our case we have the date_created_sim field.

🎁 Add blacklight range limit gem

169579f430964fe32c7ad8fc46c8541647db9a30

This commit will finish adding the range limit gem to the application. The slider and distro js wasn't loading in the gem because they keyed off of Blacklight.onLoad and that doesn't occur before the scripts run. I'm adding both js files into assets and changing the load to $(document).on('turbolinks:load', function().

Ref:

Screenshots / Video

image