Skip to content

Conversation

@chargome
Copy link
Member

  • Removes the ASK AI button
  • Includes a button to trigger kapa ai search within the search result area
  • Upon clicking the button the kapa ai modal is opened and the included search query is triggered with a prefix of "Explain {query}" (this was done bc most of our search terms are just single words)
Screenshot 2025-01-23 at 17 24 51 Screenshot 2025-01-23 at 17 25 00

closes #12329

@chargome chargome self-assigned this Jan 23, 2025
@vercel
Copy link

vercel bot commented Jan 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2025 1:36pm
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2025 1:36pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2025 1:36pm

@codecov
Copy link

codecov bot commented Jan 23, 2025

Bundle Report

Changes will increase total bundle size by 57.22kB (0.29%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.43MB 55.57kB (0.54%) ⬆️
sentry-docs-client-array-push 9.3MB 1.65kB (0.02%) ⬆️
View changes by path for bundle: sentry-docs-server-cjs
File path Size Change
/ 63.95kB 260 bytes (0.41%)
View changes by path for bundle: sentry-docs-client-array-push
File path Size Change
/ 12.78kB 16 bytes (-0.13%)

@coolguyzone
Copy link
Contributor

Hey @chargome , is the AI bot supposed to work on the preview link? I'm running into this on https://sentry-docs-git-cg-integrate-kapa-into-search.sentry.dev/

Screenshot 2025-01-23 at 3 19 37 PM

@chargome
Copy link
Member Author

@coolguyzone no, only works on localhost and the prod domain !

@stephanie-anderson
Copy link
Contributor

@chargome I would still change the placeholder for the search field, and make it a little bit wider, so that there is enough whitespace to the shortcut symbol (cmd+k)

Screenshot 2025-01-24 at 13 59 18 Screenshot 2025-01-24 at 13 59 51

Copy link
Collaborator

@a-hariti a-hariti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🚀

would be nice to have the widget follow dark mode settings

I checked their docs, no option to do it for now, maybe we should ping them about it.

@chargome
Copy link
Member Author

@a-hariti already pinged them on this, this will be available soon! 🌚

@chargome chargome merged commit 5ca4064 into master Jan 28, 2025
13 checks passed
@chargome chargome deleted the cg/integrate-kapa-into-search branch January 28, 2025 19:54
chargome added a commit that referenced this pull request Jan 28, 2025
chargome added a commit that referenced this pull request Jan 28, 2025
chargome added a commit that referenced this pull request Jan 28, 2025
* include ai button in search

* update input placeholder
chargome added a commit that referenced this pull request Jan 29, 2025
* feat(platform): Integrate AI into search results (#12448)

* include ai button in search

* update input placeholder
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate AI into search

5 participants