Skip to content

docs: Remove Auth Helpers - #40986

Merged
ChrisChinchilla merged 10 commits into
masterfrom
chrischinchilla/remove-auth-helpers
Dec 16, 2025
Merged

ChrisChinchilla merged 10 commits into
masterfrom
chrischinchilla/remove-auth-helpers

Conversation

@ChrisChinchilla

@ChrisChinchilla ChrisChinchilla commented Dec 2, 2025 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

Summary by CodeRabbit

  • Documentation
    • Removed Auth Helpers documentation (Auth UI, Flutter, Next.js, Remix, SvelteKit), associated partials, deprecation admonitions, and migration content.
  • Chores
    • Removed Auth UI from site navigation.
    • Added a catch-all redirect from legacy auth-helpers paths to the SSR migration page and removed a specific legacy redirect.

✏️ Tip: You can customize this high-level summary in your review settings.

@supabase

supabase Bot commented Dec 2, 2025

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Dec 2, 2025 •

Copy link
Copy Markdown

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

Project Deployment Review Updated (UTC)
cms Ready Ready Preview, Comment Dec 16, 2025 8:44am
design-system Ready Ready Preview, Comment Dec 16, 2025 8:44am
docs Ready Ready Preview, Comment Dec 16, 2025 8:44am
studio-self-hosted Ready Ready Preview, Comment Dec 16, 2025 8:44am
studio-staging Ready Ready Preview, Comment Dec 16, 2025 8:44am
ui-library Ready Ready Preview, Comment Dec 16, 2025 8:44am
zone-www-dot-com Ready Ready Preview, Comment Dec 16, 2025 8:44am
1 Skipped Deployment
Project Deployment Review Updated (UTC)
studio Ignored Ignored Dec 16, 2025 8:44am

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Dec 2, 2025
@coderabbitai

coderabbitai Bot commented Dec 11, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

This PR removes multiple deprecated Auth Helpers docs and the Auth UI docs, deletes the auth_helpers partial, removes the top-level "Auth UI" navigation entry, and replaces a specific redirect with a broad pattern redirect from legacy auth‑helpers paths to the SSR migration guide.

Changes

Cohort / File(s) Change Summary
Framework-specific Auth Helpers docs
apps/docs/content/guides/auth/auth-helpers/nextjs.mdx, apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx, apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx, apps/docs/content/guides/auth/auth-helpers/remix.mdx
Removed full framework-specific Auth Helpers guides (metadata, deprecation notes, code examples, migration content).
Auth UI docs
apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx, apps/docs/content/guides/auth/auth-helpers/flutter-auth-ui.mdx
Deleted Auth UI documentation for web and Flutter (theming, setup, examples, customization, localization).
Navigation & partials
apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts, apps/docs/content/_partials/auth_helpers.mdx, apps/docs/content/guides/auth/auth-helpers.mdx
Removed the top-level "Auth UI" navigation entry, removed the auth_helpers deprecation partial, and deleted the Auth Helpers index page.
Redirects
apps/www/lib/redirects.js
Added permanent pattern redirect from /docs/guides/auth/auth-helpers/:path* → /docs/guides/auth/server-side/migrating-to-ssr-from-auth-helpers and removed a specific /docs/guides/auth/auth-helpers/nextjs-server-components redirect.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Verify apps/www/lib/redirects.js ordering and ensure no conflicting rules.
  • Search the repo for remaining links, imports, or sidebar entries referencing removed MDX files or the removed navigation key.
  • Confirm /docs/guides/auth/server-side/migrating-to-ssr-from-auth-helpers exists and renders.
  • Run a local docs build to detect broken includes, sidebar, or navigation generation errors.

Poem

🐰 I nibbled old pages, bit by bit,
Burrowed redirects to a single fit.
Out went the guides, the crumbs swept clear,
Hop to the SSR path — new ground near! 🥕✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description only contains the CONTRIBUTING.md confirmation and lacks details about the scope, reasoning, and specific changes being made. Complete the PR description by filling in all template sections: specify what kind of change this is, link relevant issues, explain the new behavior, and provide additional context for the removal.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: Remove Auth Helpers' clearly and concisely summarizes the main change—removing Auth Helpers documentation across multiple files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chrischinchilla/remove-auth-helpers

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8172f60 and 3ec05f6.

📒 Files selected for processing (1)
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts (0 hunks)
💤 Files with no reviewable changes (1)
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: typecheck
  • GitHub Check: build

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
apps/www/lib/redirects.js (1)

1306-1310: Auth-helpers wildcard redirect looks good; consider cleaning up overlapping rules

The new catch‑all redirect is syntactically correct, avoids loops, and will sensibly funnel all /docs/guides/auth/auth-helpers/* URLs (including the base index) to the migration guide.

Given this, a few nearby rules have become redundant or create an extra hop:

  • Line 1302 redirect from auth-ui-overview → auth-ui will now result in a chain (auth-ui-overview → auth-ui → migration guide).
  • Later, more specific auth‑helpers redirects (for example, nextjs-server-components at lines 2167–2169) are now effectively shadowed by the new wildcard.

Not urgent, but you could simplify by either:

  • Removing now-unreachable auth‑helpers redirects, and/or
  • Pointing auth-ui-overview directly at the migration guide to avoid the double redirect.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 93c2917 and 6d2deba.

📒 Files selected for processing (10)
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts (0 hunks)
  • apps/docs/content/_partials/auth_helpers.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/flutter-auth-ui.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/nextjs.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/remix.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx (0 hunks)
  • apps/www/lib/redirects.js (1 hunks)
💤 Files with no reviewable changes (9)
  • apps/docs/content/guides/auth/auth-helpers/flutter-auth-ui.mdx
  • apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx
  • apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx
  • apps/docs/content/guides/auth/auth-helpers.mdx
  • apps/docs/content/guides/auth/auth-helpers/nextjs.mdx
  • apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/content/_partials/auth_helpers.mdx
  • apps/docs/content/guides/auth/auth-helpers/remix.mdx
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-12-11T02:40:11.135Z
Learnt from: CR
Repo: supabase/supabase PR: 0
File: .cursor/rules/studio-ui.mdc:0-0
Timestamp: 2025-12-11T02:40:11.135Z
Learning: Use Next.js pages router for page routing

Applied to files:

  • apps/www/lib/redirects.js
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: typecheck

Chris Chinchilla added 4 commits December 15, 2025 13:27
@ChrisChinchilla
ChrisChinchilla force-pushed the chrischinchilla/remove-auth-helpers branch from b34d6ef to 8172f60 Compare December 15, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants