[PR #5656] [MERGED] docs: fix runtime errors and clean up code #23046

Closed
opened 2026-04-15 21:26:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5656
Author: @bytaesu
Created: 10/28/2025
Status: Merged
Merged: 10/28/2025
Merged by: @himself65

Base: canaryHead: 2025-10-29/docs/fix-runtime-error


📝 Commits (1)

  • 18c1203 docs: fix runtime errors and clean up code

📊 Changes

6 files changed (+9 additions, -39 deletions)

View changed files

📝 docs/app/blog/_components/default-changelog.tsx (+0 -1)
📝 docs/app/blog/_components/stat-field.tsx (+2 -2)
📝 docs/app/blog/layout.tsx (+1 -11)
📝 docs/app/changelogs/_components/stat-field.tsx (+3 -3)
📝 docs/app/changelogs/layout.tsx (+1 -0)
📝 docs/components/builder/index.tsx (+2 -22)

📄 Description

This PR fixes a runtime error in the UI components that broke the Docs sidebar, so we no longer have to see the error toolbar in the dev server.


Before

https://github.com/user-attachments/assets/81db86f5-0e80-4e04-b557-6baf6c09a09c

After

https://github.com/user-attachments/assets/52d47c94-43a9-4263-b8d7-a985a8d10c11


Summary by cubic

Fixes a runtime error that broke the Docs sidebar and cleans up UI styles in blog and builder pages. Sidebar loads without the dev error overlay, and scroll areas use a consistent no-scrollbar utility.

  • Bug Fixes

    • Switched SVG animation visibility to opacity to prevent runtime errors.
    • Limited StarField width to viewport to stop overflow.
    • Removed highlight.js CSS import from blog changelog component.
  • Refactors

    • Replaced inline scrollbar styles with a no-scrollbar class in Blog layout and Builder.
    • Minor layout cleanup in Changelogs.

🔄 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/5656 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 10/28/2025 **Status:** ✅ Merged **Merged:** 10/28/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2025-10-29/docs/fix-runtime-error` --- ### 📝 Commits (1) - [`18c1203`](https://github.com/better-auth/better-auth/commit/18c12034ff4322935ce74b0b813855ed6402aedb) docs: fix runtime errors and clean up code ### 📊 Changes **6 files changed** (+9 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/blog/_components/default-changelog.tsx` (+0 -1) 📝 `docs/app/blog/_components/stat-field.tsx` (+2 -2) 📝 `docs/app/blog/layout.tsx` (+1 -11) 📝 `docs/app/changelogs/_components/stat-field.tsx` (+3 -3) 📝 `docs/app/changelogs/layout.tsx` (+1 -0) 📝 `docs/components/builder/index.tsx` (+2 -22) </details> ### 📄 Description This PR fixes a runtime error in the UI components that broke the Docs sidebar, so we no longer have to see the error toolbar in the dev server. --- ### Before https://github.com/user-attachments/assets/81db86f5-0e80-4e04-b557-6baf6c09a09c ### After https://github.com/user-attachments/assets/52d47c94-43a9-4263-b8d7-a985a8d10c11 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes a runtime error that broke the Docs sidebar and cleans up UI styles in blog and builder pages. Sidebar loads without the dev error overlay, and scroll areas use a consistent no-scrollbar utility. - **Bug Fixes** - Switched SVG animation visibility to opacity to prevent runtime errors. - Limited StarField width to viewport to stop overflow. - Removed highlight.js CSS import from blog changelog component. - **Refactors** - Replaced inline scrollbar styles with a no-scrollbar class in Blog layout and Builder. - Minor layout cleanup in Changelogs. <!-- 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-15 21:26:39 -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#23046