Skip to content

feat: add config.nav_links for custom header navigation links#113

Merged
eclectic-coding merged 1 commit into
mainfrom
feat/custom-nav-links
Jun 7, 2026
Merged

feat: add config.nav_links for custom header navigation links#113
eclectic-coding merged 1 commit into
mainfrom
feat/custom-nav-links

Conversation

@eclectic-coding

Copy link
Copy Markdown
Owner

Summary

  • Add config.nav_links — accepts an array of { label:, url: } hashes; each entry is appended to the main navigation bar after the built-in Queue / Cache / Cable links
  • Defaults to [] (no change in appearance when unconfigured)
  • Remove Custom nav links from the ROADMAP v2.0 milestone

Usage

SolidStackWeb.configure do |config|
  config.nav_links = [
    { label: "Back to App", url: "/" },
    { label: "Admin",       url: "/admin" }
  ]
end

Test plan

  • 410 examples, 0 failures, 100% line coverage (bundle exec rake)
  • Start dummy app and verify custom links appear in the header nav after Cable
  • Verify no extra links render when config.nav_links is not set

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit b8ebe97 into main Jun 7, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/custom-nav-links branch June 7, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant