-
Notifications
You must be signed in to change notification settings - Fork 288
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
Remove sprockets support #451
Conversation
ff8faf7
to
54e9b97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏻
@@ -33,7 +33,6 @@ | |||
list_row :skills, list_type: :ol | |||
list_row :contact, localize: true | |||
list_row :details, localize: true | |||
attachment_row("My doc", :attachment, label: 'Download file', truncate: false, &:attachment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢
#### Material Theme | ||
##### Not compatible when Active Admin has been installed in webpack mode | ||
|
||
Show material design theme using [active_material](https://github.com/vigetlabs/active_material). If you want to use it, you should run the generator using the flag `theme` as follow: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also remove active_material from gemspec and engine.rb
@@ -33,17 +33,6 @@ And in another tab: | |||
bin/webpack-dev-server | |||
``` | |||
|
|||
**With Sprockets:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a little further down, we should also remove the bundle exec rake sprockets_tests
and those commands that no longer exist
54e9b97
to
b7db600
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect 💯
Fix link to PR #451 in CHANGELOG.md
Over the years, Rails has been transitioning away from sprockets for frontend purposes. Maintaining support for both methods of installation has added complexity to every update we make.
This PR removes sprockets support, leaving only support for the Webpacker installation of ActiveAdmin. Although Webpacker is deprecated, it's easy to move files to make Addons work with other frontend bundlers.
It also removes some custom fixes for the Active Material theme.