[PR #4487] [MERGED] feat: add search functionality to mobile navigation #5407

Closed
opened 2026-03-13 12:21:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4487
Author: @Kinfe123
Created: 9/6/2025
Status: Merged
Merged: 9/9/2025
Merged by: @himself65

Base: mainHead: fix/mobile-search-functionality


📝 Commits (5)

📊 Changes

4 files changed (+39 additions, -3 deletions)

View changed files

docs/components/mobile-search-icon.tsx (+33 -0)
📝 docs/components/nav-bar.tsx (+2 -0)
📝 docs/components/nav-mobile.tsx (+2 -1)
📝 docs/components/search-dialog.tsx (+2 -2)

📄 Description

Summary by cubic

Added a Search button to the mobile navigation that opens the docs search modal and closes the menu for a smoother mobile experience.

  • New Features
    • Adds MobileSearchButton to NavbarMobile; uses fumadocs useSearchContext to open search and toggleNavbar to close the drawer.
    • Imports lucide-react Search icon and applies route-aware styling for /docs.

🔄 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/4487 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 9/6/2025 **Status:** ✅ Merged **Merged:** 9/9/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `fix/mobile-search-functionality` --- ### 📝 Commits (5) - [`8bf74f2`](https://github.com/better-auth/better-auth/commit/8bf74f273292955d12006b12426b5ab505d8a414) feat: add search functionality to mobile navigation - [`5f4d44d`](https://github.com/better-auth/better-auth/commit/5f4d44dab2bf06a51f61ac28e7b16cf31a3f06a0) lint - [`9578071`](https://github.com/better-auth/better-auth/commit/9578071cb4108341fd7dddb904ea88c01ee83db3) update - [`dc8090b`](https://github.com/better-auth/better-auth/commit/dc8090b3f3df8e799a569ec45a59f9c027ce871e) update - [`e0e49af`](https://github.com/better-auth/better-auth/commit/e0e49afff1064076f74e8f457f5c0bfa44a22017) Merge branch 'main' into fix/mobile-search-functionality ### 📊 Changes **4 files changed** (+39 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `docs/components/mobile-search-icon.tsx` (+33 -0) 📝 `docs/components/nav-bar.tsx` (+2 -0) 📝 `docs/components/nav-mobile.tsx` (+2 -1) 📝 `docs/components/search-dialog.tsx` (+2 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added a Search button to the mobile navigation that opens the docs search modal and closes the menu for a smoother mobile experience. - **New Features** - Adds MobileSearchButton to NavbarMobile; uses fumadocs useSearchContext to open search and toggleNavbar to close the drawer. - Imports lucide-react Search icon and applies route-aware styling for /docs. <!-- 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-03-13 12:21:49 -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#5407