[PR #6415] [CLOSED] docs: change theme toggle #14896

Closed
opened 2026-04-13 09:41:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6415
Author: @Bekacru
Created: 11/30/2025
Status: Closed

Base: canaryHead: docs/theme-toggler


📝 Commits (10+)

📊 Changes

126 files changed (+4839 additions, -1700 deletions)

View changed files

📝 .github/workflows/adapter-tests.yml (+1 -1)
📝 .github/workflows/ci.yml (+1 -1)
📝 demo/nextjs/.env.example (+2 -1)
📝 demo/nextjs/components/sign-in.tsx (+22 -0)
📝 demo/nextjs/lib/auth.ts (+4 -0)
📝 demo/nextjs/tsconfig.json (+1 -0)
📝 demo/nextjs/turbo.json (+3 -1)
📝 docs/app/blog/[[...slug]]/page.tsx (+9 -4)
📝 docs/app/changelogs/[[...slug]]/page.tsx (+7 -4)
📝 docs/app/community/_components/header.tsx (+3 -2)
📝 docs/app/community/_components/stats.tsx (+27 -1)
📝 docs/app/community/page.tsx (+39 -2)
📝 docs/app/global.css (+1 -0)
📝 docs/components/builder/social-provider.tsx (+15 -0)
docs/components/contributors.tsx (+34 -0)
📝 docs/components/floating-ai-search.tsx (+19 -0)
📝 docs/components/mobile-search-icon.tsx (+1 -1)
📝 docs/components/nav-bar.tsx (+1 -1)
📝 docs/components/nav-mobile.tsx (+2 -2)
📝 docs/components/sidebar-content.tsx (+186 -180)

...and 80 more files

📄 Description

Summary by cubic

Refactored the docs theme toggler with a navbar breakpoint and improved responsiveness. Added Vercel OAuth to the demo and docs, API key secondary storage, and a configurable JWKS path, plus several fixes.

  • New Features

    • New responsive theme toggler; navbar uses a dedicated breakpoint (global.css, nav components).
    • Sign in with Vercel in the demo; added VERCEL_CLIENT_ID/VERCEL_CLIENT_SECRET; docs and icon support.
    • API Key plugin: secondary storage support with optional database fallback.
    • JWT: configurable JWKS path on server and client.
  • Bug Fixes

    • Email OTP: normalize emails to lowercase across flows.
    • Prevent duplicate get-session on focus by removing the window focus listener.
    • Base URL inference supports trusted proxy headers.
    • TanStack: switch to @tanstack/react-start for cookie handling and update plugin name.

Written for commit b063e01b50. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6415 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/30/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `docs/theme-toggler` --- ### 📝 Commits (10+) - [`bff00f6`](https://github.com/better-auth/better-auth/commit/bff00f6b7fb3d95363888186cd610ea3e4e0f174) chore: release v1.4.0 - [`e2c474f`](https://github.com/better-auth/better-auth/commit/e2c474f58cb803b36765200bf59d7743cc205d59) chore: update 1.4 og image - [`555e092`](https://github.com/better-auth/better-auth/commit/555e09235839dbe1f243ccbfeeaed1d0f6e6b7cc) commit - [`a1f05b1`](https://github.com/better-auth/better-auth/commit/a1f05b16894b4a8868ce3c8d3d39f25df6c6e47f) chore: lint - [`2f3577c`](https://github.com/better-auth/better-auth/commit/2f3577c55600b525727d64b54b7cf13cbd0bc9a7) docs: fix responsivness for changelog images - [`29564df`](https://github.com/better-auth/better-auth/commit/29564df59f89c1bc7c0aa43b82f8de5d40406480) chore: fix typo - [`9e2b5ce`](https://github.com/better-auth/better-auth/commit/9e2b5ce6322e3a36d6a191772fa47389027f5b4e) chore: fix typo - [`44308bf`](https://github.com/better-auth/better-auth/commit/44308bf20d431bd943a92a2ed4204a6b7d5a4182) feat(api-key): support secondary storage (#6014) - [`69c756a`](https://github.com/better-auth/better-auth/commit/69c756a4101edf805e82f0cd5841a9dbb594c750) chore(docs): fix invalid 1.4 blog links (#6191) - [`6aca409`](https://github.com/better-auth/better-auth/commit/6aca4094280322f7dff2057d1993c38470c3b124) fix(jwt): retrieve latest keys from storage properly (#6208) ### 📊 Changes **126 files changed** (+4839 additions, -1700 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/adapter-tests.yml` (+1 -1) 📝 `.github/workflows/ci.yml` (+1 -1) 📝 `demo/nextjs/.env.example` (+2 -1) 📝 `demo/nextjs/components/sign-in.tsx` (+22 -0) 📝 `demo/nextjs/lib/auth.ts` (+4 -0) 📝 `demo/nextjs/tsconfig.json` (+1 -0) 📝 `demo/nextjs/turbo.json` (+3 -1) 📝 `docs/app/blog/[[...slug]]/page.tsx` (+9 -4) 📝 `docs/app/changelogs/[[...slug]]/page.tsx` (+7 -4) 📝 `docs/app/community/_components/header.tsx` (+3 -2) 📝 `docs/app/community/_components/stats.tsx` (+27 -1) 📝 `docs/app/community/page.tsx` (+39 -2) 📝 `docs/app/global.css` (+1 -0) 📝 `docs/components/builder/social-provider.tsx` (+15 -0) ➕ `docs/components/contributors.tsx` (+34 -0) 📝 `docs/components/floating-ai-search.tsx` (+19 -0) 📝 `docs/components/mobile-search-icon.tsx` (+1 -1) 📝 `docs/components/nav-bar.tsx` (+1 -1) 📝 `docs/components/nav-mobile.tsx` (+2 -2) 📝 `docs/components/sidebar-content.tsx` (+186 -180) _...and 80 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Refactored the docs theme toggler with a navbar breakpoint and improved responsiveness. Added Vercel OAuth to the demo and docs, API key secondary storage, and a configurable JWKS path, plus several fixes. - **New Features** - New responsive theme toggler; navbar uses a dedicated breakpoint (global.css, nav components). - Sign in with Vercel in the demo; added VERCEL_CLIENT_ID/VERCEL_CLIENT_SECRET; docs and icon support. - API Key plugin: secondary storage support with optional database fallback. - JWT: configurable JWKS path on server and client. - **Bug Fixes** - Email OTP: normalize emails to lowercase across flows. - Prevent duplicate get-session on focus by removing the window focus listener. - Base URL inference supports trusted proxy headers. - TanStack: switch to @tanstack/react-start for cookie handling and update plugin name. <sup>Written for commit b063e01b507c34b41ce7c77f9fa95c308529c0a7. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 09:41:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14896