[PR #5920] [MERGED] docs: change ask ai button placement #6323

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5920
Author: @Bekacru
Created: 11/12/2025
Status: Merged
Merged: 11/12/2025
Merged by: @himself65

Base: canaryHead: docs/adjust-ai-btn


📝 Commits (7)

  • 2c0cb14 docs: change ask ai button placement
  • 98dadf9 Update docs/components/floating-ai-search.tsx
  • f5299ab Update docs/components/floating-ai-search.tsx
  • 859dad2 Update docs/components/search-dialog.tsx
  • 7102fe0 Update docs/components/search-dialog.tsx
  • fcfbd5e Update docs/components/search-dialog.tsx
  • aebe21c docs: lint fix

📊 Changes

2 files changed (+11 additions, -8 deletions)

View changed files

📝 docs/components/floating-ai-search.tsx (+8 -5)
📝 docs/components/search-dialog.tsx (+3 -3)

📄 Description

closes #5320


Summary by cubic

Moved the Ask AI trigger out of the search dialog and into a floating button on docs pages to improve visibility and reduce layout issues. Addresses #5320.

  • Refactors
    • Overlay switched from fixed to absolute; conditional left/right positioning added and fade animation uses flex.
    • Closed-state trigger is right-aligned, full-height padding, square edges, and uses the Bot icon with “Ask AI”.
    • Removed AIChatModal mount from the search dialog; triggering is handled by AISearchTrigger.

Written for commit aebe21cfa2. 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/5920 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/12/2025 **Status:** ✅ Merged **Merged:** 11/12/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/adjust-ai-btn` --- ### 📝 Commits (7) - [`2c0cb14`](https://github.com/better-auth/better-auth/commit/2c0cb145d2ecca2dd4fca22770c13d9188abbb05) docs: change ask ai button placement - [`98dadf9`](https://github.com/better-auth/better-auth/commit/98dadf95a34524eba3df40d9f8cbbfc47cf4826a) Update docs/components/floating-ai-search.tsx - [`f5299ab`](https://github.com/better-auth/better-auth/commit/f5299abb934f4c454ae987c05b90b988928d4f83) Update docs/components/floating-ai-search.tsx - [`859dad2`](https://github.com/better-auth/better-auth/commit/859dad2c41e5d9592d66893ee131f6074bdae6cf) Update docs/components/search-dialog.tsx - [`7102fe0`](https://github.com/better-auth/better-auth/commit/7102fe021ad94a79152bc4300a1c4b3585d2dd4f) Update docs/components/search-dialog.tsx - [`fcfbd5e`](https://github.com/better-auth/better-auth/commit/fcfbd5edf3b2b78d76d65095f9be6286cddd33da) Update docs/components/search-dialog.tsx - [`aebe21c`](https://github.com/better-auth/better-auth/commit/aebe21cfa27523a22ff85ae76d0d080d90231662) docs: lint fix ### 📊 Changes **2 files changed** (+11 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/floating-ai-search.tsx` (+8 -5) 📝 `docs/components/search-dialog.tsx` (+3 -3) </details> ### 📄 Description closes #5320 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Moved the Ask AI trigger out of the search dialog and into a floating button on docs pages to improve visibility and reduce layout issues. Addresses #5320. - **Refactors** - Overlay switched from fixed to absolute; conditional left/right positioning added and fade animation uses flex. - Closed-state trigger is right-aligned, full-height padding, square edges, and uses the Bot icon with “Ask AI”. - Removed AIChatModal mount from the search dialog; triggering is handled by AISearchTrigger. <sup>Written for commit aebe21cfa27523a22ff85ae76d0d080d90231662. 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-03-13 12:54:52 -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#6323