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

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

Original Pull Request: https://github.com/better-auth/better-auth/pull/5920

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5920 **State:** closed **Merged:** Yes --- 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. -->
GiteaMirror added the pull-request label 2026-04-13 09:31:53 -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#14570