Skip to content

Rails 7.0 + Tailwind app UI; remove twbs/bootstrap - #109

Draft
parterburn wants to merge 1 commit into
mainfrom
paul-cursor/rails-7-tailwind-remove-bootstrap
Draft

Rails 7.0 + Tailwind app UI; remove twbs/bootstrap#109
parterburn wants to merge 1 commit into
mainfrom
paul-cursor/rails-7-tailwind-remove-bootstrap

Conversation

@parterburn

@parterburn parterburn commented Apr 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrade to Rails 7.0 (load_defaults 7.0, schema format, new_framework_defaults_7_0 stub).
  • Remove twbs_sass_rails / Bootstrap SCSS; add Tailwind v4 app stylesheet (application.tailwind.css), shared dabble-design-system tokens, grid compat CSS, built to public/application-tailwind.css.
  • Update navbar and application layout for Tailwind; JS without Bootstrap (Tippy, nav toggles); Font Awesome via npm.
  • CI: Node 22 + npm ci + build:css:all before tests.
  • Rename custom redirect_back_or_toredirect_to_return_or to avoid clashing with Rails 7 redirect_back.
  • Test fixes: Cloudflare importer in test, admin spec WebMock cleanup.

Verification

  • bundle exec rspec (with test env vars)
  • npm run build:css:all + RAILS_ENV=production rails assets:precompile

Replace Bootstrap/twbs with Tailwind v4 build, shared design tokens, and
navbar/layout updates. Drop twbs_sass_rails; fix redirect helper clash with
Rails 7; CI runs Node 22 and CSS build; tests and schema updated.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant