-
Notifications
You must be signed in to change notification settings - Fork 188
Ship scaffold generator that uses a nice Tailwind design #23
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
Comments
Okay just to get the discussion started I think we first need to agree on a few things:
I played around a little and came up with this. It is still not nearly refined but uses definition list under the hood as an idea. Tailwind UI gave me the idea of stacked lists BUT how to choose what to show or not, when there are many items? |
@gobijan maybe worth creating a PR that adds the tailwind scaffold views and the basic styles then the discussion can happen on the PR? We should be showing all the records by default and perhaps skip the colours in the initial PR (links commonly have blue so that should be good?) |
@dhh you want this scaffold generator to override default( |
I'd like to see it overridden. If you have tailwind installed, you want tailwind scaffolds. |
Alright! I'm on it 😄 |
Would be cool to see a pairing between @adamwathan and @dhh like the one made for Tuple, https://www.youtube.com/watch?v=SK27unk2UuI&ab_channel=AdamWathan @dhh Maybe someone should consult Steve Schoger @sschoger on this one as well. He has really good eye for design, he would easily bring the design for rails scaffold to the next level |
@guledali I've already contacted Adam and Tailwind team to help with this. Adam and the team are 👍🏼 to help shaping scaffold with their touch :) |
I hope this becomes the default in Rails 7 |
Is anyone still actively working on this one? |
@afomera We are! Check out the PR. |
Great, thanks @BakiVernes! I'll leave it for now :) |
Hello, I am very new to open source I've been looking to create a default scaffolding views for Tailwind for quiet some time and I would like to help work on this project . Where should I get started? |
Already done in #71 👍 Just need to find some time to review and I'll merge. |
if you are using tailwind, but do not want to use the provided tailwind scaffold templates, you can manually set the template engine like this: # config/application.rb
config.generators.template_engine = :erb |
The default Rails scaffold is plain to a fault. Let's ship some scaffold templates with this gem that uses Tailwind to demonstrate it.
The text was updated successfully, but these errors were encountered: