From 670771912b4fb334cc5efc046545dd521c37e585 Mon Sep 17 00:00:00 2001 From: Chuck Smith Date: Sun, 7 Jun 2026 07:02:30 -0400 Subject: [PATCH 1/2] feat: add config.dashboard_cards for custom overview dashboard cards Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 1 + README.md | 12 ++++++ ROADMAP.md | 8 ---- .../solid_stack_web/_07_dashboard.css | 7 ++-- .../solid_stack_web/dashboard/index.html.erb | 21 ++++++++++ lib/solid_stack_web.rb | 6 ++- .../solid_stack_web/dashboard_spec.rb | 39 +++++++++++++++++++ 7 files changed, 82 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dab1b26..a322c7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### 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 `