Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow additional stylesheets to be included in the admin UI #3179

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 3, 2025

What is this pull request for?

Adds Alchemy.admin_styleheets to set additional stylesheets to be included in the Alchemy admin UI.

Example

# config/initializers/alchemy.rb
Alchemy.admin_stylesheets << "alchemy/devise/admin.css"

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

@tvdeyen tvdeyen added this to the 7.4 milestone Feb 3, 2025
@tvdeyen tvdeyen requested a review from a team as a code owner February 3, 2025 16:22
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.59%. Comparing base (010f055) to head (fe14790).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/alchemy/engine.rb 83.33% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3179   +/-   ##
=======================================
  Coverage   96.58%   96.59%           
=======================================
  Files         236      236           
  Lines        6360     6366    +6     
=======================================
+ Hits         6143     6149    +6     
  Misses        217      217           

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

@tvdeyen tvdeyen force-pushed the admin-stylesheets branch 4 times, most recently from c061ecc to d9f2a56 Compare February 5, 2025 13:51
@tvdeyen tvdeyen enabled auto-merge February 5, 2025 13:59
Additional stylesheets to be included in the Alchemy admin UI

== Example

    # config/initializers/alchemy.rb
    Alchemy.admin_stylesheets << "alchemy/devise/admin.css"
@tvdeyen tvdeyen removed this from the 7.4 milestone Feb 6, 2025
@tvdeyen tvdeyen disabled auto-merge February 6, 2025 13:30
@tvdeyen tvdeyen added this to the 7.4 milestone Feb 6, 2025
@tvdeyen tvdeyen merged commit c2949c2 into AlchemyCMS:main Feb 6, 2025
53 of 54 checks passed
@tvdeyen tvdeyen deleted the admin-stylesheets branch February 6, 2025 13:31
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.

2 participants