Skip to content

v1.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Jun 11:08

Added

  • config.dashboard_cards — accepts an array of { title:, link:, stats: } hashes; each entry renders a custom card on the overview dashboard alongside the built-in Queue, Cache, and Cable cards; stats is an optional lambda returning a { label => value } hash evaluated at render time; link is an optional { label:, url: } for the card header
  • config.nav_links — accepts an array of { label:, url: } hashes; each entry is appended to the main navigation bar so host apps can link back to their own admin pages or related tools without modifying the engine layout
  • i18n support — all UI labels, flash messages, table headers, empty states, confirmations, and sparkline tooltips are now backed by locale YAML files; ships with English (en) and Spanish (es) out of the box
  • Locale switcher — a <select> dropdown in the header lets users switch languages at runtime; locale is stored in the session and applied via I18n.with_locale; automatically hidden when only one locale is configured
  • config.available_locales — controls which locales appear in the switcher (default: [:en, :es])

Changed

  • README — added a table of contents, back-to-top navigation links to each major section, and a dedicated i18n section documenting locale switching, config.available_locales, and how to add a custom locale