Skip to content

Conversation

@aiden-cao
Copy link
Contributor

@aiden-cao aiden-cao commented Jan 12, 2026

PR Description

Summary

This PR integrates the SuperIntern “Ask AI” chat experience into the docs site and replaces the previous AI widget implementation.

What changed

  • Added a new SuperIntern integration script (docs/assets/js/superintern.js) to initialize the AI chat button and hook it to the existing floating UI trigger (.ai-bot-wrapper).
  • Removed the prior Inkeep custom button implementation (docs/assets/js/inkeep-custom-button.js).
  • Included SPA/navigation re-bind handling so the click binding continues to work across route changes.
  • Preserved analytics tracking on the floating button click (via dataLayer event).
Google Chrome 2026-01-12 17 08 12

Testing / Verification

  • Load the docs site and confirm the floating AI button opens the chat modal
  • Navigate between pages (SPA behavior) and confirm the button still works
  • Confirm analytics event is emitted on click (if dataLayer is present)

Notes for reviewers

  • Please verify the integration does not expose any sensitive configuration in the built site and that all keys/config are sourced appropriately for production.

@huihzhao huihzhao merged commit a037373 into bnb-chain:main Jan 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants