-
Notifications
You must be signed in to change notification settings - Fork 70
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
Support for cssbundling-rails? #164
Comments
Hmm, I have to ask what your goal is? Why are you including anything Mission Control related in your main application layout? Mission Control is a Rails Engine that is supposed to have full control and management of it's own assets and layout. Generally, you install the Gem, and then when you mount it into your Routes, you use that path and everything is taken care of for you! No need to modify anything in your application. |
Hi @HamptonMakes, thanks for your response. I assume it's something to do with css-bundling-rails as Mission Control works fine on another project of mine with a no-build css setup. Any pointers or theories greatly appreciated. Cheers! |
Hey @olinelson, sorry for the delay! I also don't quite understand very well what's happening here 😕 What happens if you simply mount Mission Control on |
If you have content_security_policy enabled in your app. You will need to add the css 'bulma', used by mission_control to the
It should be documented. |
@kivanio good point. I'm going to vendor https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css instead, so that you don't need to set your CSP to allow it. |
I released 0.6.0 with that change and other changes I had pending. @olinelson do you think the CSP was your problem? |
ohh that was fast 🚀 I confirm it working now |
Hi all, after lots of digging I've found the issue and indeed it has NOTHING to do with mission_control-jobs. I was extending the Sorry for the faff! Onwards! |
I'm currently trying to use
mission_control-jobs
with a setup utilising cssbundling-rails.Whilst Sprockets seems to compile Mission Control's assets perfectly fine they aren't provided as stylesheet links to the application layout by default. I've tried adding stylesheet links to my layout manually but that seems to only partially fix the problem.
application.html.erb
Somewhat adding to my confusion is the fact that the view renders only the queues table not the tabs or navbar:
Is there an existing way for things to play nicely with cssbundling-rails?
The text was updated successfully, but these errors were encountered: