Skip to content

Refresh template: admin area, full design system, CI, SSR cleanup, profile sub-pages#4

Merged
CasJam merged 1 commit into
mainfrom
bc/replace-with-build-new
May 9, 2026
Merged

Refresh template: admin area, full design system, CI, SSR cleanup, profile sub-pages#4
CasJam merged 1 commit into
mainfrom
bc/replace-with-build-new

Conversation

@CasJam
Copy link
Copy Markdown
Contributor

@CasJam CasJam commented May 9, 2026

Summary

  • Replace the template wholesale with the latest version from bc-build-new — adds an admin namespace (users index/show, live design system at /admin/design-system), the full AI Design System (paired light/dark tokens, primitives for badge/checkbox/dialog/radio/select/rich-text-field/theme-toggle, shells, MainNav with persistent state, PageHeader, sub-nav), GitHub Actions CI for tests/typecheck/lint/security, the SSR entrypoint moved to app/javascript/ssr/ssr.tsx with Procfile.ssr + bin/dev-ssr, an admin flag on User, db seeds, and updated CLAUDE.md.
  • Three macOS dev-loop fixes: pin Node to 22.12.0 via .nvmrc + package.json engines so Vite 7 stops warning; disable Puma's :solid_queue plugin in development since bin/jobs already runs it as its own Procfile process and the duplicate supervisor was crashing the dev server on macOS fork-safety.
  • Split the single Profile page into "My details" and "Password" sub-pages wired through a new shared PageHeader component and a ProfileSubNav tab strip following the design system's page-header-with-tabs pattern; strip the long README down to a quick-start + a link to the canonical docs at buildermethods.com/rails-react-template.

Test plan

  • `bin/dev` boots cleanly on macOS (Solid Queue + Vite + Puma)
  • Sign up, log in, log out, password reset all work
  • /profile and /profile/password sub-nav navigates correctly; both forms submit and show flash/errors
  • /admin/users and /admin/design-system load for admins, redirect for non-admins
  • `npm run check` passes; `bin/rails test` passes
  • CI passes on push

🤖 Generated with Claude Code

… the latest version from bc-build-new — which adds an admin namespace (users index/show, plus a live design system reference at /admin/design-system), the full AI Design System (paired light/dark tokens, primitives for badge/checkbox/dialog/radio/select/rich-text-field/theme-toggle, layout shells AdminShell/AppShell/AuthShell, MainNav with persistent open/closed state, page headers, sub-nav, and a system-aware theme toggle), GitHub Actions CI for tests/typecheck/lint/security, the SSR entrypoint moved to app/javascript/ssr/ssr.tsx with a Procfile.ssr + bin/dev-ssr workflow, an admin boolean on User gating the /admin namespace, db seeds, and updated CLAUDE.md guidance — then layer on three macOS dev-loop fixes (pin Node to 22.12.0 via .nvmrc and package.json engines so Vite 7 stops warning, and disable Puma's :solid_queue plugin in development since bin/jobs already runs it as its own Procfile process and the duplicate supervisor was crashing the dev server on macOS fork-safety).

Also split the single Profile page into separate 'My details' and 'Password' sub-pages wired through a new shared PageHeader component and a ProfileSubNav tab strip following the design system's page-header-with-tabs pattern, and strip the long README down to a quick-start + a link to the canonical docs page at buildermethods.com/rails-react-template.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@CasJam CasJam merged commit 6d80cc0 into main May 9, 2026
5 checks passed
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