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

Better date range Facet + Widgets using JSON API #469

Open
DiegoPino opened this issue Oct 8, 2024 · 3 comments
Open

Better date range Facet + Widgets using JSON API #469

DiegoPino opened this issue Oct 8, 2024 · 3 comments
Assignees
Labels
Drupal 10 Upgrade economy enhancement New feature or request Events and Subscribers get 2 printed issues for free Javascript Favourite language of a PHP developer Search and Discovery Mess around and find out Search API Sub Modules When you need more .info.yml files to keep life organized UI driven hints Show stuff on screen so people have less guessing to do UX Like UI but with an X
Milestone

Comments

@DiegoPino
Copy link
Member

Superseeds #443

Adds a complete new implementation for Date Facets using native gap + max/min processing from the obscured by search API (but fully functional) Facet JSON API Solr provides

@DiegoPino DiegoPino added enhancement New feature or request Javascript Favourite language of a PHP developer UI driven hints Show stuff on screen so people have less guessing to do UX Like UI but with an X Search and Discovery Mess around and find out Search API Sub Modules When you need more .info.yml files to keep life organized Drupal 10 Upgrade economy Events and Subscribers get 2 printed issues for free labels Oct 8, 2024
@DiegoPino DiegoPino added this to the 1.5.0 milestone Oct 8, 2024
@DiegoPino DiegoPino self-assigned this Oct 8, 2024
@patdunlavey
Copy link
Collaborator

Hi @DiegoPino I see that the PR includes the chart.js library in the new "format_strawberryfield_facets" module. I wonder if you can describe what you have in mind for that? The reason I ask is because we've been asked to evaluate the feasibility of replicating the look and feel (and functionality) of of the date range widget seen on this Emory University site: https://digital.library.emory.edu/?range%5Byear_for_lux_isim%5D%5Bbegin%5D=1251&range%5Byear_for_lux_isim%5D%5Bend%5D=2024.
image
That widget comes from blacklight_range_limit.
The requirements that we have been given are:

  1. It should have an "Apply" button. I.e. it should not auto-submit when the min or max limit changes.
  2. Display a variable granularity histogram of dates in the results set.
  3. Slider as well as min-max text fields.
  4. Index granularity of years (finer granularity would, presumably, make things a LOT more complicated).

@DiegoPino
Copy link
Member Author

@patdunlavey the new date range facet I am coding uses the chart.js (and tons of other things) to draw the frequency, but won't match visually the samvera one. It does match your requirements (except the granularity, it uses something more advanced) But this is part of the 1.5.0 release, so a month at least.

@patdunlavey
Copy link
Collaborator

That sounds great! Let me know if/how I can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Drupal 10 Upgrade economy enhancement New feature or request Events and Subscribers get 2 printed issues for free Javascript Favourite language of a PHP developer Search and Discovery Mess around and find out Search API Sub Modules When you need more .info.yml files to keep life organized UI driven hints Show stuff on screen so people have less guessing to do UX Like UI but with an X
Projects
None yet
Development

No branches or pull requests

2 participants