Skip to content

Conversation

@ebembi-crdb
Copy link
Contributor

Summary

  • Adds autocomplete dropdown that appears as users type in the search box
  • Shows "Ask AI about [query]" button at top of dropdown that opens Kapa with the query pre-filled
  • Displays search results from Algolia below the AI button
  • Works on all pages including homepage and search results page

@ebembi-crdb ebembi-crdb requested a review from a team as a code owner January 27, 2026 09:25
@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 43db0c7
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/697d0527146d880008085080

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 43db0c7
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/697d0527d39a080008e26c21

@netlify
Copy link

netlify bot commented Jan 27, 2026

Netlify Preview

Name Link
🔨 Latest commit 43db0c7
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/697d05271a05be000843ad86
😎 Deploy Preview https://deploy-preview-22362--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Replace modern autocomplete library with working vanilla JS implementation
- Add search-input ID to sidebar for autocomplete to bind to
- Autocomplete shows "Ask AI" button at top of dropdown that opens Kapa
- Search results appear as user types (no Enter required)
@ebembi-crdb ebembi-crdb force-pushed the add-algolia-autocomplete-kapa branch from 46e75fd to 667841a Compare January 27, 2026 10:03
ebembi-crdb and others added 4 commits January 27, 2026 18:29
The COPY page rail diagrams link to sql-grammar.html#query, but the
anchor didn't exist. This adds the missing anchor to fix htmltest errors.
@ebembi-crdb ebembi-crdb enabled auto-merge January 30, 2026 19:23
@ebembi-crdb ebembi-crdb merged commit 0c7f5f3 into main Jan 30, 2026
7 checks passed
@ebembi-crdb ebembi-crdb deleted the add-algolia-autocomplete-kapa branch January 30, 2026 19:32
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.

1 participant