Asset Management
One of the biggest problems we have is handling assets. We've got a few CSS and JS requirements and as it stands, we assume you're using Sprockets. This isn't really the case any more, with lots of folks using Tailwind, Webpacker and new bundling approaches in their projects. All of these are reasonable and using Administrate shouldn't be as annoying or difficult as it currently might be.
There's been a lot of issues opened, but also not much traction in coming up with a solution that can work for all. This issue will pull together all existing issues, describe the current state of things and outline a plan to make everything that should work, work.
Existing issues:
- https://github.com/thoughtbot/administrate/issues/2151
- https://github.com/thoughtbot/administrate/issues/2130
- https://github.com/thoughtbot/administrate/issues/2091
- https://github.com/thoughtbot/administrate/issues/1617
- https://github.com/thoughtbot/administrate/issues/1469
Proposed solutions:
- https://github.com/thoughtbot/administrate/pull/2256
- https://github.com/thoughtbot/administrate/pull/2148
- https://github.com/thoughtbot/administrate/pull/2116
- https://github.com/thoughtbot/administrate/pull/1491
- https://github.com/thoughtbot/administrate/wiki/Rails-6-&-Webpacker
Current plan:
-
Define the scope (i.e.: make sure we're considering everything everyone is using) -
Dig into the existing solutions and see what's missing -
???