Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support open-ended ranges #278

Merged
merged 4 commits into from
Nov 14, 2024
Merged

Support open-ended ranges #278

merged 4 commits into from
Nov 14, 2024

Conversation

jrochkind
Copy link
Member

Fixes #235

Relies on behavior that will be in upcoming Blacklight release from projectblacklight/blacklight#3443 -- but polyfills this behavior in, kind of hackily. (It would have been even hackier to try to keep things no-op on old Blacklights without the fix I think!). Assume BL fix will be in next BL 8.x release, since it's already merged.

Include some new browser specs meant to try to prevent regression, as this was a breakage tests didn't fix caused by a major refactor previous.

I started work on this before noticing @taylor-steve's #258, but once I did notice reivewed his code and saw a couple things I had missed actuallyand ideas for improving mine, and borrowed his tests. Thanks @taylor-steve !

  • Polyfill Blacklight endless range behavior
  • Support one-ended ranges
  • add browser specs for open-ended ranges

Copy link
Collaborator

@seanaery seanaery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything here works really well--nice job on this. Just added one question I have about one of the feature specs.

@jrochkind jrochkind merged commit 7a5f5bc into main Nov 14, 2024
9 checks passed
@jrochkind jrochkind deleted the one_ended_ranges branch November 14, 2024 15:29
@jrochkind jrochkind mentioned this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If you omit the start or end date, the search is not filtered.
2 participants