You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer I want to be able to pick the style guide So that I can save time implementing it in my project
Acceptance Criteria
Scenario:Given that we have three style guides (no style guide (Rails's default), OmbuLabs, or FastRuby.io)
When I start creating a new Rails project
Then I want to be able to pick the style guide for my project
Notes:
It would be great if there is a little dialogue that is presented to the user or an option to pick the style guide.
For example:
rails new foo
> Which style guide do you want to use? (rails/fastruby/ombulabs -- default: ombulabs)
> fastruby
> Cool, using fastruby style guide for project foo.
Or:
rails new foo --styleguide=fastruby
> Cool, using fastruby style guide for project foo.
The text was updated successfully, but these errors were encountered:
@etagwerker I run into an issue here with the fastruby styleguide, it's not prepared to work with the Webpacker gem (webpacker can't read js files from gems like sprocket does for the old assets pipeline). We don't have that problem with the ombulabs one cause the js on that one is only used in the gh-page of the styleguide, but the fastruby one includes the js needed for the carousel and also js from bootstrap and material design.
We first need to make the fastruby styleguide compatible with webpacker (maybe trying to remove external dependencies like jquery, bootstrap, material and bs.slider to make it easier)
Looks like doing something like rails new foo --styleguide=fastruby is not possible with the standard rails command and rails templates (the AppGenerator filters unknown arguments). We would have to override the default AppGenerator class to add that and wrap that with a custom command like suspenders does, but then we would be moving out from the rails conventions. Would it be ok to only support the first option? (asking which styleguide to use)
Why
As a developer
I want to be able to pick the style guide
So that I can save time implementing it in my project
Acceptance Criteria
Notes:
It would be great if there is a little dialogue that is presented to the user or an option to pick the style guide.
For example:
Or:
The text was updated successfully, but these errors were encountered: