[PR #5653] [MERGED] docs: improve UX for floating-ai-search component #6142

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

📋 Pull Request Information

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

Base: canaryHead: 2025-10-29/docs/adjust-floating-ai-search


📝 Commits (2)

  • d240445 fix: improve UX for floating-ai-search component
  • 8657b6a fix: resolve React DOM error and transition issue

📊 Changes

1 file changed (+77 additions, -69 deletions)

View changed files

📝 docs/components/floating-ai-search.tsx (+77 -69)

📄 Description

Before -> After

https://github.com/user-attachments/assets/8d6240bc-30b7-4a8f-8e9b-10db9f0a4002


Summary by cubic

Improved the floating search UX with smoother open/close transitions, better mobile pill scrolling, and a cleaner collapsed trigger. Also fixed invalid DOM props and a transition flicker.

  • Bug Fixes

    • Removed non-DOM props (isMobile, messageCount) from native elements to stop React warnings.
    • Delayed content mount on open to prevent flicker during transitions.
  • Refactors

    • Unified pill styles; enabled horizontal scroll with gradient mask and nowrap.
    • Added fade/blur-in on expand; added border, backdrop blur, and scale feedback on the collapsed button.
    • Simplified prop handling in SearchAIInput; commented out unused SVG component and removed unused import.

🔄 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/5653 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 10/28/2025 **Status:** ✅ Merged **Merged:** 10/28/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `2025-10-29/docs/adjust-floating-ai-search` --- ### 📝 Commits (2) - [`d240445`](https://github.com/better-auth/better-auth/commit/d240445c9f714812765e78c0db8721e4dae60d5a) fix: improve UX for floating-ai-search component - [`8657b6a`](https://github.com/better-auth/better-auth/commit/8657b6a81268ed32e74970e1fb868d9581c38a20) fix: resolve React DOM error and transition issue ### 📊 Changes **1 file changed** (+77 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/floating-ai-search.tsx` (+77 -69) </details> ### 📄 Description ### Before -> After https://github.com/user-attachments/assets/8d6240bc-30b7-4a8f-8e9b-10db9f0a4002 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Improved the floating search UX with smoother open/close transitions, better mobile pill scrolling, and a cleaner collapsed trigger. Also fixed invalid DOM props and a transition flicker. - **Bug Fixes** - Removed non-DOM props (isMobile, messageCount) from native elements to stop React warnings. - Delayed content mount on open to prevent flicker during transitions. - **Refactors** - Unified pill styles; enabled horizontal scroll with gradient mask and nowrap. - Added fade/blur-in on expand; added border, backdrop blur, and scale feedback on the collapsed button. - Simplified prop handling in SearchAIInput; commented out unused SVG component and removed unused import. <!-- 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:49:08 -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#6142