From 4fb21c55cc63760a167a8fc6bca2894414c2f09e Mon Sep 17 00:00:00 2001 From: Chuck Smith Date: Sun, 7 Jun 2026 06:55:27 -0400 Subject: [PATCH] feat: add config.nav_links for custom header navigation links Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 1 + README.md | 7 ++++ ROADMAP.md | 1 - .../solid_stack_web/application.html.erb | 3 ++ lib/solid_stack_web.rb | 6 ++- .../solid_stack_web/nav_links_spec.rb | 37 +++++++++++++++++++ 6 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 spec/requests/solid_stack_web/nav_links_spec.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 9adee7d..dab1b26 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.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 `