Add and use input field components for range form.
REF: #312
Ah, I see you already have gotten to it.
What do you think about adding a configuration field for the input_component, so local apps can change it and have it picked up by the advanced search plugin?
What tests should we add to ensure the hook you need in advanced search from remains without breaking, perhaps with comments warning that this is API used by external dependents?
The test failure looks familiar, this is something that's been happening to other projects, perhaps updating Rails version to latest patch release would fix it, I forget.
Yes, the test failure is this; it's happening in the Rails 7.0 cell and is due to an internal Rails bug that isn't going to get fixed given that 7.0 is no longer under active support. Workarounds are challenging and/or undesirable, e.g., pinning "concurrent-ruby", "< 1.3.5". The solution at the Blacklight core level was to remove any Rails versions under 7.1 from the CI matrix. Seems like we should we do the same here in blacklight_range_limit.
Thanks!
I think pinning concurrent-ruby to < 1.3.5 for test matrixes with Rails less than 7.1 is the way to go.
I'll try to do a PR to do that separately.
@jrochkind I just rebased this and all tests are passing now.
looks good to me!
Thanks for these improvements, @dkinzer -- looks good.