Open
Conversation
|
@swastik7805 is attempting to deploy a commit to the Consensys Team on Vercel. A member of the Team first needs to authorize it. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Reviewed by Cursor Bugbot for commit 0c7ecc5. Configure here.
Contributor
Author
|
@bgravenorst @alexandratran @AyushBherwani1998 @yashovardhan hey guys, i have successfully integrated the Algolia Ask Ai sidepanel.Tested it out and resolved SSG error builds and styling css bleed as suggessted by cursorbot. PR is not updated and ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
This PR integrates the Algolia Ask AI Sidepanel (
<DocSearchSidepanel />) into the MetaMask documentation, adding a floating "Ask AI" button that enables users to query Algolia's AI directly from the docs.Key changes include:
@docsearch/reactSidepanel component tosrc/theme/Root.tsxto globally render the floating button. Dynamically mapped credentials fromthemeConfig.algolia.src/scss/theme/_doc-search.scssto fix Sidepanel specific regressions—such as oversized textareas, misaligned submit icons, and transparent backgrounds. Tailored the chat UI to follow MetaMask's design tokens.useIsBrowser.Feature Requested
Algolia Ask AI floating button feature
Fixes #2756 proposed by @bgravenorst
Preview
Algolia-Ask-Ai.mp4
Checklist
External contributor checklist
Note
Medium Risk
Adds a new globally rendered third-party UI component (
DocSearchSidepanel) and associated styling overrides, which could impact site-wide rendering and bundle behavior if Algolia config or CSS conflicts occur.Overview
Integrates Algolia’s Ask AI sidepanel by conditionally rendering
@docsearch/react/sidepanelfromsrc/theme/Root.tsx, wiring credentials fromthemeConfig.algolia(supporting bothassistantIdandaskAi.assistantId).Adds
@docsearch/react/@docsearch/cssdependencies (and updates the lockfile accordingly) and introduces extensive SCSS overrides in_doc-search.scssto restyle the sidepanel/chat UI (textarea sizing, input wrapper, submit/stop buttons, related sources, footer/disclaimer, plus light-mode variants).Reviewed by Cursor Bugbot for commit 0c7ecc5. Bugbot is set up for automated code reviews on this repo. Configure here.