-
Notifications
You must be signed in to change notification settings - Fork 0
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
Blacklight Upgrade #19
Comments
Currently blocked by rails upgrade ticket: blacklight 7.33.1 depends on Rails 7 |
Making new tickets for updating the overrides |
Checkout my branch: gem install stack_car -v0.16.0 dory up navigate to navigate to run importer OR run in web container Need troubleshooting tips? |
rails upgrade notes: |
Testing on staging:Staging is: https://oralhistory-test.library.ucla.edu/
|
blocked for QA until we hear back from |
This passes SoftServ QA. Mobbed with April and Kirk to check each of the partials that was updated in this comment. |
Testing QA Instructions:
#19 (comment)
Testing on staging:
Staging is: https://oralhistory-test.library.ucla.edu/
UN: & PW for auth are
oralhistory
Admin user login (if needed): https://start.1password.com/open/i?a=LTLZ652TT5H5FHMYMASSH7PIXM&v=huuakin4bu4xanlhktv42qheam&i=mcualmilgnczhcga4gkqc4675a&h=scientist.1password.com
Please pay careful attention to the over written partials that are noted in the comment linked above.
Summary
Newest Version of Blacklight is 7.33.1. Blacklight should currently be running 7.10. Running bootstrap 4.6.0.
Related
The app will require a rails upgrade in order to upgrade to the latest blacklight version.
Rails Upgrade Ticket: #18
Acceptance Criteria
Notes
Hopefully still at this link: https://github.com/projectblacklight/blacklight/releases?page=6
Version 7.0.0
New features
Bootstrap 4
Rails 5.2 support
Webpacker support
JSON-API support
Solr 7.2 support
Dynamic solr schema by default
Additive configuration projectblacklight/blacklight#1767
Defined properties in the SolrDocument class projectblacklight/blacklight#1659
If you previously had a number of methods in your SolrDocument class like this:
def title
self['title_ssim'].first
end
You can now simplify these by replacing with:
include Blacklight::Solr::Document
attribute :title, Blacklight::Types::String, 'title_tesim'
Bug fixes
if the application name isn't defined in the current language, fallback to the application_name in the default language. projectblacklight/blacklight#1724
Upgrading
Add include Blacklight::DefaultComponentConfiguration to your catalog controller or
configure_blacklight do |config|
config.add_results_document_tool(:bookmark, partial: 'bookmark_control', if: :render_bookmarks_control?)
end
Documents are now returned using JSON-API at /catalog/:id.json This only returns fields that are configured using add_show_field. If you want to receive the full Solr document (all fields) in the format they were in in Blacklight 6, you must add the configuration: config.raw_endpoint.enabled = true and the endpoint will be changed to /catalog/:id/raw.json
If you are using Blacklight::Solr::Response directly, note that the options to the initializer have changed. Where previously it took :solr_document_model it now takes a :blacklight_config option.
Partial changes
shared/ajax_modal has moved toshared/modal
Bootstrap 3 to 4 migration guide
For updating your Blacklight application from Bootstrap 3 to 4, please review and contribute to the migration guide.
The text was updated successfully, but these errors were encountered: