Skip to content

feat(cli): restore Better Auth UI scaffold - #252

Merged
olliethedev merged 1 commit into
v3from
feat/219-better-auth-ui-scaffold
Aug 31, 2026
Merged

feat(cli): restore Better Auth UI scaffold#252
olliethedev merged 1 commit into
v3from
feat/219-better-auth-ui-scaffold

Conversation

@olliethedev

Copy link
Copy Markdown
Collaborator

Closes #219.

Restores Better Auth UI as an optional generated companion while preserving the v3 ownership boundary:

  • generates auth + account only against an existing application-owned Better Auth endpoint;
  • installs the corrected RC4 / Better Auth 1.6.16 declaration-peer cohort;
  • emits one browser client and framework-native session refresh for Next.js, React Router, and TanStack;
  • keeps backend auth, database/schema, providers, secrets, organization, and other runtime extensions out of the default scaffold;
  • adds exact companion/manual-install/optional-adapter documentation;
  • enables isolated transactions for Kanban alongside the other atomic writers;
  • adds a permanent three-framework packed clean-install/typecheck/build CI gate.

Validation:

  • CLI tests: 170/170
  • CLI typecheck and build
  • packed init, migration/idempotency, and Next.js production build
  • packed Next.js, React Router, and TanStack strict consumer builds
  • docs build and registry validation
  • root lint, typecheck, build, and diff check
  • independent Standards and Spec reviews: no findings

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
better-stack-docs Ignored Ignored Aug 31, 2026 11:26pm UTC
better-stack-playground Ignored Ignored Aug 31, 2026 11:26pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T23:33:32.158346Z 6114199 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6114199902

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +264 to +266
"/pages/account/api-keys",
"/pages/account/organizations",
"/pages/account/teams",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Only advertise routes enabled by the scaffold

When better-auth-ui is selected, the generated overrides enable only account: true and explicitly omit API-key and teams/organization support, but these entries make the init outro label /pages/account/api-keys, /pages/account/organizations, and /pages/account/teams as “Available routes.” Users following that output reach features whose matching Better Auth server/client plugins were never configured; omit the conditional routes from this default metadata or clearly distinguish them from routes actually enabled by the scaffold.

Useful? React with 👍 / 👎.

@olliethedev
olliethedev merged commit 48324db into v3 Aug 31, 2026
9 checks passed
@olliethedev
olliethedev deleted the feat/219-better-auth-ui-scaffold branch August 31, 2026 23:37
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