Repository navigation
docs: Remove Auth Helpers - #40986
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis 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
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ 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)
Comment |
There was a problem hiding this comment.
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 rulesThe 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-uiwill now result in a chain (auth-ui-overview→auth-ui→ migration guide).- Later, more specific auth‑helpers redirects (for example,
nextjs-server-componentsat 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-overviewdirectly at the migration guide to avoid the double redirect.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 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
b34d6ef to
8172f60
Compare
This reverts commit 9274b81.
I have read the CONTRIBUTING.md file.
YES
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.