All notable changes to Orchid will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - unreleased
- displays flash message if API is down, instead of pages throwing errors
- Fix removed Sprockets 4.x app/assets/config/manifest.js lines
- Adjust hierarchy of headers to meet accessibility guidelines
- keyboard navigation for collapsible filter panels
- role=button added to anchor tags styled as a button
- buttons can be activated with spacebar
- panels displayed uncollapsed if javascript is not ebabled
- modernizr files added to vendor directory
- more Orchid favicons and icons generated by setup
- updates jquery 1.x to 3.x
- rails g setup is now rails g orchid_setup
- check_response method added to items_controller
- updated documentation on assets and updating modernizr
- changed instructions on how to install rails and generate a new app
- modify existing app's
application.js
- change
//= require jquery
to//= require jquery3
- apps will continue to function with older jquery if not modified
- change
- add
errors.api
andsearch.results.error
to locale files - check items_overrides and views/items for changes related to display items when API is unavailable
- update existing apps'
app/assets/config/manifest.js
to include Sprockets 3.x and 4.x defaults like the updated template to be copied by the generator https://github.com/CDRH/orchid/commit/b90a3f4063352c2220aa12184bbb933799a9d601
v3.1.1 - splitting templates, fixing languages
- bug with locales yaml creation
- es locale file will be copied into app if Spanish requested
- thumbnail size in
public.yml
requires quotation marks for newer psyche yaml gem
- partials for browse, browse_facet, index, and search_preset header content for easier overriding
- displays language toggle options in respective languages, therefore English instead of en, Español instead of es, etc
- helper method
language_toggle_link
moves logic for language links out of view - documentation for api connection and controller inheritance
- adds partials for easier overriding:
browse_header
browse_facet_header
index_header
search_preset_header
analytics
(head)language
(head)
- language documentation clarified and expanded
- references to
APP_OPTS["languages"]
changed to useall_languages
- rename
languages
andALL_LANGUAGES
toall_languages
inpublic.yml
file
v3.1.0 - search_preset, improved section links, and misc display
- bug with search pagination when small result set
- section sort reflects section configuration by default
- search_preset functionality and documentation
- title display accommodates italics and other markup
render_overridable
calls with full path to partials"search_path"
changed toroute_path
to allow overrides
- Reference to
@site_section
which was no longer in use
- check overridden partials / views for
render_overridable
calls without path to views directory- Ex:
render_overridable "items", "sort"
instead ofrender_overridable "sort"
- Ex:
v3.0.3 - pagination bugfix
- bug with search pagination
v3.0.2 - html_classes for styling and minor fixes
- Adds more classes to html element via html_classes helper to increase granularity for styling
- Merged
migration.md
intoCHANGELOG.md
- Class beginning with
section_
may have a different value than previously - Altered documentation substantially, split into parts and augmented existing
- class
row
removed from<div class="search_form">
migration.md
removed
- site_section application helper in favor of html_classes
v3.0.1 - date search bug and incorrect locale path
- bug with date search
- incorrect locale path
v3.0.0 - sections, facet config, iiif, and more
- improved pagination a11y
- fix specific options overriding app-wide options
- basic support for IIIF image URLs
- i18n support for item show pages metadata and facet summaries
- manifest.js file for Sprockets 4 support
- integrated
api_bridge
into Orchid from deprecated gem - facet translation i18n
- added redirection / rewriting middleware
- added configurable "sections" to re-use code across multiple routes
- "skip" link for a11y
- server side date filter validation
metadata
method in DisplayHelper altered to use keyword arg- public and private config file alterations (explanation below)
- altered behavior of language configuration settings and UI
- sort by
title_sort
rather thantitle
- reorganized some files for more granular overriding
- split up routes into reusable / not reusable and refactored
- search result styling
- generator actions
- documentation improved
- gems used by generator (were deprecated)
render_overridable
check more coherent section override paths
- facets from models and define in
config/facets.yml
- google fonts from default templates
- update
metadata
method calls to use keyword arg, "link" - add
iiif_path
toconfig/private.yml
- add
app_options.media_server_dir
andapp_options.thumbnail_size
toconfig/public.yml
- change
app_options.languages
to list ALL site languages, not just non-default - add
IIIF_PATH = PRIVATE["iiif_path"]
toconfig/intitializers/config.rb
- copy
app/assets/config/manifest.js
to your application (same path) - change Gemfile
sass-rails
to'sassc-rails', '~> 2.1'
- replace
chromedriver-helper
withwebdrivers
- add version constraint to
'bootstrap-sass', '~> 3.4.1'
- remove
api_bridge
- migrate facets config in models to
config/facets.yml
format - add facet translations if using multi-language app
v2.1.0 - Configuration Changes for Language Support, Bug Fixes
- bug with single language selection display
- bug with summary boxes
- moves title configuration to locale files
- minor CSS change
- copy
config/locales/en.yml
to application - fill in
project_name
,project_shortname
andproject_subtitle
inconfig/locales
file
v2.0.0 - Multiple Language Support
- relocates text throughout site to
en.yml
file - specify language_default and languages in
config.public.yml
- copy
config/locales/en.yml
to your app - review overridden partials / views / helpers for strings which should be changed to match localization support
- redo
facets.rb
to match multiple language support- (1.1.1 style will continue to work if you do not change them)
- define with
Facets.facet_info
instead of@facet_info
v1.1.1 - Fix date filtering; Gem updates
- regularized date filter removal like facet removal
- updated gems to address Sprockets vulnerability
v1.1.0 - Rails 5.2.0
- updates Orchid to support Rails 5.2
v1.0.0 - Enable Customization
- draw and override routes before and after Orchid defaults
- overridable controller
- extensive changes to views
- asset inclusion in top level directory
- configuration now includes public and private yaml files
- sorting options now configurable for search / browse
- reorganized flash messages
- changes to SCSS
- dependency versions bumped
- there are no notes for migrating to this version