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 0f1fd2e
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/6978cac7ffc87f0009442fd0

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 0f1fd2e
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/6978cac7f73eec0008544fbe

@github-actions
Copy link

github-actions bot commented Jan 27, 2026

@netlify
Copy link

netlify bot commented Jan 27, 2026

Netlify Preview

Name Link
🔨 Latest commit 0f1fd2e
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/6978cac8fad6b400083e4fc4
😎 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 added 2 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.
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