Skip to content

Conversation

@jrochkind
Copy link
Contributor

Will make #2479 and #3062 easier

  • update to Blacklight 9.0.0.beta7 in Gemfile
  • update blacklight-frontend to 9.0.0.beta7
  • remove deprecated SolrDocument modules that we haven't used anyway
  • render constraints new Blacklight 9 way in customized catalog/index pages for collections
  • render facets/sidebar new Blacklight 9 way on collection/featured topic index page
  • Use search_header component directly, instead of partial removed from BL9, in collection and featured topic index
  • set page title new Blacklight 9 way and improve it on collection and featured topic index pages
  • Fix custom facet CSS overrides for Blacklight 9 use of Bootstrap 5 accordion
  • fix 'you searched for' i18n label for new key used in BL9
  • fix custom search-widgets alignment for Blacklight 9
  • fix blacklight_solr_repository spec for params arg temporarily required.
  • update to newer blacklight 9.0.0-beta8
  • Avoid BL9 deprecation warning for repository.search positional argument
  • turn off new facet suggest feature until we are ready to turn it on

Also will need to include something for SearchBuilder BL9 refactor if that goes forward. projectblacklight/blacklight#3762

We don't even use whatever blacklight email/sms functionality these are about.

projectblacklight/blacklight@28a112e
…cordion

New direction of arrow/caret icons are preferred by Nielsen, we'll stick with them: https://www.nngroup.com/articles/accordion-icons/
Oddly, it seems `params:` arg IS intended to allow a Blacklight::SearchBuilder value, it's in the yard docs.

Avoids this deprecation warning:

> DEPRECATION WARNING: Passing positional arguments to search() is deprecated. Use the params kwarg instead. (called from FeaturedTopicController#total_count at /Users/jrochkind/code/scihist_digicoll/app/controllers/featured_topic_controller.rb:44
….0.beta8

This seems to be what it requires of us. Under discussion in projectblacklight/blacklight#3762 it is somewhat possible it will change before 9.0.0 final, although some people strongly prefer it this way.
…h_builder

Refactor SearchBuilder search logic customizations for Blacklight 9.0.0.beta8
@jrochkind jrochkind marked this pull request as ready for review November 10, 2025 20:00
@jrochkind jrochkind merged commit 6d53483 into master Nov 10, 2025
1 check passed
@jrochkind
Copy link
Contributor Author

Oh forgot to mention, one (the only?) user-visible change by BL9 upgrade is our facet sidebar expand/contract icons change, as BL changed them.

Googling reveals Nielsen Group user researchers endorse the new BL9 icons as the ones generally most recognized by users for facet expand/contract, so we went with it. https://www.nngroup.com/articles/accordion-icons/

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.

3 participants