Skip to content

feat(dashboard): Show license and LICENSE dialog in system info widget - #4121

Merged
tvdeyen merged 1 commit into
mainfrom
feat/system-info-license
Aug 1, 2026
Merged

feat(dashboard): Show license and LICENSE dialog in system info widget#4121
tvdeyen merged 1 commit into
mainfrom
feat/system-info-license

Conversation

@tvdeyen

@tvdeyen tvdeyen commented Aug 1, 2026

Copy link
Copy Markdown
Member

What is this pull request for?

The dashboard's system info widget now shows the project's license
(BSD-3-Clause) next to the Ruby and Rails versions, prefixed with a
certificate icon. The code links to a dialog that prints the full LICENSE
file, so the license is discoverable from the admin without leaving the
dashboard.

The license code is read from the gemspec (Gem.loaded_specs) so it stays in
sync with the packaged license, and it is passed through I18n
(alchemy.licenses.*) so it can be localized later.

Notable changes (remove if none)

A new admin/dashboard/license route and action renders the LICENSE file
into the Alchemy dialog. Viewing it is authorized for any user who can already
access the dashboard.

Screenshots

Attaching below.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

The system info widget now shows the project's license code next to the
Ruby and Rails versions, prefixed with a certificate icon, and links to a
dialog that prints the full LICENSE file. The code is read from the gemspec
so it stays in sync with the packaged license, and rendered through I18n so
it can be localized. This makes the license discoverable from the dashboard
without leaving the admin.
@tvdeyen
tvdeyen requested a review from a team as a code owner August 1, 2026 15:41
@tvdeyen tvdeyen added this to the 8.4 milestone Aug 1, 2026
@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (d787b4b) to head (f0dc02f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4121   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files         351      351           
  Lines        9219     9224    +5     
=======================================
+ Hits         9060     9065    +5     
  Misses        159      159           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen
tvdeyen merged commit 22a8438 into main Aug 1, 2026
28 checks passed
@tvdeyen
tvdeyen deleted the feat/system-info-license branch August 1, 2026 16:24
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